Ultimate HTTPx Cheat Sheet
Ultimate HTTPx Cheat Sheet
A reference guide for the fast and multi-purpose HTTP toolkit. Probe, scan, and fingerprint everything.
1. Basic Syntax
The fundamental structure of an HTTPx command.
Input Methods
-u [URL]: Single URL-l [FILE]: List of URLs-p [PROBE]: Pipe from stdinecho "example.com" | httpx
Basic Scan
httpx -u https://example.com: Scan single URLhttpx -l urls.txt: Scan from filecat domains.txt | httpx: Pipe inputhttpx -u example.com -silent: Quiet mode
2. Probing & Discovery
Basic Probing
Check if hosts are alive and serving HTTP/HTTPS.
Probe with Status Codes
Show HTTP status codes with each result.
Probe with Title
Extract and display page titles.
Probe with Tech Detection
Identify technologies used by websites.
Full Probe
Combine multiple information gathering options.
Use multiple flags together for maximum information:
-sc -title -tech-detect -server -cdn -ip -cname -location gives you a complete picture of each target.
3. Filtering & Matching
Filter results based on various criteria to focus on interesting targets.
Filter by Status Code
Show only 200 OK responses.
Filter Multiple Status Codes
Show 200, 301, and 403 responses.
Exclude Status Codes
Hide 404 and 500 responses.
Filter by Content Length
Show only responses larger than 1000 bytes.
| Filter Flag | Description |
|---|---|
-mc [CODES] | Match status codes |
-fc [CODES] | Filter out status codes |
-ml [LENGTH] | Match content length |
-fl [LENGTH] | Filter content length |
-mr [REGEX] | Match response with regex |
-fr [REGEX] | Filter response with regex |
4. Data Extraction
Extract Page Titles
Extract Server Headers
Identify web server software and versions.
Extract Technologies
Detect CMS, frameworks, and libraries.
Extract IP Addresses
Resolve and display IP addresses.
Extract Response Headers
Show all response headers.
Use
-json flag to get all extracted data in structured JSON format for easy parsing with jq.
5. Advanced Scanning
Follow Redirects
Automatically follow HTTP redirects.
Custom Threads
Increase threads for faster scanning.
Custom Timeout
Set timeout for slow servers.
Retry Failed Requests
Retry failed requests up to 3 times.
HTTP/2 Support
Enable HTTP/2 protocol support.
Path Discovery
Probe common paths on discovered hosts.
6. Output & Automation
Save to File
Save results to output file.
JSON Output
Export results in JSON format.
CSV Output
Export results in CSV format.
Pipeline with Other Tools
Feed results to other tools like nuclei.
Full Automation Pipeline
Complete recon workflow.
| Output Flag | Description |
|---|---|
-o [FILE] | Save output to file |
-json | JSON output format |
-csv | CSV output format |
-silent | Suppress banner and errors |
-no-color | Disable colored output |
-verbose | Verbose output |
When piping to other tools, always use -silent flag to avoid banner text contaminating your data stream. Use -no-color for clean file output.
Post a Comment