Exploring Network Security with Nmap Commands: Ethical Hackers(Beginners) Must Know

1 year ago 77
BOOK THIS SPACE FOR AD
ARTICLE AD

I’ve already discussed the legion tool. It is a tool for scanning targets via a graphical user interface. View it now

The ping scanning gives information about every active IP on your Network. We can perform a ping scan by using the below command:

nmap -sn <target>

sS TCP SYN scan

sT TCP connect scan

sU UDP scans

sY SCTP INIT scan

sN TCP NULL

Host scanning provides a detailed description of a particular host or IP address

Nmap -sp <target IP range>

Nmap -O <target IP>

This sort of scan examines the response after sending TCP and UDP packets to a port. It provides details about a host’s OS after comparing the answer to a database of operating systems.

Nmap — Top-ports 20 <target IP>

If we want the output of results of Nmap scan of any file, you can add an extension to the command.

Add:-oN output.txt

Work in your machine ,which gives more knowledge to you.

nmap: Basic command to run a simple scan on a target host.nmap -sS: Perform a stealth SYN scan.nmap -sT: Perform a TCP connect scan.nmap -sU: Perform a UDP scan.nmap -sA: Perform an ACK scan.nmap -sW: Perform a Window scan.nmap -sM: Perform a Maimon scan.nmap -sN: Perform a Null scan.nmap -sX: Perform an Xmas scan.nmap -sF: Perform a FIN scan.nmap -sL: Perform a List scan.nmap -sI: Perform an idle scan.nmap -p: Specify specific ports to scan.nmap -o: Output results to a file.nmap --top-ports: Scan the top most commonly used ports.nmap --version-all: Attempt to determine the version number of all services running on the target host.nmap -O 192.168.1.1nmap -A 192.168.1.1nmap -v 192.168.1.1nmap --open 192.168.1.1nmap -iL targets.txtnmap --resumenmap --resume scan_results.xmlnmap --exclude 192.168.1.5 192.168.1.0/24nmap --exclude 192.168.1.5 192.168.1.0/24nmap -sS -sV 192.168.1.1

Thank you for Reading This content.I hope you got some Knowledge from this post.Grow your Knowledge with medium.

Read Entire Article