From d7aba7080db8417ef3414892a88f621c90861031 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Thu, 29 Sep 2022 22:22:17 +0800 Subject: [PATCH] Fix typos Found via `codespell -S ./arjun/db -L splitted` --- CHANGELOG.md | 2 +- arjun/__main__.py | 2 +- arjun/plugins/heuristic.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28bcf68..97574cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,7 +58,7 @@ - `-c` option to define number of parameters to be sent at once - import via `-i` options now supports: BurpSuite log, raw request file, text file with urls - `-T` option to specify HTTP connection timeout -- combined `-m` option for specifiying HTTP request method +- combined `-m` option for specifying HTTP request method - Various bug fixes and better output #### 1.6 diff --git a/arjun/__main__.py b/arjun/__main__.py index 813ccf2..f3d7eef 100644 --- a/arjun/__main__.py +++ b/arjun/__main__.py @@ -149,7 +149,7 @@ def initialize(request, wordlist, single_url=False): if len(param_groups) > prev_chunk_count: response_3 = requester(request, {fuzz: fuzz[::-1]}) if compare(response_3, factors, {fuzz: fuzz[::-1]}) != '': - print('%s Target is misbehaving. Try the --stable swtich.' % bad) + print('%s Target is misbehaving. Try the --stable switch.' % bad) return [] if mem.var['kill']: return 'skipped' diff --git a/arjun/plugins/heuristic.py b/arjun/plugins/heuristic.py index eeba4e4..8a22505 100644 --- a/arjun/plugins/heuristic.py +++ b/arjun/plugins/heuristic.py @@ -24,7 +24,7 @@ def heuristic(raw_response, wordlist): if len(response) < 200: if ('required' or 'missing' or 'not found' or 'requires') in response.lower() and ('param' or 'parameter' or 'field') in response.lower(): if not mem.var['quiet']: - print('%s The endpoint seems to require certain parameters to function. Check the repsonse and use the --include option appropriately for better results.' % info) + print('%s The endpoint seems to require certain parameters to function. Check the response and use the --include option appropriately for better results.' % info) words_exist = True potential_params = re_words.findall(response) # Parse Inputs