mirror of
https://github.com/nmap/nmap.git
synced 2025-12-21 23:19:03 +00:00
Adds a fingerprint for Cisco EPC3925
This commit is contained in:
@@ -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
|
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]
|
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.
|
fingerprints. 4 fingerprints have been broadened to cover more variants.
|
||||||
[nnposter]
|
[nnposter]
|
||||||
|
|
||||||
|
|||||||
@@ -589,6 +589,36 @@ table.insert(fingerprints, {
|
|||||||
end
|
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, {
|
table.insert(fingerprints, {
|
||||||
-- Version 1.0.1.3 on RT-N10U, RT-N66U
|
-- Version 1.0.1.3 on RT-N10U, RT-N66U
|
||||||
name = "ASUS RT",
|
name = "ASUS RT",
|
||||||
|
|||||||
Reference in New Issue
Block a user