NMAP
Nmap
Nmap is a port scanner developped in the mid-nineties by Gordon Lyon . It is used during the initial enumeration phase to scan for all ports on target machines, and incorporates a wide range of options for all our needs, be they service/version detection, specific port scanning behaviour, an integrated script engine, etc . See the example below :
nmap -A -sC -sV -p 21,22,65000 -oA target 10.10.110.100
It runs nmap and specifies the following options ;
-A
for OS detection, version detection, script scanning, and traceroute
-sC
to run the nmap default scripts
-sV
for service/version informations
-p [list of ports]
to scan the specified ports
-oA
target to write the output of this scan in the three major formats at once (.xml, .nmap, and .gnmap)
The output looks like this ;

In this example, we notice an FTP server running on port 21, and a WordPress server on port 65000.
Last updated
Was this helpful?