diff --git a/nselib/data/http-fingerprints.lua b/nselib/data/http-fingerprints.lua index 59de457b1..b88e80d35 100644 --- a/nselib/data/http-fingerprints.lua +++ b/nselib/data/http-fingerprints.lua @@ -6434,6 +6434,24 @@ table.insert(fingerprints, { } } }); + +-- HNAP Devices +table.insert(fingerprints, { + category = 'general', + probes = { + { + path = '/HNAP1/', + method = 'GET' + } + }, + matches = { + { + match = '(.-)', + output = '\\1' + } + } + }); + ------------------------------------------------ ---- ATTACKS ---- ------------------------------------------------ @@ -6926,6 +6944,29 @@ table.insert(fingerprints, { } }); +-- HNAP Authentication Bypass +table.insert(fingerprints, { + category = 'attacks', + probes = { + { + path = '/bsc_lan.php?NO_NEED_AUTH=1&AUTH_GROUP=0', + method = 'GET' + } + }, + matches = { + { + dontmatch = '