Files
tldr/pages.zh/common/httprobe.md

20 lines
440 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# httprobe
> 从域名列表中探测有效的 HTTP 和 HTTPS 服务器。
> 更多信息:<https://github.com/tomnomnom/httprobe>。
- 从文本文件中探测域名列表:
`cat {{input_file}} | httprobe`
- 仅在 HTTPS 不工作时检查 HTTP
`cat {{input_file}} | httprobe --prefer-https`
- 使用给定协议探测其他端口:
`cat {{input_file}} | httprobe -p {{https:2222}}`
- 显示帮助信息:
`httprobe --help`