Skip to content

Commit

Permalink
scanning error for root directory fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yunemse48 committed Sep 2, 2021
1 parent b67df4e commit 4be90d5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions 403bypasser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import requests, sys, argparse, validators, os, tldextract, time
import requests, sys, argparse, validators, os, tldextract
from colorama import init, Fore, Style
from pyfiglet import Figlet

Expand Down Expand Up @@ -211,10 +211,8 @@ def manipulatePath(self):
print(target_address + " " * remaining + info)

results.append(target_address + " " * remaining + info_pure)
time.sleep(0.05)

self.writeToFile(results)
time.sleep(1)
self.manipulateHeaders()

def manipulateHeaders(self):
Expand All @@ -236,11 +234,8 @@ def manipulateHeaders(self):
print(f"Header= {header}")

results.append("\n" + target_address + " " * remaining + info_pure + f"\nHeader= {header}")
time.sleep(0.05)
self.writeToFile(results)

time.sleep(1)

results_2 = []
for header in self.dirObject.rewriteHeaders:
r = requests.get(self.url, headers=header)
Expand All @@ -257,7 +252,6 @@ def manipulateHeaders(self):
print(f"Header= {header}")

results_2.append("\n" + target_address + " " * remaining + info_pure + f"\nHeader= {header}")
time.sleep(0.05)

self.writeToFile(results_2)

Expand Down

0 comments on commit 4be90d5

Please sign in to comment.