Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

httpx: add page #12279

Merged
merged 8 commits into from
Feb 17, 2024
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
37 changes: 37 additions & 0 deletions pages/common/httpx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# httpx

> A fast and multi-purpose HTTP toolkit written in Go to run multiple probes at once.
> (Note that this is not the Python HTTPX which has the exact same command name).
fazlearefin marked this conversation as resolved.
Show resolved Hide resolved
fazlearefin marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://github.com/projectdiscovery/httpx>.

- Run a probe against a [u]RL, host, IP Address or subnet (CIDR notation) showing probe status:

`httpx -probe -u {{url|host|ipaddress|subnet_with_cidr}}`

- Run a probe against multiple hosts showing [s]tatus [c]ode with input from `subfinder`:

`subfinder -d {{example.com}} | httpx -sc`

- Run a [r]ate [l]imited probe against a [l]ist of hosts from a file showing [t]echnology [d]etected and [r]esponse [t]ime:

Check failure on line 15 in pages/common/httpx.md

View workflow job for this annotation

GitHub Actions / build

ist ==> is, it, its, it's, sit, list

Check failure on line 15 in pages/common/httpx.md

View workflow job for this annotation

GitHub Actions / build

esponse ==> response, espouse

`httpx -rl {{150}} -l {{path/to/newline_separated_hosts_list}} -td -rt`

- Run a probe against a [u]RL showing its webpage title, CDN/WAF in use, and page content hash:

`httpx -u {{url}} -title -cdn -hash {{sha256}}`

- Run a probe against a list of hosts with custom defined [p]orts and timeout after certain seconds:

`httpx -probe -u {{host1,host2,...}} -p http:{{80,8000-8080}},https:{{443,8443}} -timeout {{10}}`

- Run a probe against a list of hosts [f]iltering out [c]odes of certain responses:

`httpx -u {{host1,host2,...}} -fc {{400,401,404}}`

- Run a probe against a list of hosts [m]atching [c]odes of certain responses:

`httpx -u {{host1,host2,...}} -mc {{200,301,304}}`

- Run a probe against a URL [s]aving [s]creenshots of certain paths, with [s]creenshot [t]imeouts (assets are saved in `./output`):

Check failure on line 35 in pages/common/httpx.md

View workflow job for this annotation

GitHub Actions / build

creenshots ==> screenshots

Check failure on line 35 in pages/common/httpx.md

View workflow job for this annotation

GitHub Actions / build

creenshot ==> screenshot

`httpx -u {{https://www.github.com}} -path {{/tldr-pages/tldr,/projectdiscovery/httpx}} -ss -st {{10}}`