Hello guys Welcome in CYBERBYTE BLOG
today we'll know about nmap,N-network map-mapper,Nmap is a free and open-source network scanner created by Gordon Lyon. Nmap is used to discover hosts and services on a computer network by sending packets and analyzing the responses.
Some usefull commands
1-Basic Nmap Scan against IP or host
-nmap 1.1.1.1
-nmap cloudflare.com
2-Scan specific ports or scan entire port ranges on a local or remote server
-nmap -p 1-65535 localhost
-nmap -p 80,443 8.8.8.8
3-Scan multiple IP addresses
-nmap 1.1.1.1 8.8.8.8
-nmap -p 1.1.1.1,2,3,4
4-Scan IP ranges using nmap
-nmap -p 8.8.8.0/28
-nmap 8.8.8.1-14
-nmap 8.8.8.*
-nmap -p 8.8.8.* --exclude 8.8.8.1
5. Scan the most popular ports
-nmap --top-ports 20 192.168.1.106
-nmap --top-ports 20 localhost
6. Scan hosts and IP addresses reading from a text file
-192.168.1.106
cloudflare.com
microsoft.com
securitytrails.com
-nmap -iL list.txt
7-Save your Nmap scan results to a file
-nmap -oN output.txt securitytrails.com
-nmap -oX output.xml securitytrails.com
8-Disabling DNS name resolution
-nmap -p 80 -n 8.8.8.8
-nmap -p 80 8.8.8.8
9-Scan + OS and service detection with fast execution
-nmap -A -T4 cloudflare.com
10- Detect service/ versions
-nmap -sV localhost
11-Scan using TCP or UDP protocols
-nmap -sT 192.168.1.1
-nmap -sU localhost
12-CVE detection using Nmap
-nmap -Pn --script vuln 192.168.1.105
13. Launching DOS with Nmap
-nmap 192.168.1.105 -max-parallelism 800 -Pn

0 Comments