Discover Open Ports

In order to start testing something you first want to find out if it has any network ports open. Discovering what ports are open and what service is running behind is crucial and should be one of the first things you do after recon.

MOVE TO OWN TOOLS PAGE

netdiscover

Uses ARP to discover hosts.

netdiscover -r 192.168.1.0/24

MOVE TO OWN TOOLS PAGE

masscan

Usefull on larger networks where speed is important.

scan all ports

masscan 10.11.0.0/16

scan port range

masscan 10.11.0.0/16 -p22-25 --rate 1000

Scan ‘n’ Number of nmap‘s Top Ports

masscan 10.11.0.0/16 ‐‐top-ports 100 --rate 1000

Output to file

-oX filename: Output to filename in XML.
-oG filename: Output to filename in Grepable format.
-oJ filename: Output to filename in JSON format.