1
0
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:
nnposter
2016-10-31 01:49:36 +00:00
parent c3c25af7f0
commit a0df13c16c

View File

@@ -392,14 +392,15 @@ table.insert(fingerprints, {
})
table.insert(fingerprints, {
-- Version 1.0.1.3
name = "ASUS RT-N10U",
-- Version 1.0.1.3 on RT-N10U, RT-N66U
name = "ASUS RT",
category = "routers",
paths = {
{path = "/"}
},
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,
login_combos = {
{username = "admin", password = "admin"}