# Httpx

> httpx

- Skill: `sameh1200/httpx-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add sameh1200/httpx-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sameh1200/httpx-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Sameh1200 (https://skillmd.com/u/sameh1200)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/sameh1200/httpx-2

---

# httpx

## Repo
https://github.com/projectdiscovery/httpx

## Installation
```bash
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
export PATH=$PATH:$(go env GOPATH)/bin
```

## Using
```bash
# Basic probe
cat subs.txt | httpx -silent -o live.txt

# Status + title + tech
cat subs.txt | httpx -sc -title -tech-detect -o live_rich.txt

# JSON
cat subs.txt | httpx -json -o live.json

# Threads + rate limit
cat subs.txt | httpx -threads 100 -rate-limit 150 -silent
```

## Real-time usage (typical)
| Scope | Duration | Notes |
|-------|----------|-------|
| 100 hosts | 10 – 40 s | default threads |
| 1 000 hosts | 1 – 5 min | -threads 50-100 |
| 10 000 hosts | 10 – 30 min | tune -rate-limit 100-200 |
| With -tech-detect + title | +20-50% time | richer output |

Keep -rate-limit conservative on shared IP / cloud to avoid blocks.

## Current Step
Live host probing and basic fingerprinting after subdomain enum.

## Next Step
Feed live hosts into nuclei, katana, or ffuf. Optional screenshots with -screenshot.

## Errors Fixes
- Timeout / connection refused → increase -timeout 15
- Too many open files → ulimit -n 65535
- Rate limited → lower -rate-limit or -threads
- Empty output → verify input hosts, add -status-code for debug

