nmap: Use portable version as default

This commit is contained in:
Rashil Gandhi 2021-12-20 01:26:33 +05:30
parent 992140b39d
commit 3504b0cd59
No known key found for this signature in database
GPG Key ID: 0AF22EDF6BE85BBD
3 changed files with 60 additions and 59 deletions

View File

@ -1,44 +0,0 @@
{
"version": "7.92",
"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-oem.exe'!",
"Please import the network performance improvements by running 'regedt32 \"$dir\\nmap_performance.reg\"'",
"See: https://nmap.org/book/inst-windows.html"
],
"suggest": {
"Visual C++ Redist 2008": "extras/vcredist2008"
},
"url": "https://nmap.org/dist/nmap-7.92-setup.exe#/dl.7z",
"hash": "b2400db1a4af9607fdd6ee50e0f5926d8b9272f89eec93d4c30b56dc854afb7a",
"pre_install": [
"Get-ChildItem \"$dir\\`$PLUGINSDIR\\npcap-*.exe\" | Select-Object -First 1 | Rename-Item -NewName 'npcap-oem.exe'",
"Move-Item \"$dir\\`$PLUGINSDIR\\npcap-oem.exe\" \"$dir\"",
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall.exe\" -Recurse"
],
"bin": [
"nmap.exe",
"ncat.exe",
"ndiff.exe",
"zenmap.exe",
"nping.exe"
],
"shortcuts": [
[
"zenmap.exe",
"Nmap - Zenmap GUI"
]
],
"checkver": {
"url": "https://nmap.org/download.html",
"regex": "nmap-([\\d.]+)-setup\\.exe"
},
"autoupdate": {
"url": "https://nmap.org/dist/nmap-$version-setup.exe#/dl.7z"
}
}

View File

@ -1,24 +1,27 @@
{
"version": "7.92",
"description": "Network exploration and security auditing utility. (includes Npcap)",
"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": "'Npcap' has been installed automatically.",
"url": "https://nmap.org/dist/nmap-7.92-setup.exe",
"notes": [
"Please install 'Npcap' by manually running '$dir\\npcap.exe', otherwise Nmap will not function completely!",
"This however, requires administrator rights.",
"Please import the network performance improvements by running 'regedt32 \"$dir\\nmap_performance.reg\"'",
"See: https://nmap.org/book/inst-windows.html"
],
"suggest": {
"Visual C++ Redist 2008": "extras/vcredist2008"
},
"url": "https://nmap.org/dist/nmap-7.92-setup.exe#/dl.7z",
"hash": "b2400db1a4af9607fdd6ee50e0f5926d8b9272f89eec93d4c30b56dc854afb7a",
"installer": {
"args": [
"/S",
"/D=$dir"
]
},
"uninstaller": {
"file": "Uninstall.exe",
"args": "/S"
},
"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",
@ -29,7 +32,7 @@
"shortcuts": [
[
"zenmap.exe",
"Nmap - Zenmap GUI"
"Zenmap - Nmap GUI"
]
],
"checkver": {
@ -37,6 +40,6 @@
"regex": "nmap-([\\d.]+)-setup\\.exe"
},
"autoupdate": {
"url": "https://nmap.org/dist/nmap-$version-setup.exe"
"url": "https://nmap.org/dist/nmap-$version-setup.exe#/dl.7z"
}
}

42
deprecated/nmap.json Normal file
View File

@ -0,0 +1,42 @@
{
"version": "7.92",
"description": "Network exploration and security auditing utility. (includes Npcap)",
"homepage": "https://nmap.org",
"license": {
"identifier": "GPL-2.0-only",
"url": "https://github.com/nmap/nmap/blob/master/COPYING"
},
"notes": "'Npcap' has been installed automatically.",
"url": "https://nmap.org/dist/nmap-7.92-setup.exe",
"hash": "b2400db1a4af9607fdd6ee50e0f5926d8b9272f89eec93d4c30b56dc854afb7a",
"installer": {
"args": [
"/S",
"/D=$dir"
]
},
"uninstaller": {
"file": "Uninstall.exe",
"args": "/S"
},
"bin": [
"nmap.exe",
"ncat.exe",
"ndiff.exe",
"zenmap.exe",
"nping.exe"
],
"shortcuts": [
[
"zenmap.exe",
"Nmap - Zenmap GUI"
]
],
"checkver": {
"url": "https://nmap.org/download.html",
"regex": "nmap-([\\d.]+)-setup\\.exe"
},
"autoupdate": {
"url": "https://nmap.org/dist/nmap-$version-setup.exe"
}
}