0% found this document useful (0 votes)
30 views1 page

Nmap Komande

The document provides examples of nmap commands for scanning targets, ports, services, and operating systems. It lists 30 commands that scan single IPs, ranges, subnets, ports, services, scripts, and more. The commands follow the general syntax of nmap with options for the scan type, ports, scripts, and output format, followed by the target.
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)
30 views1 page

Nmap Komande

The document provides examples of nmap commands for scanning targets, ports, services, and operating systems. It lists 30 commands that scan single IPs, ranges, subnets, ports, services, scripts, and more. The commands follow the general syntax of nmap with options for the scan type, ports, scripts, and output format, followed by the target.
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/ 1

Syntax: nmap <scan type> <options> <target>

S.No Title Command Syntax POC (click to enlarge)


Target Selection
1 Scan a single IP nmap 192.168.20.128 Nmap Commands
2 Scan a host nmap www.example.com Nmap Commands
3 Scan a range of IPs nmap 192.168.20.120-128 Nmap Commands
4 Scan a subnet nmap 192.168.20.2/24 Nmap Commands
5 Scan targets from Text file nmap -iL ips.txt Nmap Commands
Port Selection
6 Scan a single port nmap -p 22 192.168.20.128 Nmap Commands
7 Scan a range of ports nmap -p 1-100 192.168.20.128 Nmap Commands
8 Scan 100 common ports nmap -F 192.168.20.128 Nmap Commands
9 Scan all ports nmap -p- 192.168.20.128 Nmap Commands
10 Specify UDP or TCP scan nmap -p U:137,T:139 192.168.20.128 Nmap
Commands
Scan Types
11 Scan using TCP connect nmap -sT 192.168.20.128 Nmap Commands
12 Scan using TCP SYN scan nmap -sS 192.168.20.128 Nmap Commands
13 Scan UDP ports nmap -sU -p 123,161,162 192.168.20.128 Nmap Commands
14 Scan Selected ports (Ignore Discovery) nmap -Pn -F 192.168.20.128 Nmap
Commands
Service and OS Detection
15 Detect OS and Services nmap -A 192.168.20.128 Nmap Commands
16 Standard service detection nmap -sV 192.168.20.128 Nmap Commands
17 Aggressive service detection nmap -sV –version-intensity 5 192.168.20.128
Nmap Commands
Output Formats
18 Save default output to file nmap -oN result.txt 192.168.20.128 Nmap
Commands
19 Save results as XML nmap -oX resultxml.xml 192.168.20.128 Nmap
Commands
20 Save formatted results (Grep) nmap -oG formattable.txt 192.168.20.128
Nmap Commands
21 Save in all formats nmap -oA allformats 192.168.20.128 Nmap Commands
Scripting Engine
22 Scan using default safe scripts nmap -sV -sC 192.168.20.128 Nmap
Commands
23 Get help for a script nmap –script-help=ssl-heartbleed Nmap Commands
24 Scan using a specific script nmap -sV -p 443 -script=ssl-heartbleed
192.168.20.133 Nmap Commands
25 Update script database nmap –script-updatedb Nmap Commands
Some Useful NSE Scripts
26 Scan for UDP DDOS reflectors nmap -sU -A -PN -n -pU:19,53,123,161 -
script=ntp-monlist,dns-recursion,snmp-sysdescr 192.168.20.2/24 Nmap Commands
27 Gather page titles from HTTP Servers nmap –script=http-title
192.168.20.128 Nmap Commands
28 Get HTTP headers of web services nmap –script=http-headers 192.168.20.128
Nmap Commands
29 Find web apps from known paths nmap –script=http-enum 192.168.20.128
Nmap Commands
30 Find exposed Netbios servers nmap -sU –script nbtstat.nse -p 137
192.168.20.128

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy