使用curl命令借助web.archive.org快速抓取子域名

使用curl命令借助web.archive.org快速抓取子域名

subdomain

命令如下所示:

curl --insecure --silent "http://web.archive.org/cdx/search/cdx/search/cdx?url=*.xxx.com/*&output=text&fl=original&collapse=urlkey" | sed -e 's_https*://__' -e "s/\/.*//" -e 's/:.*//' -e 's/^www\.//' | sed "/@/d" | sed -e 's/\.$//' | sort -u 

使用方法:

将xxx.com修改为你要抓取的域名

效果截图:

使用curl命令借助web.archive.org快速抓取子域名

注意事项:

你当前网络需要能访问web.archive.org才行
此方法仅适用于部分域名

转载请注明出处及链接

Leave a Reply

您的电子邮箱地址不会被公开。 必填项已用 * 标注