mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
2002 lines
53 KiB
JSON
2002 lines
53 KiB
JSON
{
|
|
"_format": "scaffold_schema",
|
|
"tool": "nmap",
|
|
"binary": "nmap",
|
|
"description": "Network exploration tool and security/port scanner.",
|
|
"elevated": "optional",
|
|
"subcommands": null,
|
|
"_coverage": "full",
|
|
"arguments": [
|
|
{
|
|
"name": "Input from List",
|
|
"flag": "-iL",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read targets from a file instead of typing them on the command line. One host or network per line.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Random Targets",
|
|
"flag": "-iR",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Scan a given number of randomly chosen targets from the internet.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Exclude Hosts",
|
|
"flag": "--exclude",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Skip these hosts or networks during the scan.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"192.168.1.1",
|
|
"10.0.0.0/8",
|
|
"host1,host2,host3"
|
|
]
|
|
},
|
|
{
|
|
"name": "Exclude File",
|
|
"flag": "--excludefile",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read a list of hosts to exclude from a file.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "List Scan",
|
|
"flag": "-sL",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "List targets without scanning them. Useful for verifying which hosts would be scanned.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Ping Scan",
|
|
"flag": "-sn",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Ping scan only -- check which hosts are online without scanning their ports.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Skip Host Discovery",
|
|
"flag": "-Pn",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Skip host discovery and treat all targets as online. Useful when ICMP ping is blocked.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TCP SYN Discovery",
|
|
"flag": "-PS",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Discover hosts by sending a TCP SYN packet to the specified ports.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"22",
|
|
"80,443",
|
|
"22-25,80"
|
|
]
|
|
},
|
|
{
|
|
"name": "TCP ACK Discovery",
|
|
"flag": "-PA",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Discover hosts by sending a TCP ACK packet to the specified ports.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"80",
|
|
"80,443"
|
|
]
|
|
},
|
|
{
|
|
"name": "UDP Discovery",
|
|
"flag": "-PU",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Discover hosts by sending a UDP packet to the specified ports.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"53",
|
|
"53,161"
|
|
]
|
|
},
|
|
{
|
|
"name": "SCTP Discovery",
|
|
"flag": "-PY",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Discover hosts by sending an SCTP INIT packet to the specified ports.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"80",
|
|
"80,443"
|
|
]
|
|
},
|
|
{
|
|
"name": "ICMP Echo Discovery",
|
|
"flag": "-PE",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Discover hosts using ICMP echo requests (standard ping).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "ICMP Timestamp Discovery",
|
|
"flag": "-PP",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Discover hosts using ICMP timestamp requests. Useful when echo requests are blocked.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "ICMP Netmask Discovery",
|
|
"flag": "-PM",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Discover hosts using ICMP netmask requests. Another alternative when echo requests are blocked.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "IP Protocol Ping",
|
|
"flag": "-PO",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Discover hosts by sending IP packets with the specified protocol numbers.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"1,2,4"
|
|
]
|
|
},
|
|
{
|
|
"name": "No DNS Resolution",
|
|
"flag": "-n",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Skip DNS lookups. Makes the scan faster when you don't need hostnames.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "dns_resolution",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Always Resolve DNS",
|
|
"flag": "-R",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Always resolve hostnames to DNS, even for offline hosts.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "dns_resolution",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "DNS Servers",
|
|
"flag": "--dns-servers",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Use specific DNS servers for hostname lookups instead of your system defaults.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"8.8.8.8",
|
|
"8.8.8.8,8.8.4.4"
|
|
]
|
|
},
|
|
{
|
|
"name": "System DNS",
|
|
"flag": "--system-dns",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Use your operating system's DNS resolver instead of nmap's built-in one.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Traceroute",
|
|
"flag": "--traceroute",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show the network path (hops) to each target host.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TCP SYN Scan",
|
|
"flag": "-sS",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "SYN scan -- fast stealth scan that doesn't complete TCP connections. Requires elevated privileges.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TCP Connect Scan",
|
|
"flag": "-sT",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "TCP connect scan -- completes the full TCP handshake. Slower but doesn't need root.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TCP ACK Scan",
|
|
"flag": "-sA",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Send ACK packets to determine which ports are filtered by a firewall. Does not find open ports.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TCP Window Scan",
|
|
"flag": "-sW",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Like ACK scan but uses TCP window size to tell open from closed ports on some systems.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TCP Maimon Scan",
|
|
"flag": "-sM",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Send FIN/ACK packets to probe ports. Works against some BSD-based systems.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "UDP Scan",
|
|
"flag": "-sU",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "UDP scan -- scans UDP ports. Much slower than TCP scans. Can be combined with a TCP scan type.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TCP Null Scan",
|
|
"flag": "-sN",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Send TCP packets with no flags set. Can slip past some firewalls that only watch for SYN packets.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TCP FIN Scan",
|
|
"flag": "-sF",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Send TCP packets with only the FIN flag. Can bypass some firewalls that only look for SYN packets.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TCP Xmas Scan",
|
|
"flag": "-sX",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Send TCP packets with FIN, PSH, and URG flags set. Another way to sneak past certain firewalls.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Custom Scan Flags",
|
|
"flag": "--scanflags",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Build a custom TCP scan by choosing exactly which TCP flags to set.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"URG,ACK,PSH,RST,SYN,FIN",
|
|
"21"
|
|
]
|
|
},
|
|
{
|
|
"name": "Idle Scan",
|
|
"flag": "-sI",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Scan through an idle 'zombie' host so the target never sees your real IP address.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"zombie.example.com",
|
|
"zombie.example.com:8080"
|
|
]
|
|
},
|
|
{
|
|
"name": "SCTP INIT Scan",
|
|
"flag": "-sY",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Scan SCTP ports by sending an INIT packet. Similar to TCP SYN scan but for the SCTP protocol.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "SCTP COOKIE-ECHO Scan",
|
|
"flag": "-sZ",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Scan SCTP ports using COOKIE-ECHO packets. More stealthy than INIT scan but less reliable.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "IP Protocol Scan",
|
|
"flag": "-sO",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Find which IP protocols (TCP, UDP, ICMP, etc.) the target supports, rather than scanning ports.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "FTP Bounce Scan",
|
|
"flag": "-b",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Scan through a misconfigured FTP server to hide your identity. Rarely works on modern servers.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"ftp.example.com"
|
|
]
|
|
},
|
|
{
|
|
"name": "Port Specification",
|
|
"flag": "-p",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Port range to scan. Examples: '80' (single port), '1-1000' (range), '80,443,8080' (list), '-' (all 65535 ports).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"80",
|
|
"443",
|
|
"1-1000",
|
|
"1-65535",
|
|
"22,80,443,8080"
|
|
]
|
|
},
|
|
{
|
|
"name": "Exclude Ports",
|
|
"flag": "--exclude-ports",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Skip these ports during the scan.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"22",
|
|
"80,443"
|
|
]
|
|
},
|
|
{
|
|
"name": "Fast Mode",
|
|
"flag": "-F",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Scan only the 100 most common ports instead of the default 1,000.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Sequential Ports",
|
|
"flag": "-r",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Scan ports in order (1, 2, 3...) instead of randomizing. Useful for predictable progress.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Top Ports",
|
|
"flag": "--top-ports",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Scan only the N most commonly used ports.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Port Ratio",
|
|
"flag": "--port-ratio",
|
|
"short_flag": null,
|
|
"type": "float",
|
|
"description": "Scan ports that are more common than the given ratio (between 0 and 1).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Service Version Detection",
|
|
"flag": "-sV",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Probe open ports to determine what service and version is running.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Version Intensity",
|
|
"flag": "--version-intensity",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Control how hard nmap tries to identify services. 0 = light (fast), 9 = try everything (slow).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-sV",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Version Light",
|
|
"flag": "--version-light",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Use only the most likely probes for version detection (intensity 2). Faster but less accurate.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-sV",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Version All",
|
|
"flag": "--version-all",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Try every probe for version detection (intensity 9). Most thorough but slowest.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-sV",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Version Trace",
|
|
"flag": "--version-trace",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show detailed version scan activity for debugging purposes.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-sV",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Default Scripts",
|
|
"flag": "-sC",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Run default NSE scripts. Same as --script=default.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Script",
|
|
"flag": "--script",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Run NSE scripts against targets. Use script categories (like 'vuln' or 'safe') or specific script names.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "equals",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"vuln",
|
|
"safe",
|
|
"default",
|
|
"discovery",
|
|
"auth",
|
|
"brute",
|
|
"http-title"
|
|
]
|
|
},
|
|
{
|
|
"name": "Script Arguments",
|
|
"flag": "--script-args",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Pass arguments to NSE scripts as key=value pairs separated by commas.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--script",
|
|
"repeatable": false,
|
|
"separator": "equals",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"user=admin,pass=secret",
|
|
"http.useragent=Mozilla"
|
|
]
|
|
},
|
|
{
|
|
"name": "Script Arguments File",
|
|
"flag": "--script-args-file",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Load NSE script arguments from a file instead of typing them on the command line.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--script",
|
|
"repeatable": false,
|
|
"separator": "equals",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Script Trace",
|
|
"flag": "--script-trace",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show all network data sent and received by scripts. Useful for debugging script issues.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--script",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Script Update DB",
|
|
"flag": "--script-updatedb",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Rebuild the NSE script database. Run this after adding or removing scripts.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Script Help",
|
|
"flag": "--script-help",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Show documentation for the specified scripts or script categories.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "equals",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"default",
|
|
"http-*"
|
|
]
|
|
},
|
|
{
|
|
"name": "OS Detection",
|
|
"flag": "-O",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Attempt to detect the target's operating system. Requires elevated privileges.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "OS Scan Limit",
|
|
"flag": "--osscan-limit",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Only attempt OS detection on hosts that have at least one open and one closed port.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-O",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "OS Scan Guess",
|
|
"flag": "--osscan-guess",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Make more aggressive guesses about the target OS when an exact match isn't found.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-O",
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Timing Template",
|
|
"flag": "-T",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Scan speed. 0 = paranoid/slowest, 3 = normal (default), 5 = insane/fastest. Higher values are louder on the network.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": [
|
|
"0",
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5"
|
|
],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Min Host Group",
|
|
"flag": "--min-hostgroup",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Minimum number of hosts to scan at the same time.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Max Host Group",
|
|
"flag": "--max-hostgroup",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Maximum number of hosts to scan at the same time.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Min Parallelism",
|
|
"flag": "--min-parallelism",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Minimum number of probes to send in parallel.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Max Parallelism",
|
|
"flag": "--max-parallelism",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Maximum number of probes to send in parallel. Lower values reduce network load.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Min RTT Timeout",
|
|
"flag": "--min-rtt-timeout",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Minimum time to wait for a probe response. Prevents nmap from giving up too quickly on slow networks.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"100ms",
|
|
"1s"
|
|
]
|
|
},
|
|
{
|
|
"name": "Max RTT Timeout",
|
|
"flag": "--max-rtt-timeout",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Maximum time to wait for a probe response before giving up.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"500ms",
|
|
"5s"
|
|
]
|
|
},
|
|
{
|
|
"name": "Initial RTT Timeout",
|
|
"flag": "--initial-rtt-timeout",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Starting timeout value for the first probe. Nmap adjusts this automatically as it learns the network speed.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"250ms",
|
|
"1s"
|
|
]
|
|
},
|
|
{
|
|
"name": "Max Retries",
|
|
"flag": "--max-retries",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Maximum number of times to resend a probe that got no response.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Host Timeout",
|
|
"flag": "--host-timeout",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Give up on a host if the scan takes longer than this. Useful for skipping very slow hosts.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"30m",
|
|
"1h",
|
|
"900s"
|
|
]
|
|
},
|
|
{
|
|
"name": "Scan Delay",
|
|
"flag": "--scan-delay",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Wait at least this long between each probe. Useful for rate-limited or sensitive targets.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"1s",
|
|
"500ms"
|
|
]
|
|
},
|
|
{
|
|
"name": "Max Scan Delay",
|
|
"flag": "--max-scan-delay",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Maximum delay between probes, even when nmap wants to slow down further.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"10s",
|
|
"1m"
|
|
]
|
|
},
|
|
{
|
|
"name": "Min Rate",
|
|
"flag": "--min-rate",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Send at least this many packets per second, regardless of network conditions.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Max Rate",
|
|
"flag": "--max-rate",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Send no more than this many packets per second. Useful for avoiding network disruption.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Fragment Packets",
|
|
"flag": "-f",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Split packets into tiny fragments to evade some firewalls and intrusion detection systems.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "MTU",
|
|
"flag": "--mtu",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Fragment packets to a specific size (must be a multiple of 8). Alternative to -f with more control.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Decoys",
|
|
"flag": "-D",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Send fake scans from decoy IP addresses alongside yours to hide your real address.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"decoy1,decoy2,ME",
|
|
"RND:10,ME"
|
|
]
|
|
},
|
|
{
|
|
"name": "Spoof Source Address",
|
|
"flag": "-S",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Fake the source IP address on outgoing packets. You won't see responses unless you also set -e.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"192.168.1.100"
|
|
]
|
|
},
|
|
{
|
|
"name": "Interface",
|
|
"flag": "-e",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Send packets through a specific network interface (e.g., eth0 or wlan0).",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"eth0",
|
|
"wlan0"
|
|
]
|
|
},
|
|
{
|
|
"name": "Source Port",
|
|
"flag": "--source-port",
|
|
"short_flag": "-g",
|
|
"type": "integer",
|
|
"description": "Send packets from a specific source port number. Some firewalls allow traffic from certain ports like 53 or 80.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Proxies",
|
|
"flag": "--proxies",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Route scan traffic through HTTP or SOCKS4 proxy servers.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"http://proxy:8080",
|
|
"socks4://proxy:1080"
|
|
]
|
|
},
|
|
{
|
|
"name": "Data Hex",
|
|
"flag": "--data",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Append custom hex data to outgoing packets.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"deadbeef"
|
|
]
|
|
},
|
|
{
|
|
"name": "Data String",
|
|
"flag": "--data-string",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Append a custom text string to outgoing packets.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Data Length",
|
|
"flag": "--data-length",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Pad packets with random data to the given length. Helps disguise scan traffic.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "IP Options",
|
|
"flag": "--ip-options",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Set custom IP header options on outgoing packets. Advanced networking feature.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "TTL",
|
|
"flag": "--ttl",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Set the time-to-live (hop limit) for outgoing packets.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Spoof MAC",
|
|
"flag": "--spoof-mac",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Fake your MAC address. Use a specific address, a vendor name, or 0 for a random one.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"00:11:22:33:44:55",
|
|
"Apple",
|
|
"0"
|
|
]
|
|
},
|
|
{
|
|
"name": "Bad Checksum",
|
|
"flag": "--badsum",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Send packets with intentionally bad checksums. Useful for testing firewall/IDS behavior.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Normal Output",
|
|
"flag": "-oN",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Save scan results in normal text format to a file.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "XML Output",
|
|
"flag": "-oX",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Save scan results in XML format to a file. Useful for importing into other tools.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Script Kiddie Output",
|
|
"flag": "-oS",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Save scan results in 'script kiddie' format (leet-speak). Mostly a novelty.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Grepable Output",
|
|
"flag": "-oG",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Save scan results in a grep-friendly format, with one host per line.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Output All Formats",
|
|
"flag": "-oA",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Save scan results in normal, XML, and grepable formats at once using the given base filename.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": [
|
|
"scan_results"
|
|
]
|
|
},
|
|
{
|
|
"name": "Verbosity",
|
|
"flag": "-v",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Increase output verbosity. Can be stacked (-v -v) for more detail.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Debugging",
|
|
"flag": "-d",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show debugging output. Can be stacked (-d -d) for even more detail.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Reason",
|
|
"flag": "--reason",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show why each port is reported as open, closed, or filtered.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Open Ports Only",
|
|
"flag": "--open",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Only show ports that are open (or possibly open). Hides closed and filtered ports.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Packet Trace",
|
|
"flag": "--packet-trace",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show every packet sent and received. Very verbose, mainly for debugging.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Interface List",
|
|
"flag": "--iflist",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Print your network interfaces and routing table, then exit. Useful for troubleshooting.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Append Output",
|
|
"flag": "--append-output",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Add results to the end of output files instead of overwriting them.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Resume Scan",
|
|
"flag": "--resume",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Continue a previously interrupted scan from where it left off.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Non-Interactive",
|
|
"flag": "--noninteractive",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Disable keyboard shortcuts during the scan. Useful when running nmap in scripts.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Stylesheet",
|
|
"flag": "--stylesheet",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Apply an XSL stylesheet to transform XML output into HTML for viewing in a browser.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Web XML Stylesheet",
|
|
"flag": "--webxml",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Use the default stylesheet from nmap.org so XML output can be viewed as HTML in any browser.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "xml_stylesheet",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "No Stylesheet",
|
|
"flag": "--no-stylesheet",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Don't include any XSL stylesheet reference in XML output.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "xml_stylesheet",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "IPv6",
|
|
"flag": "-6",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Scan using IPv6 instead of IPv4.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Aggressive Scan",
|
|
"flag": "-A",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Aggressive scan -- enables OS detection, version detection, script scanning, and traceroute all at once.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Data Directory",
|
|
"flag": "--datadir",
|
|
"short_flag": null,
|
|
"type": "directory",
|
|
"description": "Tell nmap where to find its data files (service probes, scripts, etc.) instead of the default location.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Send Ethernet",
|
|
"flag": "--send-eth",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Send packets at the raw ethernet layer instead of the IP layer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "send_method",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Send IP",
|
|
"flag": "--send-ip",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Send packets at the IP layer instead of the raw ethernet layer.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "send_method",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Privileged",
|
|
"flag": "--privileged",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Tell nmap to assume you have root/admin privileges, even if it can't detect them.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "privilege_mode",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Unprivileged",
|
|
"flag": "--unprivileged",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Tell nmap to assume you don't have root/admin privileges. Only unprivileged scan types will be used.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "privilege_mode",
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Version",
|
|
"flag": "-V",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Print the nmap version number and exit.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Help",
|
|
"flag": "-h",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show a summary of all nmap options and exit.",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Target Specification",
|
|
"flag": "TARGET",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "IP address, hostname, or CIDR range to scan. Examples: '192.168.1.1', 'scanme.nmap.org', '10.0.0.0/24'.",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": [
|
|
"192.168.1.1",
|
|
"192.168.1.0/24",
|
|
"10.0.0.0/8",
|
|
"scanme.nmap.org"
|
|
]
|
|
}
|
|
]
|
|
}
|