Oct 11, 2022

ZMAP

ZMap is a fast single-packet network scanner optimized for Internet-wide network surveys. 

On a computer with a gigabit connection, ZMap can scan the entire public IPv4 address space on a single port in under 45 minutes. With a 10gigE connection and PF_RING, ZMap can scan the IPv4 address space in 5 minutes.

Installation (Ubuntu)

$ sudo apt install zmap

$ sudo zmap 192.168.31.0/24

Installation (manual)

$ cmake -DWITH_REDIS=ON -DWITH_JSON=ON -DCMAKE_INSTALL_PREFIX=/usr/local/bin .
$ make -j4
$ make install

Sample Usage

┌──(xx㉿wsl2)-[~]
└─$ sudo zmap --probe-module=icmp_echoscan 192.168.31.1/24 --quiet
Oct 24 19:07:15.790 [INFO] zmap: output module: csv
Oct 24 19:07:15.790 [INFO] csv: no output file selected, will use stdout
192.168.31.227
192.168.31.1
192.168.31.210
192.168.31.214
192.168.31.239
192.168.31.209
192.168.31.202
192.168.31.224
192.168.31.208
192.168.31.236
192.168.31.216
192.168.31.205
192.168.31.213
Oct 24 19:07:23.939 [INFO] zmap: completed


Links: