From 7751643e34d3956b355f1b61f2183f788930d864 Mon Sep 17 00:00:00 2001 From: Mohit Bhasi Date: Sat, 30 Sep 2017 10:49:45 +0530 Subject: [PATCH] Extracting information from /xmldata?item=all Attempt to fix issue #1016 --- nselib/data/http-fingerprints.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/nselib/data/http-fingerprints.lua b/nselib/data/http-fingerprints.lua index 2cf16645e..804e023f0 100644 --- a/nselib/data/http-fingerprints.lua +++ b/nselib/data/http-fingerprints.lua @@ -90,7 +90,7 @@ local table = require "table" -- CHANGELOG: -- Added 120 new signatures taken from exploit-db.com archives from July 2009 to July 2011 [Paulino Calderon] -- Added the option to read nikto's database and make use of its fingerprints. [George Chatzisofroniou] --- +-- Added the option to extract info from /xmldata?item=all. [Mohit Bhasi] fingerprints = {}; @@ -4349,6 +4349,22 @@ table.insert(fingerprints, { } }); +table.insert(fingerprints, { + category = 'general', + probes = { + { + path = '/xmldata?item=all', + method = 'GET' + } + }, + matches = { + { + match = '', + output = 'XML Data' + } + } + }); + ------------------------------------------------ ---- SECURITY SOFTWARE ---- ------------------------------------------------