1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 19:09:01 +00:00

Adds a fingerprint for Supermicro WPCM450 motherboard

This commit is contained in:
nnposter
2016-10-31 01:43:41 +00:00
parent b02c5ab801
commit ff20e36d3d

View File

@@ -1061,3 +1061,28 @@ table.insert(fingerprints, {
{user=user, password=pass})
end
})
table.insert(fingerprints, {
--Version 1.1 on Supermicro X7SB3
name = "Supermicro WPCM450",
category = "console",
paths = {
{path = "/"}
},
target_check = function (host, port, path, response)
return response.status == 200
and response.body
and response.body:find("ATEN International", 1, true)
and response.body:find("/cgi/login.cgi", 1, true)
end,
login_combos = {
{username = "ADMIN", password = "ADMIN"}
},
login_check = function (host, port, path, user, pass)
local req = http_post_simple(host, port, url.absolute(path, "cgi/login.cgi"),
nil, {name=user, pwd=pass})
return req.status == 200
and req.body
and req.body:find("../cgi/url_redirect.cgi?url_name=mainmenu", 1, true)
end
})