在线查询子域名网站:https://www.dnsgrep.cn
该网站支持子域名查询、ip反查域名、C 段 ip 反查域名等多种姿势。
要查询支付宝网站的所有子域名直接访问https://www.dnsgrep.cn/subdomain/alipay.com
把alipay.com改成其它的,就可以查询其它网站的所有子域名情况了。
// 使用jq+httpx获取更详细的数据:
curl "https://www.dnsgrep.cn/api/query?q=alipay.com&token=token" -sS|\
jq -r '.data.data[].domain'|\
sort -u |\
httpx -title -content-length -status-code -silent -follow-redirects \
-H "user-agent: Mozilla/5.0 (compatible; Adsbot/3.1)"
以上命令会输出
https://afssp.alipay.com [200] [16856] [蚂蚁金服安全服务平台 - 首页]
https://admin.cloud.alipay.com [200] [3433] [管理控制台 - 蚂蚁集团金融科技]
...