Nmap Cheat Sheet
Notice: Trying to get property 'post_excerpt' of non-object in /home/u540484907/domains/icssindia.in/public_html/blogs/wp-content/themes/hueman/tmpl/single-tmpl.php on line 25
Nmap –
Nmap is a network mapper tool for security purposes. It was created by Gordon Lyon. Nmap was 1st released on Sep 1, 1997, it can do network analysis as well as port scanning, by using Nmap. you can scan multiple hosts and host ranges.
Nmap uses raw IP packets to scan a target. On the bases of its response receives from the targets it shows results.
Zenmap is a GUI of Nmap. Nmap is used in the terminal. It supports most operating systems. Nmap has more than 439+ scripts for scanning and vulnerability detection purposes. These scripts are written in a lua programming language.
The output of Nmap is a list of scan targets with information depending upon the option use.
Usage of Nmap-
nmap –help
This command lists all the options available for scanning and vulnerability detection purpose.
Nmap Target Selection
|
nmap 192.168.1.1 |
|
nmap www.testhostname.com |
|
nmap 192.168.1.1-20 |
|
nmap 192.168.1.0/24 |
|
nmap -iL list-of-ips.txt |
These are all default scans, which will scan 1000 TCP ports. Host discovery will take place.
- Nmap Port Selection
|
nmap -p 22 192.168.1.1 |
|
nmap -p 1-100 192.168.1.1 |
|
nmap -F 192.168.1.1 |
|
nmap -p- 192.168.1.1 |
Nmap Port Scan types
|
nmap -sT 192.168.1.1 |
|
nmap -sS 192.168.1.1 |
|
nmap -sU -p 123,161,162 192.168.1.1 |
|
nmap -Pn -F 192.168.1.1 |
Service and OS Detection
|
nmap -A 192.168.1.1 |
|
nmap -sV 192.168.1.1 |
|
nmap -sV –version-intensity 5 192.168.1.1 |
|
nmap -sV –version-intensity 0 192.168.1.1 |
- For More Cyber Security Related Queries Visit School Of Hacker’s Download Our Brochure
- Advanced Nmap Training & Certification: Cyber Courses
- For More Cyber-Related Blog: Cyber Security
- Thinking About Career in Cyber Security
- Learn Website Hacking Ethical Way