目录
一、子域名扫描
1.价值与分类
2.使用ping命令
3.使用Socket库
def socket_domain():
with open('../dict/subdomain-top160k.txt') as file:
domain_list = file.readlines()
for domain in domain_list:
try:
ip = socket.gethostbyname(f'{domain.strip()}.woniuxy.com')
print(f'{domain.strip()}.woniuxy.com, {ip}')
except socket.gaierror:
pass
4.Windows工具:layer挖掘机
5.Kali工具:dnsenum
dnsenum -f /usr/share/dnsenum/dns.txt woniuxy.com
6.在线网站:
http://z.zcjun.com/
二、后台扫描