From ca43a6d59f1b7c70f2074d96637af1e6e7aec8c5 Mon Sep 17 00:00:00 2001 From: kroosec Date: Wed, 12 Sep 2012 21:57:49 +0000 Subject: [PATCH] =?UTF-8?q?Added=20http=20fingerprints=20by=20Jesper=20K?= =?UTF-8?q?=C3=BCckelhahn=20for=20Sitecore=20CMS.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG | 2 ++ nselib/data/http-fingerprints.lua | 35 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 6a1952e0b..d04a811ee 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ # Nmap Changelog ($Id$); -*-text-*- +o Added http fingerprints for Sitecore CMS. [Jesper Kückelhahn] + o Increased portability of configure scripts on systems using a libc other than Glibc. Several problems were reported by John Spencer. diff --git a/nselib/data/http-fingerprints.lua b/nselib/data/http-fingerprints.lua index 4df0b08dc..aafd397cf 100644 --- a/nselib/data/http-fingerprints.lua +++ b/nselib/data/http-fingerprints.lua @@ -2559,6 +2559,14 @@ table.insert(fingerprints, { { path = '/admin_cp.asp', method = 'HEAD' + }, + { + path = '/sitecore/admin/', + method = 'HEAD' + }, + { + path = '/sitecore/login/admin/', + method = 'HEAD' } }, matches = { @@ -11410,3 +11418,30 @@ table.insert(fingerprints, { } }); +table.insert(fingerprints, { + category = 'general', + probes = { + { + path = '/sitecore/shell/sitecore.version.xml', + method = 'GET' + }, + { + path = '/sitecore/login/default.aspx', + method = 'GET' + } + }, + matches = { + { + match = '([^<]*).*([^<]*).*([^<]*).*([^<]*)', + output = '\\1.\\2.\\3 (rev. \\4)' + }, + { + match = 'class="SystemInformationDivider">.*Sitecore.NET ([^<]*)', + output = '\\1' + }, + { + match = '
.*Sitecore version ([^<]*)', + output = '\\1' + } + } + });