Skip to content

Commit

Permalink
httpx: add page (tldr-pages#12279)
Browse files Browse the repository at this point in the history
* httpx: add new command

* Update pages/common/httpx.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* Update pages/common/httpx.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* Update pages/common/httpx.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* Update pages/common/httpx.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* Update pages/common/httpx.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

* httpx: edit example conforming to tldr style guide

* Update pages/common/httpx.md

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
  • Loading branch information
fazlearefin and vitorhcl authored Feb 17, 2024
1 parent 72dd677 commit aee00f3
Showing 1 changed file with 37 additions and 0 deletions.
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: not to be confused with the unrelated Python's HTTPX which has the same command name.
> 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:

`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`):

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

0 comments on commit aee00f3

Please sign in to comment.