获取域/子域列表,并检查是否存在可用的 http/https 服务器。
FProbe - Fast HTTP Probe
GO111MODULE=on go get -u github.com/theblackturtle/fprobeStatus Code, Content Type, Location.Usage of fprobe:
-c int
Concurrency (default 50)
-cidr
Generate IP addresses from CIDR
-i string
Input file (default is stdin) (default "-")
-l Use ports in the same line (google.com,2087,2086)
-p value
add additional probe (proto:port)
-prefer-https
only try plain HTTP if HTTPS fails
-s skip the default probes (http:80 and https:443)
-t int
Timeout (seconds) (default 9)
-v Turn on verboseStdin input
❯ cat domains.txt | fprobeFile input
❯ fprobe -i domains.txt❯ cat domains.txt | fprobe -c 200If you want to use special ports for each domain, you can use the -l flag. You can parse Nmap/Masscan output and reformat it to use this feature.
Input (domains.txt)
google.com,2087,2086,8880,2082,443,80,2052,2096,2083,8080,8443,2095,2053
yahoo.com,2087,2086,8880,2082,443,80,2052,2096,2083,8080,8443,2095,2053
sport.yahoo.com,2086,443,2096,2053,8080,2082,80,2083,8443,2052,2087,2095,8880Command
❯ cat domains.txt | fprobe -l❯ cat domains.txt | fprobe -t 10❯ cat domains.txt | fprobe -p http:8080 -p https:8443❯ echo 'https://google.com/path1?param=1' | fprobe
https://google.com/path1?param=1❯ echo '192.168.1.1/24' | fprobe -cidr❯ cat domains.txt | fprobe -p medium/large/xlargeIf you don't want to probe for HTTP on port 80 or HTTPS on port 443, you can use the -s flag.
❯ cat domains.txt | fprobe -sThe verbose output will be format in JSON format with some additional headers, such as Status Code, Content Type, Location.
❯ cat domains.txt | fprobe -v{"site":"http://google.com","status_code":301,"server":"gws","content_type":"text/html; charset=UTF-8","location":"http://www.google.com/"}
{"site":"https://google.com","status_code":301,"server":"gws","content_type":"text/html; charset=UTF-8","location":"https://www.google.com/"}This tool get the idea and some line of codes from httprobe written by @tomnomnom.
暂无开放 Issues,或尚未同步最近议题。