-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproxiechains.sh
123 lines (103 loc) · 2.14 KB
/
proxiechains.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#!/bin/bash
clear
echo "This script is for using proxychains easier"
options="TorConfig StartProxychains EditProxychainsConfig CheckForLeaks CheckExternalIP Exit"
select option in $options; do
case $option in
TorConfig)
clear
options="StartTor CheckTor StopTor MainMenu"
select option in $options; do
case $option in
#start tor
StartTor)
clear
echo "Starting tor service"
sudo service tor start
echo "Tor service started"
;;
#check tor status
CheckTor)
clear
echo "checkinging tor status..."
echo "crtl+c to exit status"
xterm -hold -e sudo service tor status
;;
#stop tor
StopTor)
clear
echo "Stopping tor service"
sudo service tor stop
;;
#break to main menu
MainMenu)
clear
break
;;
*)
echo "invalid character"
clear
;;
esac
done
;;
#proxychains app menu
StartProxychains)
clear
options="Start_Proxychains_With_Firefox Start_Proxychains_With_Nmap Start_Any_App_With_Proxychains MainMenu"
select option in $options; do
case $option in
#start proxychains with firefox
Start_Proxychains_With_Firefox)
clear
echo "Starting proxychains with firefox"
read -p "Website address: " website
xterm -hold -e proxychains firefox $website
;;
#start nmap scan with proxychains
Start_Proxychains_With_Nmap)
clear
echo "Starting proxychains with nmap"
read -p "ip or website address: " target
xterm -hold -e proxychains nmap $target
;;
#start any app with proxychains, name has to be exact
Start_Any_App_With_Proxychains)
clear
read -p "Enter name of app to start with proxychains: " app
xterm -hold -e proxycains $app
;;
#back to main menu
MainMenu)
clear
break
;;
*)
echo "invalid character"
clear
;;
esac
done
;;
#edit proxychains config file with nano
EditProxychainsConfig)
clear
sudo nano /etc/proxychains.conf
;;
#check dnsleaktest.com for leaks
CheckForLeaks)
clear
echo "checking for dns leaks"
xterm -hold -e proxychains firefox www.dnsleaktest.com
;;
#Check current public ip
CheckExternalIP)
clear
curl ident.me
;;
Exit)
clear
exit
;;
esac
done