1
0
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:
nnposter
2016-08-19 19:07:44 +00:00
parent 034ba003ec
commit c3ab8da378

View File

@@ -454,6 +454,7 @@ table.insert(fingerprints, {
})
table.insert(fingerprints, {
-- Version 61.17.5Z on ZTC GK420d, 1.01.4
name = "Zebra Print Server",
category = "printer",
paths = {
@@ -461,8 +462,6 @@ table.insert(fingerprints, {
},
target_check = function (host, port, path, response)
return http_auth_realm(response) == "Network Print Server"
and response.header["server"]
and response.header["server"] == "Micro-Web"
end,
login_combos = {
{username = "admin", password = "1234"}