Skip to content

Commit

Permalink
Update to nmap-7.92.
Browse files Browse the repository at this point in the history
  • Loading branch information
arthepsy committed Oct 5, 2021
1 parent 51f3af3 commit 9eb8ba6
Show file tree
Hide file tree
Showing 7 changed files with 196 additions and 145 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -23,7 +23,7 @@ ncat-7.80.x86.tar.gz nmap-7.80.x86.tar.gz nping-7.80.x86.tar.gz
| | versions | features | x86 | x64 |
| ---------------|------------------------------------------------------------------------|--------------------|-------------|-------------|
| openssl | [`1.0.2-bad`](https://github.com/drwetter/openssl-1.0.2.bad), `1.1.1h` | `zlib`, `weak-ssl` | static | static |
| nmap | `7.91`, `HEAD` | `bad-ssl`, `weak-ssl`, integrates [`nmap-vulners`](https://github.com/vulnersCom/nmap-vulners), run script | static | static |
| nmap | `7.92`, `HEAD` | `bad-ssl`, `weak-ssl`, integrates [`nmap-vulners`](https://github.com/vulnersCom/nmap-vulners), run script | static | static |
| socat | `1.7.3.4` | `ssl`, `weak-ssl` | static | static |
| masscan | `1.3.2`, `HEAD` | includes `libpcap` | GLIBC_2.7 | GLIBC_2.7 |
| proxychains-ng | `4.14`, `HEAD` | | GLIBC_2.9 | GLIBC_2.9 |
Expand Down
247 changes: 124 additions & 123 deletions nmap/files/nmap-vulners/http-vulners-paths.txt
@@ -1,124 +1,125 @@
default.asp
default.aspx
default.cfm
default.cgi
default.html
default.jhtml
default.jsa
default.jsp
default.php
default.pl
default.shtml
home.asp
home.aspx
home.cfm
home.cgi
home.html
home.jhtml
home.jsa
home.jsp
home.php
home.pl
home.shtml
index.asp
index.aspx
index.cfm
index.cgi
index.html
index.jhtml
index.jsa
index.jsp
index.php
index.pl
index.shtml
menu.asp
menu.aspx
menu.cfm
menu.cgi
menu.html
menu.jhtml
menu.jsa
menu.jsp
menu.php
menu.pl
menu.shtml
main.asp
main.aspx
main.cfm
main.cgi
main.html
main.jhtml
main.jsa
main.jsp
main.php
main.pl
main.shtml
start.asp
start.aspx
start.cfm
start.cgi
start.html
start.jhtml
start.jsa
start.jsp
start.php
start.pl
start.shtml
localstart.asp
localstart.aspx
localstart.cfm
localstart.cgi
localstart.html
localstart.jhtml
localstart.jsa
localstart.jsp
localstart.php
localstart.pl
localstart.shtml
inicio.asp
inicio.aspx
inicio.cfm
inicio.cgi
inicio.html
inicio.jhtml
inicio.jsa
inicio.jsp
inicio.php
inicio.pl
inicio.shtml
indice.asp
indice.aspx
indice.cfm
indice.cgi
indice.html
indice.jhtml
indice.jsa
indice.jsp
indice.php
indice.pl
indice.shtml
base.asp
base.aspx
base.cfm
base.cgi
base.html
base.inc
base.jhtml
base.jsa
base.jsp
base.php
base.pl
base.shtml
admin.asp
admin.aspx
admin.cfm
admin.cgi
admin.html
admin.jhtml
admin.jsa
admin.jsp
admin.php
admin.pl
admin.shtml
readme.txt
robots.txt
/default.asp
/default.aspx
/default.cfm
/default.cgi
/default.html
/default.jhtml
/default.jsa
/default.jsp
/default.php
/default.pl
/default.shtml
/home.asp
/home.aspx
/home.cfm
/home.cgi
/home.html
/home.jhtml
/home.jsa
/home.jsp
/home.php
/home.pl
/home.shtml
/index.asp
/index.aspx
/index.cfm
/index.cgi
/index.html
/index.jhtml
/index.jsa
/index.jsp
/index.php
/index.pl
/index.shtml
/menu.asp
/menu.aspx
/menu.cfm
/menu.cgi
/menu.html
/menu.jhtml
/menu.jsa
/menu.jsp
/menu.php
/menu.pl
/menu.shtml
/main.asp
/main.aspx
/main.cfm
/main.cgi
/main.html
/main.jhtml
/main.jsa
/main.jsp
/main.php
/main.pl
/main.shtml
/start.asp
/start.aspx
/start.cfm
/start.cgi
/start.html
/start.jhtml
/start.jsa
/start.jsp
/start.php
/start.pl
/start.shtml
/localstart.asp
/localstart.aspx
/localstart.cfm
/localstart.cgi
/localstart.html
/localstart.jhtml
/localstart.jsa
/localstart.jsp
/localstart.php
/localstart.pl
/localstart.shtml
/inicio.asp
/inicio.aspx
/inicio.cfm
/inicio.cgi
/inicio.html
/inicio.jhtml
/inicio.jsa
/inicio.jsp
/inicio.php
/inicio.pl
/inicio.shtml
/indice.asp
/indice.aspx
/indice.cfm
/indice.cgi
/indice.html
/indice.jhtml
/indice.jsa
/indice.jsp
/indice.php
/indice.pl
/indice.shtml
/base.asp
/base.aspx
/base.cfm
/base.cgi
/base.html
/base.inc
/base.jhtml
/base.jsa
/base.jsp
/base.php
/base.pl
/base.shtml
/admin.asp
/admin.aspx
/admin.cfm
/admin.cgi
/admin.html
/admin.jhtml
/admin.jsa
/admin.jsp
/admin.php
/admin.pl
/admin.shtml
/readme.txt
/robots.txt
2 changes: 1 addition & 1 deletion nmap/files/nmap-vulners/http-vulners-regex.json
Expand Up @@ -77,7 +77,7 @@
},
"Liferay, headers": {
"alias": "cpe:/a:liferay:liferay_portal",
"regex": "Liferay%-Portal:%s*[a-z%s]+([%d.]+)"
"regex": "Liferay%-Portal:%s*[a-zA-Z%s]+([%d.]+)"
},
"Monkey HTTP Server, headers": {
"alias": "cpe:/a:monkey-project:monkey_http_daemon",
Expand Down
3 changes: 2 additions & 1 deletion nmap/files/nmap-vulners/http-vulners-regex.nse
Expand Up @@ -99,7 +99,8 @@ function get_paths(paths_arg)
local default_paths_file = 'http-vulners-paths.txt'

if type(paths_arg) == 'table' then
return paths_arg
-- Just do nothing whether it has entries or is an empty one
do end
elseif type(paths_arg) == 'string' then
stdnse.debug1("Trying to read paths from a specified file " .. paths_arg)
paths_arg = get_paths_from_file(paths_arg)
Expand Down

0 comments on commit 9eb8ba6

Please sign in to comment.