The masscan
tool is an amazing tool; it is the fastest port scan tool. It is supposed to scan the entire internet when it transmits at a speed of 10 million packets per second. It is a good alternative for Nmap when we know exactly what ports we are looking for in a network.
It is similar to Nmap, however, in that it does not support default port scanning all ports must be specified using -p
.
The masscan
tool is simple to use. We can begin a scan of a network by using the following command:
masscan 192.168.1.0/24 -p 80,443,23
The following screenshot shows the output of the preceding command:
We can also specify the packet rate by using --max-rate
. By default, the rate is 100
packets per second. Using it is not recommended as it will put a lot of load on the network device.