httpz

- Hyper-fast HTTP Scraping Tool
git clone git://git.acid.vegas/httpz.git
Log | Files | Refs | Archive | README | LICENSE

commit f1f5a78ae07fc096ce631bcb5668ffeeeef837fa
parent 9a4b7e977a9d9aa86459ae94ef92dd1cf764a438
Author: acidvegas <acid.vegas@acid.vegas>
Date: Wed, 12 Feb 2025 02:59:51 -0500

sup tommyrot

Diffstat:
Mhttpz_scanner/__init__.py | 4++--
Mhttpz_scanner/cli.py | 4++--
Msetup.py | 2+-

3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/httpz_scanner/__init__.py b/httpz_scanner/__init__.py
@@ -6,4 +6,4 @@ from .colors  import Colors
 from .scanner import HTTPZScanner
 
 
-__version__ = '2.1.6'
-\ No newline at end of file
+__version__ = '2.1.7'
+\ No newline at end of file
diff --git a/httpz_scanner/cli.py b/httpz_scanner/cli.py
@@ -82,6 +82,7 @@ async def main():
     parser.add_argument('-ec', '--exclude-codes', type=parse_status_codes, help='Exclude these status codes (comma-separated, e.g., 404,500)')
     parser.add_argument('-mc', '--match-codes', type=parse_status_codes, help='Only show these status codes (comma-separated, e.g., 200,301,404)')
     parser.add_argument('-p',  '--progress', action='store_true', help='Show progress counter')
+    parser.add_argument('-pd', '--post-data', help='Send POST request with this data')
     parser.add_argument('-r',  '--resolvers', help='File containing DNS resolvers (one per line)')
     parser.add_argument('-to', '--timeout', type=int, default=5, help='Request timeout in seconds')
     
@@ -93,7 +94,6 @@ async def main():
     
     # Add these arguments in the parser section
     parser.add_argument('-hd', '--headers', help='Custom headers to send with each request (format: "Header1: value1,Header2: value2")')
-    parser.add_argument('-p', '--post', help='Send POST request with this data')
     
     # If no arguments provided, print help and exit
     if len(sys.argv) == 1:
@@ -153,7 +153,7 @@ async def main():
             shard=args.shard,
             paths=args.paths.split(',') if args.paths else None,
             custom_headers=dict(h.split(': ', 1) for h in args.headers.split(',')) if args.headers else None,
-            post_data=args.post
+            post_data=args.post_data
         )
 
         count = 0
diff --git a/setup.py b/setup.py
@@ -10,7 +10,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
 
 setup(
     name='httpz_scanner',
-    version='2.1.6',
+    version='2.1.7',
     author='acidvegas',
     author_email='acid.vegas@acid.vegas',
     description='Hyper-fast HTTP Scraping Tool',