mirror of
https://github.com/nmap/nmap.git
synced 2025-12-19 14:09:02 +00:00
Broadens the fingerprint for ASUS to cover additional device models
This commit is contained in:
@@ -392,14 +392,15 @@ table.insert(fingerprints, {
|
|||||||
})
|
})
|
||||||
|
|
||||||
table.insert(fingerprints, {
|
table.insert(fingerprints, {
|
||||||
-- Version 1.0.1.3
|
-- Version 1.0.1.3 on RT-N10U, RT-N66U
|
||||||
name = "ASUS RT-N10U",
|
name = "ASUS RT",
|
||||||
category = "routers",
|
category = "routers",
|
||||||
paths = {
|
paths = {
|
||||||
{path = "/"}
|
{path = "/"}
|
||||||
},
|
},
|
||||||
target_check = function (host, port, path, response)
|
target_check = function (host, port, path, response)
|
||||||
return http_auth_realm(response) == "RT-N10U"
|
-- realm="RT-N10U", "RT-N66U"
|
||||||
|
return (http_auth_realm(response) or ""):find("^RT%-%u[%u%d]+$")
|
||||||
end,
|
end,
|
||||||
login_combos = {
|
login_combos = {
|
||||||
{username = "admin", password = "admin"}
|
{username = "admin", password = "admin"}
|
||||||
|
|||||||
Reference in New Issue
Block a user