prepair for release

This commit is contained in:
Dionysus 2025-02-11 02:26:48 -05:00
parent 9977a9722c
commit 3d258e1de8
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
11 changed files with 12 additions and 29 deletions

View File

@ -19,7 +19,7 @@ A high-performance concurrent web scanner written in Python. HTTPZ efficiently s
### Via pip (recommended) ### Via pip (recommended)
```bash ```bash
# Install from PyPI # Install from PyPI
pip install httpz pip install httpz-scanner
# The 'httpz' command will now be available in your terminal # The 'httpz' command will now be available in your terminal
httpz --help httpz --help
@ -39,39 +39,39 @@ pip install -r requirements.txt
Basic usage: Basic usage:
```bash ```bash
python -m httpz domains.txt python -m httpz-scanner domains.txt
``` ```
Scan with all flags enabled and output to JSONL: Scan with all flags enabled and output to JSONL:
```bash ```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: Read from stdin:
```bash ```bash
cat domains.txt | python -m httpz - -all -c 100 cat domains.txt | python -m httpz-scanner - -all -c 100
echo "example.com" | python -m httpz - -all echo "example.com" | python -m httpz-scanner - -all
``` ```
Filter by status codes and follow redirects: Filter by status codes and follow redirects:
```bash ```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: Show specific fields with custom timeout and resolvers:
```bash ```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: Full scan with all options:
```bash ```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 Library
```python ```python
import asyncio import asyncio
from httpz import HTTPZScanner from httpz_scanner import HTTPZScanner
async def scan_domains(): async def scan_domains():
# Initialize scanner with all possible options (showing defaults) # Initialize scanner with all possible options (showing defaults)
@ -193,20 +193,3 @@ The scanner will return results in this format:
| `-p` | `--progress` | Show progress counter | | `-p` | `--progress` | Show progress counter |
| `-ax` | `--axfr` | Try AXFR transfer against nameservers | | `-ax` | `--axfr` | Try AXFR transfer against nameservers |
| `-r FILE` | `--resolvers FILE` | File containing DNS resolvers *(one per line)* | | `-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
```

View File

@ -6,4 +6,4 @@ from .scanner import HTTPZScanner
from .colors import Colors from .colors import Colors
__version__ = '1.0.0' __version__ = '1.0.3'

View File

@ -9,7 +9,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
setup( setup(
name='httpz-scanner', name='httpz-scanner',
version='1.0.0', version='1.0.3',
author='acidvegas', author='acidvegas',
author_email='acid.vegas@acid.vegas', author_email='acid.vegas@acid.vegas',
description='Hyper-fast HTTP Scraping Tool', description='Hyper-fast HTTP Scraping Tool',