mirror of
https://github.com/nmap/nmap.git
synced 2025-12-19 14:09:02 +00:00
Updates target_check in the fingerprint for Zebra printers to accommodate older versions
This commit is contained in:
@@ -454,6 +454,7 @@ table.insert(fingerprints, {
|
|||||||
})
|
})
|
||||||
|
|
||||||
table.insert(fingerprints, {
|
table.insert(fingerprints, {
|
||||||
|
-- Version 61.17.5Z on ZTC GK420d, 1.01.4
|
||||||
name = "Zebra Print Server",
|
name = "Zebra Print Server",
|
||||||
category = "printer",
|
category = "printer",
|
||||||
paths = {
|
paths = {
|
||||||
@@ -461,8 +462,6 @@ table.insert(fingerprints, {
|
|||||||
},
|
},
|
||||||
target_check = function (host, port, path, response)
|
target_check = function (host, port, path, response)
|
||||||
return http_auth_realm(response) == "Network Print Server"
|
return http_auth_realm(response) == "Network Print Server"
|
||||||
and response.header["server"]
|
|
||||||
and response.header["server"] == "Micro-Web"
|
|
||||||
end,
|
end,
|
||||||
login_combos = {
|
login_combos = {
|
||||||
{username = "admin", password = "1234"}
|
{username = "admin", password = "1234"}
|
||||||
|
|||||||
Reference in New Issue
Block a user