Skip to content

Commit 44f457a

Browse files
authored
Update dirbrute.py
1 parent 1d81172 commit 44f457a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

directory_bruteforcing/dirbrute.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66

77
for i in range(len(file)):
88
wls = file.readline()
9-
r = requests.get(url+wls)
9+
r = requests.get(url + wls)
1010
stats = r.status_code
1111

1212
if stats == 200:
13-
print("_"*50)
14-
print("Path :"+url+wls, (stats))
15-
print("_"*50)
13+
print("_" * 50)
14+
print("Path :"+url + wls, (stats))
15+
print("_" * 50)
1616
elif stats == 404:
17-
print("_"*50)
18-
print("Path :"+url+wls, (stats))
19-
print("_"*50)
17+
print("_" * 50)
18+
print("Path :" + url + wls, (stats))
19+
print("_" * 50)
2020
else:
21-
print("_"*50)
22-
print("Path :"+url+wls, (stats))
23-
print("_"*50)
21+
print("_" * 50)
22+
print("Path :" + url + wls, (stats))
23+
print("_" * 50)
2424
file.close()

0 commit comments

Comments
 (0)