fix #201 (getting stuck)

This commit is contained in:
Somdev Sangwan
2024-04-13 10:23:33 +05:30
committed by GitHub
parent a4c8d76ce8
commit 6de9b3c1f4

View File

@@ -135,11 +135,11 @@ def initialize(request, wordlist, single_url=False):
factors = define(response_1, response_2, fuzz, fuzz[::-1], wordlist)
zzuf = "z" + random_str(6)
response_3 = requester(request, {zzuf[:-1]: zzuf[::-1][:-1]})
while factors:
while True:
reason = compare(response_3, factors, {zzuf[:-1]: zzuf[::-1][:-1]})[2]
if not reason:
break
factors[reason] = []
factors[reason] = False
if single_url:
print('%s Analysing HTTP response for potential parameter names' % run)
if found: