zmap zgrab 环境搭建
yum install cmake gmp-devel gengetopt libpcap-devel flex byacc json-c-devel libunistring-devel golang hiredis-devel
git clone https://github.com/zmap/zmap.git
cd zmap/
cmake -DWITH_REDIS=ON #开启redis
make
make install
vi /etc/profile #在最后加入
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
export GOPATH=/tmp/work#go 语言工作空间
source /etc/profile #立即生效
go get github.com/zmap/zgrab
cd $GOPATH/src/github.com/zmap/zgrab
go build
ok 安装完成