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:
@@ -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
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user