← 返回命令列表

Linux command

httpx 命令

网络

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Probe live hosts

cat [hosts.txt] | httpx

Check with title

httpx -l [hosts.txt] -title

Show status codes

httpx -l [hosts.txt] -status-code

Check specific ports

httpx -l [hosts.txt] -ports [80,443,8080]

Follow redirects

httpx -l [hosts.txt] -follow-redirects

Output JSON

httpx -l [hosts.txt] -json -o [output.json]

说明

httpx is a fast HTTP toolkit for probing web servers. It checks for live hosts and extracts information like titles, status codes, and technologies. The tool is used in reconnaissance and security testing. It efficiently processes large lists of hosts with concurrent requests.

参数

-l _FILE_
Input file with hosts.
-title
Show page titles.
-status-code
Show status codes.
-ports _PORTS_
Ports to probe.
-follow-redirects
Follow HTTP redirects.
-json
JSON output.
-o _FILE_
Output file.
--help
Display help information.

FAQ

What is the httpx command used for?

httpx is a fast HTTP toolkit for probing web servers. It checks for live hosts and extracts information like titles, status codes, and technologies. The tool is used in reconnaissance and security testing. It efficiently processes large lists of hosts with concurrent requests.

How do I run a basic httpx example?

Run `cat [hosts.txt] | httpx` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l _FILE_ do in httpx?

Input file with hosts.