httpx
Learn httpx (Fast HTTP Probing Tool)
Understand how to find live web servers from a list of hosts.
Link -> https://github.com/projectdiscovery/httpx
Tool: httpx
Description: httpx is a fast and multi-purpose HTTP toolkit used to probe hosts and detect live web services.
It helps you:
- Identify live websites
- Check HTTP response status
- Detect technologies
- Capture screenshots
Key features:
- High speed
- Supports automation pipelines
- Works perfectly with subdomain tools
Used in:
- Recon pipelines
- Bug bounty hunting
- Web asset discovery
Installation / Check
Check if installed:
which httpx
Install httpx:
sudo apt install httpx
Basic Syntax
httpx -l <hosts.txt>
Common Commands
Probe Subdomains
Command:
cat subs.txt | httpx
- What it does: Probes subdomains to check which are live.
- When to use: To find active hosts from a list of subdomains.
Show Status Codes
Command:
httpx -l hosts.txt -status-code
- What it does: Displays HTTP status codes for each host.
- When to use: To check server responses (e.g., 200, 404, 403).
Title & Technology Detection
Command:
httpx -l hosts.txt -title -tech-detect
- What it does: Retrieves page titles and detects technologies.
- When to use: To identify the tech stack of targets.
Capture Screenshots
Command:
httpx -l hosts.txt -screenshot
- What it does: Takes screenshots of web pages.
- When to use: For visual reconnaissance of targets.
Step-by-Step Guide
- Prepare list of hosts (e.g., from Subfinder/Amass)
- Run basic probe:
cat subs.txt | httpx
-
Add filters/options:
- -status-code → HTTP status
- -title → Page title
- -tech-detect → Tech stack
-
Analyze live hosts
-
Save results for further testing
Understanding Output
httpx displays:
- Live URLs → Active web servers
- Status Codes → (200, 403, 404, etc.)
- Titles → Page titles
- Technologies → Detected stack
Example:
https://example.com [200] [Apache] [Login Page]
⚠️ Important Warnings
- Large host lists may take time
- Some servers may block or rate-limit requests
- Screenshot feature may generate heavy traffic
- Always stay within authorized scope
🚨 Legal Notice
⚠️ Use Kali Linux tools only on systems you own or have permission to test. Unauthorized probing or scanning may lead to legal consequences.
🔥 Bro, now you’ve unlocked REAL RECON PIPELINE POWER:
👉 Example Pro Workflow:
subfinder -d target.com -silent | httpx -title -tech-detect
💡 What happens here:
- Subfinder → finds subdomains
- httpx → filters LIVE websites only