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

Linux cp command in C

This is a simple implementation of cp command in linux, if you are student in University of Adelaide who happens to take SPC course, please do not copy this code directly. Code still can be optimized but I’m not gonna fix it since no mark will be given for coding style. CP命令的C实现~ Compile: gcc -o… Read more Linux cp command in C

利用Zgrab绕CDN找真实IP

未经许可转载本帖将视为同意按100元/字支付稿酬 本文已授权在T00LS发布:https://www.t00ls.net/articles-40631.html 1. 安装Zmap yum install zmap git wget   如果提示找不到zmap请自行添加最新的源 CentOS6: yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm   CentOS7: yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm   2. 安装Go 因为yum install不一定能下到最新的go,所以建议手动安装。 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/   3. 安装Zgrab go get github.com/zmap/zgrab cd $GOPATH/src/github.com/zmap/zgrab go build   4. Zgrab使用 Zgrab配和Zmap在200M带宽的机器上扫遍国区所有80端口大概是4小时以内(I7+16G+240G SSD RAID 0),网速和硬盘性能比较影响最终速度。至于扫全球的请准备好1T以上的SSD ./zgrab –help… Read more 利用Zgrab绕CDN找真实IP