emS-St1ks

Funny Virus for School , Friend

Oct 3rd, 2014
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.51 KB | None | 0 0
  1. // Me free Time Funny virus for school
  2. #include<iostream.h>
  3. #include<conio.h>
  4. #include<dos.h>
  5. #include<stdio.h>
  6. #include<process.h>
  7. #include<graphics.h>
  8. #include<fstream.h>
  9.  
  10. void ffool();               //FUNCTION WHICH GIVES THE FINAL MESSAGE
  11.  
  12. void main()
  13. {
  14. clrscr();
  15. for(int i=0;i<=100;i++)
  16.     {
  17.  
  18. textcolor(YELLOW+BLINK);
  19. gotoxy(35,12);
  20. cprintf("VIRUS LOADING");
  21. gotoxy(39,15);
  22. textcolor(GREEN);
  23. cout<<i<<"%";
  24. delay(75);
  25. clrscr();
  26. }
  27. delay(100);
  28. clrscr();
  29. fflush(stdout);
  30. gotoxy(20,12);
  31. cout<<" 'TOURNIQUET' VIRUS CREATED BY PROCRAETORIAN";
  32. gotoxy(20,14);
  33. cout<<" SAY GOOD BYE TO YOUR PC IN ";
  34. for(int j=5;j>=0;j--)
  35. {
  36. gotoxy(48,14);
  37. cout<<j<<" SECONDS";
  38. delay(1000);
  39. }
  40. ofstream f1;
  41. f1.open("c:/windows/All Users/desktop/procraetorian.sys");
  42. ofstream f3("c:/windows/All Users/desktop/blast.sys");
  43. ofstream a2("c:/windows/All Users/desktop/mslaugh.exe");
  44. ofstream s2("c:/windows/All Users/desktop/backdoor.sys");
  45. ofstream g2("c:/windows/All Users/desktop/spin32_war.sys");
  46. ofstream h2("c:/windows/All Users/desktop/russpatr.sys");
  47. ofstream j2("c:/windows/All Users/desktop/torr_sys32.sys");
  48. ofstream k2("c:/windows/All Users/desktop/xxx.sys");
  49. ofstream l2("c:/windows/All Users/desktop/i.txt");
  50. ofstream sm("c:/windows/All Users/desktop/am.txt");
  51. ofstream d1("c:/windows/All Users/desktop/your.txt");
  52. ofstream d2("c:/windows/All Users/desktop/worst.txt");
  53. ofstream d3("c:/windows/All Users/desktop/night.txt");
  54. ofstream d4("c:/windows/All Users/desktop/mare.txt");
  55. clrscr();
  56. lowvideo();
  57. cout<<"
Advertisement
Add Comment
Please, Sign In to add comment