just to confirm it to you, what you want to write IS a
virus. if you intend your program to be executed in
dos/prompt mode you will have to include some ASM in
you c code to first modifie the specific sys interupts
and make the program finish as a TSR(terminate and
stay resident) other wise, if the program is for
windows and you don't want your friend to know that it
is running (eg. in the startbar or as a system icon in
the tray) you will still probably have to interfear
with system interupts but also make a call to a
program that will be a windows app.
caution. any anti-virus on you friends machine will
see your program as a virus and remove it and
reconfigure your systems interupt table.
the other problem is how to load the program on boot.
for this you could just put the name in the
autoexec(not very well camaflaged) or change your
systems boot sector.
whatever you would like to do you are looking at a lot
of work for a joke.
i know that this is mainly theoretical advice but i
hope it will help
if you still fancy the idea and come across problems
with the ASM please send me a mail and i will try to
help as much as pos.
tim
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
|