From 6f87dccd17ce47ace280564cd8fde0773635065a Mon Sep 17 00:00:00 2001 From: c4v4r0n Date: Thu, 6 Feb 2025 20:47:01 -0300 Subject: [PATCH] fix - bug if response_1 is a str --- arjun/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arjun/__main__.py b/arjun/__main__.py index ae94bfa..fc63465 100644 --- a/arjun/__main__.py +++ b/arjun/__main__.py @@ -130,6 +130,8 @@ def initialize(request, wordlist, single_url=False): else: fuzz = "z" + random_str(6) response_1 = requester(request, {fuzz[:-1]: fuzz[::-1][:-1]}) + if(isinstance(response_1, str)): + return 'skipped' mem.var['healthy_url'] = response_1.status_code not in (400, 413, 418, 429, 503) if not mem.var['healthy_url']: print('%s Target returned HTTP %i, this may cause problems.' % (bad, response_1.status_code))