Nmap is an organization scanner utility utilized for port planning, have revelation and weakness examining. The majority of its capacities depend on utilizing IP parcel examination to recognize and distinguish remote hosts, working frameworks and administrations.
Nmap is utilized by huge organizations just as more modest estimated associations for port examining, have checking, entrance testing and comparative undertakings.
- Nmap scan against IP
nmap 1.1.1.1
To scan hostname, replace the existing command with this
nmap cloudflare.com
- Command for Nmap Ping scan
nmap -sp 192.168.5.0/24
- Command to scan ports
nmap -p 1-65535 localhost
To get quick result, insert this command
nmap -p 80,443 8.8.8.8
- Command to scan various IP addresses
nmap 1.1.1.1 8.8.8.8
- Command to scan IP ranges
nmap 8.8.8.0/28
- Command to scan IP address from text file
This is the text file
192.168.1.106
To scan the text file, insert this command
nmap -iL list.txt
- Command to save the Nmap scanned results
To save text file, follow these steps
nmap -oN output.txt securitytrails.com
To save an xml file, insert this command.
nmap -oX output.xml securitytrails.com
- Command to detect the daemon version
nmap -sV localhost
- CVE detection with Nmap
nmap -Pn –script vuln 192.168.1.105
- Command to launch DOS with Nmap
nmap 192.168.1.105 -max-parallelism 800 -Pn –script http-slowloris –script-args http-slowloris.runforever=true