From 6de9b3c1f44b916af34ff18403af6c8d4cdac0bf Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Sat, 13 Apr 2024 10:23:33 +0530 Subject: [PATCH] fix #201 (getting stuck) --- arjun/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arjun/__main__.py b/arjun/__main__.py index 773d7f8..124f862 100644 --- a/arjun/__main__.py +++ b/arjun/__main__.py @@ -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: