-
Notifications
You must be signed in to change notification settings - Fork 34
/
SDork
executable file
·241 lines (241 loc) · 7.05 KB
/
SDork
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
#!/bin/bash
clear
echo -e "\e[4;31m SpeedX Productions !!! \e[0m"
echo -e "\e[1;34m Presents \e[0m"
echo -e "\e[1;32m SuperDorker \e[0m"
echo " "
echo -e "\e[4;33m Tool For Get Huge Vulnerable Website List. \e[0m"
echo " "
echo " "
echo "Press Enter To Continue..."
read a
if [[ -s update.speedx ]];then
echo " "
echo -e "\e[1;32m All Requirements Found... \e[0m"
else
echo " "
echo -e "\e[1;32m Please Wait While We Install Necessary Requirements... \e[0m"
echo " "
echo " "
apt update
apt upgrade
pkg install figlet toilet curl python2 busybox
pip2 install --upgrade pip
pip2 install urllib3
pip2 install progressbar2
echo " "
echo -e "\e[1;32m Requirements Installed Successfully... \e[0m"
echo "This App Was Last Updated On"$date >update.speedx
echo "SuperDorker Was Created By SpeedX... Any Queries Mail [email protected] " >>update.speedx
fi
for (( start=5;start>=5;start++ ))
do
clear
echo -e "\e[1;32m"
figlet -f slant -c S Dorker
echo -e "\e[1;34m Created By \e[0m"
toilet -f mono12 -F gay SpeedX
echo -e "\e[4;34m This Dorker Was Created By SpeedX \e[0m"
echo -e "\e[1;34m For Any Queries Mail Me!!!\e[0m"
echo -e "\e[1;32m Mail: [email protected] \e[0m"
echo -e "\e[4;32m YouTube Channel: https://www.youtube.com/c/GyanaTech \e[0m"
echo " "
echo -e "\e[4;31m Please Read Instruction Carefully !!! \e[0m"
echo -e "\e[1;33m"
echo "Press 1 To Generate Sites From Dork"
echo "Press 2 To Scan For Vulnerable Sites"
echo "Press 3 To View Sample Dorks"
echo "Press 4 To Install Requirements And Update Script"
echo "Press 5 For Instructions"
echo "Press 6 to Exit "
read ch
if [ $ch -eq 1 ];then
clear
figlet -c S Dorker
echo -e "\e[1;34m Created By \e[1;32m"
figlet -f slant -c SpeedX
echo -e "\e[1;33m Enter A Google Dork:"
read dork
echo -e "Enter Number Of Pages:"
read page
echo >SDList.txt
echo -e "\e[1;34m Please Wait... This May Take 1-2 Minutes..."
url="https://www.google.com/search?q="+$dork
curl -sA "Chrome" -L $url -o list1.txt
python2 extract.py list1.txt >SDList.txt
echo " Dorking Started !!!"
half=$(( page/2 ))
if [ $page -gt 1 ];then
for (( i=1;i<$page;i++ ))
do
turl=$url"&start="$(( i*10 ))
fn="list"$(( i+1 ))".txt"
curl -sA "Chrome" -L $turl -o $fn
python2 extract.py $fn >>SDList.txt
if [ $i -eq $half ];then
echo "50% Completed !!!"
fi
done
fi
echo "100% Completed !!!"
echo "List Created For Dork: "$dork
echo "Vulnerable Sites Saved in FileName: SDList.txt"
echo " "
rm list*.txt
echo "Do You Want To View it Now (Y/N):"
read cho
if [ "$cho" = "Y" ] || [ "$cho" = "y" ] ;then
echo -e "\e[1;31mThis List Was Created By Super Dorker !!!"
echo " "
cat SDList.txt
echo " "
echo " "
echo "Press Enter To Go To Main Menu"
read a4
else
echo "Going Back to Main Menu..."
sleep 1
fi
elif [ $ch -eq 2 ];then
clear
echo -e "\e[1;32m "
figlet -f slant -c S Dorker
echo -e "\e[1;34m Created By \e[0m"
toilet -f mono12 -F gay SpeedX
echo -e "\e[4;34m This Dorker Was Created By SpeedX \e[0m"
echo -e "\e[1;34m For Any Queries Mail Me!!!\e[0m"
echo -e "\e[1;32m Mail: [email protected] \e[0m"
echo -e "\e[4;32m YouTube Page: https://www.youtube.com/c/GyanaTech \e[0m"
echo -e "\e[1;31m "
echo "Note: This Scanner Only Scans for SQLi Vulnerablity"
echo "Scanning Time Depends On Your Internet Speed & Site List.."
echo "It is Recommended To Use SDorker Generate Vulnerable Site List"
echo "Default FileName : SDList.txt "
echo " "
echo -e "\e[1;33mInput The Name Of File Containing Links:"
read fin
echo -e "\e[1;32m"
python2 vuln.py $fin
echo -e "\e[1;34m Press Enter To Continue.."
read a1
elif [ $ch -eq 3 ];then
clear
cd files
while true
do
clear
echo -e "\e[1;32m "
figlet -f slant -c S Dorker
echo -e "\e[1;34m Created By \e[0m"
toilet -f mono12 -F gay SpeedX
echo -e "\e[4;34m This Dorker Was Created By SpeedX \e[0m"
echo -e "\e[1;34m For Any Queries Mail Me!!!\e[0m"
echo -e "\e[1;32m Mail: [email protected] \e[0m"
echo -e "\e[4;32m Whatsapp: https://bit.do/speedxgit \e[0m"
echo -e "\e[1;31m "
echo "These Dorks Were Taken From Internet !! And Just Sample Better Use Your Own Dorks"
echo " "
echo "Press 1 For SQLi Dorks"
echo "Press 2 For XSS Dorks"
echo "Press 3 For LFI/RFI Dorks"
echo "Press 4 To Exit "
read dc
if [ $dc -eq 1 ];then
echo -e "\e[1;33mSome SQLi Dorks"
echo " "
cat sqli.speedx
echo " "
echo " "
echo "Press Enter To Go Back"
read a2
elif [ $dc -eq 2 ];then
echo -e "\e[1;33mSome XSS Dorks"
echo " "
cat xss.speedx
echo " "
echo " "
echo "Press Enter To Go Back"
read a2
elif [ $dc -eq 3 ];then
echo -e "\e[1;33mSome File Inclusion Dorks"
echo " "
cat fi.speedx
echo " "
echo " "
echo "Press Enter To Go Back"
read a2
elif [ $dc -eq 4 ];then
break
else
echo "Invalid Input !!!"
sleep 2
fi
done
echo -e "\e[1;31m"
cd ..
elif [ $ch -eq 4 ];then
clear
pkg install git
echo -e "\e[1;34m Downloading Latest Files..."
git clone https://github.com/TheSpeedX/SDorker
if [[ -s SDorker/SDork ]];then
cd SDorker
cp -r -f * .. > temp
cd ..
rm -rf SDorker >> temp
rm update.speedx >> temp
rm fullsl >> temp
rm proxy.list >> temp
rm temp
chmod +x SDork
fi
echo -e "\e[1;32m SuperDorker Will Restart Now..."
echo -e "\e[1;32m All The Required Packages Will Be Installed..."
echo -e "\e[1;34m Press Enter To Proceed To Restart..."
read a6
./SDork
exit
elif [ $ch -eq 5 ];then
clear
toilet -f mono12 -F gay S Dorker
echo -e "\e[1;32m Created By "
figlet -f slant -c SpeedX
echo " "
echo -e "\e[1;33m Super Dorker is a Tool which finds the list of website according to your given GOOGLE dork. This can be used for Finding SQLi , XSS , LFI/RFI Vulnerable Websites.\e[0m"
echo " "
echo -e "\e[1;32m Each page of generated dorks contains about 10 Websites. So if you type 1 page it gives 10 websites , 2 page gives 20 websites, etc."
echo " "
echo -e "\e[1;34m Website Vulnerablity Scanner Scans only For SQLi Vulnerablity. It will Soon Be Updated To Scan For Other Vulnerabilities. Keep Supporting ME ;-)"
echo " "
echo -e "\e[1;32m If you dont get any Website Even After Using Proxy Option for your Given Dork , Then Kindly USE VPN; Then Run The Script. :-)"
echo " "
echo -e "\e[1;31m NOTE: It is Only For Educational Purposes. Neither I Say Nor I Promote To Hack Sites Without Owners Consent."
echo " "
echo -e "\e[4;34m Super Dorker Was Created By SpeedX \e[0m"
echo -e "\e[1;34m For Any Queries Mail Me!!!\e[0m"
echo -e "\e[1;32m Mail: [email protected] \e[0m"
echo -e "\e[1;32m Whatsapp: https://bit.do/speedxgit \e[0m"
echo -e "\e[4;32m YouTube Page: https://www.youtube.com/c/GyanaTech \e[0m"
echo " "
echo -e "\e[1;32m Support Me By Either Helping In Project Or Donating Small Amount To Me For That Contact Me By Mail\e[0m"
echo " "
echo " Press Enter To Continue..."
read a5
elif [ $ch -eq 6 ];then
start=0
else
echo -e "\e[4;32m Invalid Input !!! \e[0m"
echo "Press Enter To Go Home"
read a3
start=6
clear
fi
done
echo "Thanks For Using Super Dorker !!"
figlet -f slant -c S Dorker
echo "Created By SpeedX !!!!"
toilet -f mono12 -F gay SpeedX
echo -e "\e[1;34m For Any Queries Mail Me!!!\e[0m"
echo -e "\e[1;32m Mail: [email protected] \e[0m"
echo -e "\e[1;32m Whatsapp: https://bit.do/speedxgit \e[0m"
echo -e "\e[4;32m YouTube Page: https://www.youtube.com/c/GyanaTech \e[0m"