Nmap Cheat Sheet


Nmap is one of the most popular network mappers in the infosec world. It’s utilized by cybersecurity professionals and newbies alike to audit and discover local and remote open ports, as well as hosts and network information. Here is a quick cheat sheet that you can use while working with Nmap.  Scanning command syntax Scanning Command Syntax nmap [scan types] [options] { specification} Port Specification options Syntax Example Description -P nmap –p 23 Port scanning port specific port -P nmap –p 23-100 Port scanning port specific port range -p nmap -pU:110,T:23-25,443 U-UDP,T-TCP different port types scan -p- nmap -p- Port scan for all ports -p nmap -smtp,https Port scan from specified protocols -F nmap –F Fast port scan for speed up -P "*" namp -p "*" ftp Port scan using name -r nmap -r Sequential port scan   Host / discovery Switch/Syntax....

September 20, 2019


Hakin9 TEAM
Hakin9 is a monthly magazine dedicated to hacking and cybersecurity. In every edition, we try to focus on different approaches to show various techniques - defensive and offensive. This knowledge will help you understand how most popular attacks are performed and how to protect your data from them. Our tutorials, case studies and online courses will prepare you for the upcoming, potential threats in the cyber security world. We collaborate with many individuals and universities and public institutions, but also with companies such as Xento Systems, CATO Networks, EY, CIPHER Intelligence LAB, redBorder, TSG, and others.
Notify of
Inline Feedbacks
View all comments
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2023

Download Free eBook

Step 1 of 4


We’re committed to your privacy. Hakin9 uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.