Saturday, 18 January 2014

Nmap ("Network Mapper")


Nmap ("Network Mapper") is an open source tool for network exploration and security auditing. It was designed to rapidly scan large networks, although it works fine against single hosts. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. While Nmap is commonly used for security audits, many systems and network administrators find it useful for routine tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.

Examples:

scan specific ports

bash # nmap -v -A -p 80,443 google.com

Scan all ports with * wildcard

bash # nmap -p "*" 10.128.10.10

 

Show all packets sent and received

bash # nmap --packet-trace 10.128.10.10

 

Show open ports

bash # nmap --open 10.128.10.10

No comments: