kali安装zmap

正常安装流程参考:玄魂 《Kali linux系列之 zmap 安装》http://www.cnblogs.com/xuanhun/p/3947546.html

下面只列出我安装过程中遇到的报错及解决方法:

报错1:CMake 2.8.12 or higher is required. You are running version 2.8.9(参考:王忘杰《kali1.1.0a安装最新zmap 2.1.0-RC1..》http://tieba.baidu.com/p/3901417574)

wget http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz
tar -xvzf cmake-2.8.12.2.tar.gz
cd cmake-2.8.12.2
./configure
make
make install

报错2:package 'json-c' not found(同样参考王忘杰文章)

apt-get install build-essential autoconf cmake libgmp3-dev libpcap-dev gengetopt byacc flex pkg-config libjson0-dev libtool
git clone https://github.com/json-c/json-c.git
cd json-c
sh autogen.sh
./configure
make
make install

报错3:fatal error: unistr.h: No such file or directory

原因见 https://github.com/zmap/zmap/issues/306

You are correct. Master now has a new dependency on libunistring. In the same commit that added the dependency INSTALL was updated to mention libunistring as well as how to install it on all common platforms.

sudo apt-get install libunistring-dev

终于顺利的安装完成,运行试了下,nmap是慢走的话,zmap简直就是超音速飞天啊。

zmap -B 2M -p 3389 -o result.txt -n 10000

最新补充:没有牛X的带宽还是不要扫全网什么的了,扫的时候老断网,扫完结果也不准,纯属浪费时间 orz

posted @ 2016-01-21 13:54  thxlove  阅读(837)  评论(0编辑  收藏  举报