View Single Post
  #10 (permalink)  
Old 09-08-2008, 04:33 PM
Aereshaa's Avatar   
Aereshaa Aereshaa is offline
Guru
 
Join Date: Apr 2008
Posts: 585
Last Blog:
I don't like the word ...
Credits: 0
Rep Power: 9
Aereshaa is just really niceAereshaa is just really niceAereshaa is just really niceAereshaa is just really nice
Default Re: Trying to create some Spy Code

Here is a C program that removes itself when run.
Code:
#include "stdio.h"
int main(int argc, char ** argv){
 remove(argv[0]);
}
* You need to have the path to the media to be removed.
* You need the privileges to remove it.
Reply With Quote

Sponsored Links