SHARE
TWEET
Untitled
a guest
Aug 4th, 2017
55
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/bin/sh -e
- #
- # rc.local
- #
- # This script is executed at the end of each multiuser runlevel.
- # Make sure that the script will "exit 0" on success or any other
- # value on error.
- #
- # In order to enable or disable this script just change the execution
- # bits.
- #
- # By default this script does nothing.
- l
- #
- # This script is executed at the end of each multiuser runlevel.
- # Make sure that the script will "exit 0" on success or any other
- # value on error.
- #
- # In order to enable or disable this script just change the execution
- # bits.
- #
- # By default this script does nothing.
- HONEYPOT_INSTALL_CHECK=/home/ubuntu/sanjayInstaller
- SCRIPT1=/home/ubuntu/deploy1.sh
- SCRIPT2=/home/ubuntu/deploy2.sh
- SCRIPT3=/home/ubuntu/deploy3.sh
- SCRIPT4=/home/ubuntu/deploy4.sh
- if [ ! -f ${HONEYPOT_INSTALL_CHECK} ]; then
- wget 'http://13.58.x.253/api/script/?text=true&script_id=14' -O ${SCRIPT1} && bash ${SCRIPT1} http://13.58.x.253 vXEXem2n &&
- wget 'http://13.58.x.253/api/script/?text=true&script_id=8' -O ${SCRIPT2} && bash ${SCRIPT2} http://13.58.x.253 vXEXem2n &&
- wget 'http://13.58.x.253/api/script/?text=true&script_id=13' -O ${SCRIPT3} && bash ${SCRIPT3} http://13.58.x.253 vXEXem2n &&
- wget 'http://13.58.x.253/api/script/?text=true&script_id=2' -O ${SCRIPT4} && bash ${SCRIPT4} http://13.58.x.253 vXEXem2n &&
- touch ${HONEYPOT_INSTALL_CHECK}
- fi
- exit 0
RAW Paste Data
