mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Adds a fingerprint for Cisco EPC3925
This commit is contained in:
parent
96836c46d8
commit
4c9f86562a
2 changed files with 31 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ o Added service probe and UDP payload for Quick UDP Internet Connection (QUIC),
|
|||
o [NSE] Enabled resolveall to run against any target provided as a hostname, so
|
||||
the resolveall.hosts script-arg is no longer required. [Daniel Miller]
|
||||
|
||||
o [NSE] Updated fingerprints for script http-default-accounts with 19 new
|
||||
o [NSE] Updated fingerprints for script http-default-accounts with 20 new
|
||||
fingerprints. 4 fingerprints have been broadened to cover more variants.
|
||||
[nnposter]
|
||||
|
||||
|
|
|
|||
|
|
@ -589,6 +589,36 @@ table.insert(fingerprints, {
|
|||
end
|
||||
})
|
||||
|
||||
table.insert(fingerprints, {
|
||||
-- Version ESIP-12-v302r125573-131230c_upc
|
||||
name = "Cisco EPC3925",
|
||||
category = "routers",
|
||||
paths = {
|
||||
{path = "/"}
|
||||
},
|
||||
target_check = function (host, port, path, response)
|
||||
return response.status == 200
|
||||
and response.body
|
||||
and response.body:find("Docsis", 1, true)
|
||||
and response.body:find('window%.location%.href%s*=%s*"Docsis_system%.asp";')
|
||||
end,
|
||||
login_combos = {
|
||||
{username = "", password = ""}
|
||||
},
|
||||
login_check = function (host, port, path, user, pass)
|
||||
local form = {username_login=user,
|
||||
password_login=pass,
|
||||
LanguageSelect="en",
|
||||
Language_Submit="0",
|
||||
login="Log In"}
|
||||
local req = http_post_simple(host, port,
|
||||
url.absolute(path, "goform/Docsis_system"),
|
||||
nil, form)
|
||||
local loc = req.header["location"] or ""
|
||||
return req.status == 302 and loc:find("/Quick_setup%.asp$")
|
||||
end
|
||||
})
|
||||
|
||||
table.insert(fingerprints, {
|
||||
-- Version 1.0.1.3 on RT-N10U, RT-N66U
|
||||
name = "ASUS RT",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue