From 3ef7d718638cb3a6a4584fe1930869b83edac63d Mon Sep 17 00:00:00 2001 From: gyani Date: Sat, 20 Jun 2015 17:27:22 +0000 Subject: [PATCH] Merge branch 'fingerprints' --- nselib/data/http-fingerprints.lua | 42 ++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) 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 = '