{
    "version": "7.94",
    "description": "Network exploration and security auditing utility.",
    "homepage": "https://nmap.org",
    "license": {
        "identifier": "GPL-2.0-only",
        "url": "https://github.com/nmap/nmap/blob/master/COPYING"
    },
    "notes": [
        "Please install 'Npcap' by manually running '$dir\\npcap.exe', otherwise Nmap will not function completely!",
        "This however requires administrator rights because it will be installed in 'C:\\Program Files',",
        "(which can be removed through Control Panel) - see https://github.com/ScoopInstaller/Main/pull/466.",
        "Please import the network performance improvements by running 'regedt32 \"$dir\\nmap_performance.reg\"'",
        "See: https://nmap.org/book/inst-windows.html"
    ],
    "suggest": {
        "vcredist": "extras/vcredist2008"
    },
    "url": "https://nmap.org/dist/nmap-7.94-setup.exe#/dl.7z",
    "hash": "b99c4535e1603a2150e4dd97933b69bfddf23e8cceff5c36606ec0327c6f7193",
    "pre_install": [
        "Get-ChildItem \"$dir\\`$PLUGINSDIR\\npcap-*.exe\" | Select-Object -First 1 | Rename-Item -NewName 'npcap.exe'",
        "Move-Item \"$dir\\`$PLUGINSDIR\\npcap.exe\" \"$dir\"",
        "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall.exe\" -Recurse"
    ],
    "bin": [
        "nmap.exe",
        "ncat.exe",
        "ndiff.bat",
        "nping.exe"
    ],
    "checkver": {
        "url": "https://nmap.org/download.html",
        "regex": "nmap-([\\d.]+)-setup\\.exe"
    },
    "autoupdate": {
        "url": "https://nmap.org/dist/nmap-$version-setup.exe#/dl.7z"
    }
}
