etc.git


etc

~ scripts and random things
git clone https://github.com/djnnvx/etc.git
log | files | refs | archive

commit 9eee8924ef18663799bfc9b698dfbf0e07119f87
parent 1b871014afc5cc83f71b5884d483f72b340f9889
Author: djnn <[email protected]>
Date: Tue, 9 Jul 2024 07:55:33 +0200

fix(twft): adding the length of the response in the output

Diffstat:
Mtools/twft | 4++--

1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/twft b/tools/twft
@@ -129,7 +129,7 @@ def run_request(replace_with: str, filter_by_size: int, use_https: bool, request
             print('----====[ REQUEST HEADERS ]====----')
             for key, val in local_headers.items():
                 print(f'\t{key}: {val}')
-            print(f'\n\nStatus: {f.status}\n')
+            print(f'\n\nStatus: {f.status} (len: {len(contents)})\n')
             print('----====[ RESPONSE ]====----')
             print(f'{contents}\n----------------------------\n')
 
@@ -137,7 +137,7 @@ def run_request(replace_with: str, filter_by_size: int, use_https: bool, request
 def main() -> None:
 
     # set up argument parser and command-line options
-    parser = argparse.ArgumentParser(description="tiny web fuzzing tool")
+    parser = argparse.ArgumentParser(description="tiny web fuzzing tool\n\nCopy your request from burp, replace the items you want to fuzz with FUZZME and that's it!")
     parser.add_argument("-s", "--https", action="store_true", help="force https usage", default=False)
     parser.add_argument("-w", "--wordlist", help="wordlist filepath", default="common.txt")
     parser.add_argument("-fs", "--filter-size", help="filter by size", type=int, default=0)