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

Added an entry to http-default-accounts-fingerprints that detects F5 BIG-IP router. Patch by nnposter.

This commit is contained in:
sophron
2014-03-02 17:46:06 +00:00
parent a4a648a56b
commit a673b79aa6

View File

@@ -230,6 +230,26 @@ table.insert(fingerprints, {
end
})
table.insert(fingerprints, {
name = "F5 BIG-IP",
category = "routers",
paths = {
{path = "/tmui/login.jsp"}
},
target_check = function (host, port, path, response)
return response.status == 200
and response.header["f5-login-page"] == "true"
and response.body
and response.body:find("logmein.html",1,true)
end,
login_combos = {
{username = "admin", password = "admin"}
},
login_check = function (host, port, path, user, pass)
return try_http_post_login(host, port, path, "logmein.html", "login%.jsp%?msgcode=1", {username=user, passwd=pass})
end
})
---
--Digital recorders
---
@@ -249,4 +269,3 @@ table.insert(fingerprints, {
return try_http_basic_login(host, port, path, user, pass, true)
end
})