File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change 1
1
import requests
2
+
2
3
url = input ("Enter domain or IP with / at end:" )
3
4
path = input ("Enter Wordlist path :" )
4
5
file = open (path , "r" )
6
+
5
7
for i in range (len (file )):
6
- wls = file .readline ()
7
- r = requests .get (url + wls )
8
- stats = r .status_code
8
+ wls = file .readline ()
9
+ r = requests .get (url + wls )
10
+ stats = r .status_code
11
+
9
12
if stats == 200 :
10
- print ("_" * 50 )
11
- print ("Path :" + url + wls , (stats ))
12
- print ("_" * 50 )
13
+ print ("_" * 50 )
14
+ print ("Path :" + url + wls , (stats ))
15
+ print ("_" * 50 )
13
16
elif stats == 404 :
14
- print ("_" * 50 )
15
- print ("Path :" + url + wls , (stats ))
16
- print ("_" * 50 )
17
+ print ("_" * 50 )
18
+ print ("Path :" + url + wls , (stats ))
19
+ print ("_" * 50 )
17
20
else :
18
- print ("_" * 50 )
19
- print ("Path :" + url + wls , (stats ))
20
- print ("_" * 50 )
21
+ print ("_" * 50 )
22
+ print ("Path :" + url + wls , (stats ))
23
+ print ("_" * 50 )
21
24
file .close ()
You can’t perform that action at this time.
0 commit comments