mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
All 4 example schemas rebuilt with the examples field and expanded argument coverage: nmap (33 args), ping (19 args), git (76 args), curl (50 args). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
569 lines
15 KiB
JSON
569 lines
15 KiB
JSON
{
|
|
"tool": "nmap",
|
|
"binary": "nmap",
|
|
"description": "Network exploration tool and security/port scanner.",
|
|
"subcommands": null,
|
|
"arguments": [
|
|
{
|
|
"name": "TCP SYN Scan",
|
|
"flag": "-sS",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "TCP SYN scan (stealth scan, requires root/admin 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 (full three-way handshake, no root required)",
|
|
"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 (can be combined with TCP scan types)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": "scan_type",
|
|
"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 — disable port scan, only check if hosts are online",
|
|
"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": "Treat all hosts as online — skip host discovery",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "No DNS Resolution",
|
|
"flag": "-n",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Never do DNS resolution (speeds up scans)",
|
|
"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": "Trace hop path to each host",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Port Specification",
|
|
"flag": "-p",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Port ranges to scan (e.g. 22, 80,443, 1-1024, U:53,T:25)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": "^[0-9TUtu:,\\-\\s]+$",
|
|
"examples": ["22", "80,443", "1-1024", "1-65535", "U:53,T:21-25,80"]
|
|
},
|
|
{
|
|
"name": "Fast Scan",
|
|
"flag": "-F",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Fast mode — scan only the 100 most common ports",
|
|
"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 the N most common ports",
|
|
"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 service/version info",
|
|
"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": "Set version scan intensity (0-9, higher is more aggressive)",
|
|
"required": false,
|
|
"default": 7,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "-sV",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "OS Detection",
|
|
"flag": "-O",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Enable OS detection",
|
|
"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": "Enable OS detection, version detection, script scanning, and traceroute",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "NSE Scripts",
|
|
"flag": "--script",
|
|
"short_flag": "-sC",
|
|
"type": "string",
|
|
"description": "Run NSE scripts — specify categories, script names, or directories (comma-separated)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["default", "vuln", "auth", "safe", "discovery", "http-title", "ssl-enum-ciphers", "smb-os-discovery", "default,safe", "vuln,exploit"]
|
|
},
|
|
{
|
|
"name": "Script Arguments",
|
|
"flag": "--script-args",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Arguments to pass to NSE scripts as comma-separated key=value pairs",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": "--script",
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["user=admin,pass=secret", "http.useragent=Mozilla/5.0", "vulns.showall"]
|
|
},
|
|
{
|
|
"name": "Timing Template",
|
|
"flag": "-T",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Set timing template (0=paranoid, 1=sneaky, 2=polite, 3=normal, 4=aggressive, 5=insane)",
|
|
"required": false,
|
|
"default": "3",
|
|
"choices": ["0", "1", "2", "3", "4", "5"],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Min Packet Rate",
|
|
"flag": "--min-rate",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Send packets no slower than this many per second",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Max Packet Rate",
|
|
"flag": "--max-rate",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Send packets no faster than this many per second",
|
|
"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": "Fragment packets to evade firewalls and IDS",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Decoy Scan",
|
|
"flag": "-D",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Cloak scan with decoys (comma-separated list of decoy IPs, use ME for your position)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["RND:10", "192.168.1.1,192.168.1.2,ME", "RND:5,ME"]
|
|
},
|
|
{
|
|
"name": "Append Random Data",
|
|
"flag": "--data-length",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Append random data of given length to sent packets",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "IPv6 Scanning",
|
|
"flag": "-6",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Enable IPv6 scanning",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Input from File",
|
|
"flag": "-iL",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Read target hosts/networks from a file (one per line)",
|
|
"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": "Exclude hosts/networks from the scan (comma-separated)",
|
|
"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/24", "192.168.1.1,192.168.1.2"]
|
|
},
|
|
{
|
|
"name": "Verbosity",
|
|
"flag": "-v",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Increase verbosity level (can be repeated: -vv for more)",
|
|
"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": "Display the reason a port is in a particular state",
|
|
"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 open or possibly open ports",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Normal Output File",
|
|
"flag": "-oN",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Write output in normal format to the given 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 File",
|
|
"flag": "-oX",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Write output in XML format to the given file",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "Grepable Output File",
|
|
"flag": "-oG",
|
|
"short_flag": null,
|
|
"type": "file",
|
|
"description": "Write output in grepable format to the given file",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null
|
|
},
|
|
{
|
|
"name": "All Output Formats",
|
|
"flag": "-oA",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Output in normal, XML, and grepable formats using the given basename",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": ["scan_results", "output/nmap_scan"]
|
|
},
|
|
{
|
|
"name": "Target",
|
|
"flag": "TARGET",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Target host(s) — IP address, hostname, CIDR range, or space-separated list",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": ["192.168.1.1", "scanme.nmap.org", "192.168.1.0/24", "10.0.0.1-254"]
|
|
}
|
|
]
|
|
} |