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

Adds a fingerprint for BEA/Oracle WebLogic Server Console 9.x

This commit is contained in:
nnposter
2016-10-31 19:14:49 +00:00
parent cbc791973e
commit 1e995e1577
2 changed files with 25 additions and 1 deletions

View File

@@ -321,6 +321,30 @@ table.insert(fingerprints, {
end
})
table.insert(fingerprints, {
-- Version 9.2
name = "WebLogic Server Console 9.x",
category = "web",
paths = {
{path = "/console/"}
},
target_check = function (host, port, path, response)
local loc = response.header["location"] or ""
return response.status == 302
and loc:find("/console/login/LoginForm%.jsp;")
end,
login_combos = {
{username = "weblogic", password = "weblogic"}
},
login_check = function (host, port, path, user, pass)
local req = http_post_simple(host, port,
url.absolute(path, "j_security_check"), nil,
{j_username=user,j_password=pass,j_character_encoding="UTF-8"})
local loc = req.header["location"] or ""
return req.status == 302 and loc:find("/console;")
end
})
table.insert(fingerprints, {
-- Version 4.1.31, 6.0.24, 7.0.54
name = "Apache Tomcat",