zmap套装之zdns:批量查询域名ip

最近收到全球域名以后想做一个对应的ip list方便用Zgrab扫描 CSV格式: domain,”date added”,”NS servers”,”IP address”,country 用python预处理为一行一个域名: import csv with open(“all.csv”) as cfile: reader = csv.DictReader(cfile) f = open(“all.list”, “w”) for row in reader: print row.get(“domain”) f.write(row.get(“domain”) + “\n”)   安装zmap+Go+zdns yum install zmap git wget wget https://storage.googleapis.com/golang/go1.10.4.linux-amd64.tar.gz tar -C /usr/local -xzf go1.10.4.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin export GOPATH=/usr/local/go/bin/ go get github.com/zmap/zdns/zdns cd /usr/local/go/bin/src/github.com/zmap/zdns/zdns go build… Read more zmap套装之zdns:批量查询域名ip