From aee00f3829c67b9239bc9d503a3bcee75dccf972 Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Sat, 17 Feb 2024 15:14:32 +1100 Subject: [PATCH] httpx: add page (#12279) * 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> --- pages/common/httpx.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pages/common/httpx.md diff --git a/pages/common/httpx.md b/pages/common/httpx.md new file mode 100644 index 000000000..a2271fb1f --- /dev/null +++ b/pages/common/httpx.md @@ -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: . + +- 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}}`