zmap使用

http://www.ip2location.com/free/visitor-blocker

Debian or Ubuntu: sudo apt-get install build-essential cmake libgmp3-dev libpcap-dev gengetopt byacc flex

Red Hat Enterprise Linux or CentOS: sudo yum install cmake gmp gmp-devel libpcap-devel gengetopt byacc flex

tar zxvf

cmake -DENABLE_DEVELOPMENT=OFF

make

sudo make install

支持banner 

cd zmap/examples/banner-grab

wget https://github.com/libevent/libevent/archive/release-2.0.21-stable.tar.gz

tar -zxvf release-2.0.21-stable.tar.gz

 cd release-2.0.21-stable

 sh autogen.sh
 ./configure
 make
 make install

 cd ../

 make

 locate libevent-2.0.so.5

 locate libevent_extra-2.0.so.5

 ln -s /usr/local/lib/libevent-2.0.so.5 /lib64/libevent-2.0.so.5

ln -s /usr/local/lib/libevent_extra-2.0.so.5 /lib64/libevent_extra-2.0.so.5

 zmap -w cn.txt -p 80 -o 80.txt

cat http-req

GET / HTTP/1.1

Host: www.wooyun.org

cat 80.txt |./banner-grab-tcp -c 1500 -d http-req -f ascii -p 80 -t 30 -r 30 >result.txt

你可能感兴趣的:(map)