1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-18 05:29:02 +00:00

Adds a few trivial improvements to the http-default-accounts fingerprints

This commit is contained in:
nnposter
2016-08-19 19:14:51 +00:00
parent c3ab8da378
commit 0303ef5b59

View File

@@ -150,6 +150,7 @@ table.insert(fingerprints, {
}) })
table.insert(fingerprints, { table.insert(fingerprints, {
-- Version 4.1.31, 6.0.24, 7.0.54
name = "Apache Tomcat", name = "Apache Tomcat",
category = "web", category = "web",
paths = { paths = {
@@ -215,6 +216,7 @@ table.insert(fingerprints, {
}) })
table.insert(fingerprints, { table.insert(fingerprints, {
-- Version 0.4.4.6.1-alpha on SamuraiWTF 2.6
name = "BeEF", name = "BeEF",
category = "web", category = "web",
paths = { paths = {
@@ -222,6 +224,7 @@ table.insert(fingerprints, {
}, },
target_check = function (host, port, path, response) target_check = function (host, port, path, response)
return response.body return response.body
and response.body:find("BeEF", 1, true)
and response.body:lower():find("<title>beef authentication</title>", 1, true) and response.body:lower():find("<title>beef authentication</title>", 1, true)
end, end,
login_combos = { login_combos = {
@@ -412,6 +415,7 @@ table.insert(fingerprints, {
--Digital recorders --Digital recorders
--- ---
table.insert(fingerprints, { table.insert(fingerprints, {
-- UI Version 03.2 (4.8), 03.2 (5.5)
name = "Digital Sprite 2", name = "Digital Sprite 2",
category = "security", category = "security",
paths = { paths = {
@@ -419,6 +423,7 @@ table.insert(fingerprints, {
}, },
target_check = function (host, port, path, response) target_check = function (host, port, path, response)
return http_auth_realm(response) == "WebPage Configuration" return http_auth_realm(response) == "WebPage Configuration"
and response.header["server"] == "ADH-Web"
end, end,
login_combos = { login_combos = {
{username = "dm", password = "web"} {username = "dm", password = "web"}