diff --git a/README.md b/README.md index 0531fdf..e3582b4 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ A high-performance concurrent web scanner written in Python. HTTPZ efficiently s ### Via pip (recommended) ```bash # Install from PyPI -pip install httpz +pip install httpz-scanner # The 'httpz' command will now be available in your terminal httpz --help @@ -39,39 +39,39 @@ pip install -r requirements.txt Basic usage: ```bash -python -m httpz domains.txt +python -m httpz-scanner domains.txt ``` Scan with all flags enabled and output to JSONL: ```bash -python -m httpz domains.txt -all -c 100 -o results.jsonl -j -p +python -m httpz-scanner domains.txt -all -c 100 -o results.jsonl -j -p ``` Read from stdin: ```bash -cat domains.txt | python -m httpz - -all -c 100 -echo "example.com" | python -m httpz - -all +cat domains.txt | python -m httpz-scanner - -all -c 100 +echo "example.com" | python -m httpz-scanner - -all ``` Filter by status codes and follow redirects: ```bash -httpz domains.txt -mc 200,301-399 -ec 404,500 -fr -p +python -m httpz-scanner domains.txt -mc 200,301-399 -ec 404,500 -fr -p ``` Show specific fields with custom timeout and resolvers: ```bash -httpz domains.txt -sc -ti -i -tls -to 10 -r resolvers.txt +python -m httpz-scanner domains.txt -sc -ti -i -tls -to 10 -r resolvers.txt ``` Full scan with all options: ```bash -httpz domains.txt -c 100 -o output.jsonl -j -all -to 10 -mc 200,301 -ec 404,500 -p -ax -r resolvers.txt +python -m httpz-scanner domains.txt -c 100 -o output.jsonl -j -all -to 10 -mc 200,301 -ec 404,500 -p -ax -r resolvers.txt ``` ### Python Library ```python import asyncio -from httpz import HTTPZScanner +from httpz_scanner import HTTPZScanner async def scan_domains(): # Initialize scanner with all possible options (showing defaults) @@ -192,21 +192,4 @@ The scanner will return results in this format: | `-ec CODES` | `--exclude-codes CODES` | Exclude specific status codes *(comma-separated)* | | `-p` | `--progress` | Show progress counter | | `-ax` | `--axfr` | Try AXFR transfer against nameservers | -| `-r FILE` | `--resolvers FILE` | File containing DNS resolvers *(one per line)* | - -## Examples - -Scan domains with all flags enabled and output to JSONL: -```bash -python httpz.py domains.txt -c 100 -o output.jsonl -j -all -to 10 -mc 200,301 -ec 404,500 -p -``` - -Scan domains from stdin: -```bash -cat domains.txt | python httpz.py - -c 100 -o output.jsonl -j -all -to 10 -mc 200,301 -ec 404,500 -p -``` - -Scan domains with custom resolvers and AXFR checks: -```bash -python httpz.py domains.txt -r resolvers.txt -ax -c 100 -o output.jsonl -``` \ No newline at end of file +| `-r FILE` | `--resolvers FILE` | File containing DNS resolvers *(one per line)* | \ No newline at end of file diff --git a/httpz-scan/__init__.py b/httpz-scanner/__init__.py similarity index 90% rename from httpz-scan/__init__.py rename to httpz-scanner/__init__.py index 4e446a9..ab9718f 100644 --- a/httpz-scan/__init__.py +++ b/httpz-scanner/__init__.py @@ -6,4 +6,4 @@ from .scanner import HTTPZScanner from .colors import Colors -__version__ = '1.0.0' \ No newline at end of file +__version__ = '1.0.3' \ No newline at end of file diff --git a/httpz-scan/__main__.py b/httpz-scanner/__main__.py similarity index 100% rename from httpz-scan/__main__.py rename to httpz-scanner/__main__.py diff --git a/httpz-scan/cli.py b/httpz-scanner/cli.py similarity index 100% rename from httpz-scan/cli.py rename to httpz-scanner/cli.py diff --git a/httpz-scan/colors.py b/httpz-scanner/colors.py similarity index 100% rename from httpz-scan/colors.py rename to httpz-scanner/colors.py diff --git a/httpz-scan/dns.py b/httpz-scanner/dns.py similarity index 100% rename from httpz-scan/dns.py rename to httpz-scanner/dns.py diff --git a/httpz-scan/formatters.py b/httpz-scanner/formatters.py similarity index 100% rename from httpz-scan/formatters.py rename to httpz-scanner/formatters.py diff --git a/httpz-scan/parsers.py b/httpz-scanner/parsers.py similarity index 100% rename from httpz-scan/parsers.py rename to httpz-scanner/parsers.py diff --git a/httpz-scan/scanner.py b/httpz-scanner/scanner.py similarity index 100% rename from httpz-scan/scanner.py rename to httpz-scanner/scanner.py diff --git a/httpz-scan/utils.py b/httpz-scanner/utils.py similarity index 100% rename from httpz-scan/utils.py rename to httpz-scanner/utils.py diff --git a/setup.py b/setup.py index c8df955..1059d5f 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open('README.md', 'r', encoding='utf-8') as f: setup( name='httpz-scanner', - version='1.0.0', + version='1.0.3', author='acidvegas', author_email='acid.vegas@acid.vegas', description='Hyper-fast HTTP Scraping Tool',