Install zmap on Kali 2

Zmap is a nice tool. If you don’t know already, it can scan vast subnets very quickly. Best used to scout for targets, make a list and then go exploring them with nmap. It’s not as fast as masscan, but that’s for another post. Zmap has found its way into Kali now, but if you are stuck using a version prior to that change or want to setup from source, here’s how to install it:

apt-get install build-essential make libgmp3-dev libpcap-dev gengeopt byacc flex git libjson-c-dev
git clone git://github.com/zmap/zmap.git
cd zmap
cmake -DENABLE_DEVELOPMENT=OFF
make && make install

That should be that. Scan away. Responsibly. 😉