0% found this document useful (0 votes)
71 views2 pages

Nmap Commands

The document provides instructions for using various nmap scanning techniques. It outlines options for port scanning, operating system detection, timing controls, and using Nmap's scripting engine. These allow scanning entire subnets, excluding specific IPs, service version detection, and evading firewalls during scans.

Uploaded by

geeteshkr7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views2 pages

Nmap Commands

The document provides instructions for using various nmap scanning techniques. It outlines options for port scanning, operating system detection, timing controls, and using Nmap's scripting engine. These allow scanning entire subnets, excluding specific IPs, service version detection, and evading firewalls during scans.

Uploaded by

geeteshkr7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

msfadmin

nmap ip addres

nmap ip ip more then one

nmap 192.168.0/24 256 for full range

nmap -iL abc.txt

nmap 192.168.0/24 --exclude 192.168.132.189

nmap -Pn ip dont ping ping kiye bina chaly ga

nmap -sP 192.168.0/24 ping only scan kitne system live hai is se pta chaly ga

nmap --traceroute demo.testfire.net kitne router hain wo batata hai ap k or domain


k drmiyan

advanced scan options

nmap -sS ip tcp sys scan krta hai 3 way handshake

nmap -sT ip tcp connect scan

nmap -sF ip tcp fin scan finish scan

nmap -sX ip Xmass scan jb kuch ni chaly ga tb ye chaln gain

nmap ip -sU udp scan

nmap ip -sA acknodologment scan is se pta chal jaye ga wahn firewall chal rshi
hai ya ni

nmap ip --scan-delay 1s apni scaning dely b kr skrt hain

Port scanning options

nmap -F ip fast scan only 100 ports well know

nmap -p 80 ip scan specific ports single port

nmap ip -p22-30 22 se 30 tk port scan kry ga

nmap ip -p22,80,111 is se ye 3 ports scan kry ga

nmap ip -p http ye service chal rahi hai ya ni

nmap ip -p T:80 ye tcp ka port 80 scan kry ga

nmap ip -p- all scan

nmap ip --top-ports 10 jo top 10 ports hain wo scan kary ga


Operating System & serices detection

nmap -O ip Operating System detection

nmap -sV ip service version detection

Timing Options

nmap -T4 ip to (extremely slow ) t5 very fast and aggressive scan

Evading Firewall bypass firewall

nmap -f ip fragment prbes intp 8 bytes packets

nmap -oX scan.xml ip output save kry ga xml ki file me

nmap -oN ab.txt normal test

nmap ip -oS a script kiddy format

nmap script engine Nse

nmap --script default ip default script run hogi

nmap -6 ipv6

You might also like