From 6ba9936d2430eae697440d7445dc9add2d6b2627 Mon Sep 17 00:00:00 2001 From: dmiller Date: Fri, 20 Feb 2015 15:54:13 +0000 Subject: [PATCH] NSE support for Adobe LiveCycle http-fingerprints and default account additions by rvrsh3ll. Closes #61 --- .../data/http-default-accounts-fingerprints.lua | 17 +++++++++++++++++ nselib/data/http-fingerprints.lua | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/nselib/data/http-default-accounts-fingerprints.lua b/nselib/data/http-default-accounts-fingerprints.lua index cba72ad33..ec790f779 100644 --- a/nselib/data/http-default-accounts-fingerprints.lua +++ b/nselib/data/http-default-accounts-fingerprints.lua @@ -166,6 +166,23 @@ table.insert(fingerprints, { end }) +table.insert(fingerprints, { + name = "Adobe LiveCycle Management Console", + category = "web", + paths = { + {path = "/lc/system/console"} + }, + target_check = function (host, port, path, response) + return http_auth_realm(response) == "OSGi Management Console" + end, + login_combos = { + {username = "admin", password = "admin"} + }, + login_check = function (host, port, path, user, pass) + return try_http_basic_login(host, port, path, user, pass, false) + end +}) + table.insert(fingerprints, { name = "Apache Axis2", category = "web", diff --git a/nselib/data/http-fingerprints.lua b/nselib/data/http-fingerprints.lua index 8058a51b4..59de457b1 100644 --- a/nselib/data/http-fingerprints.lua +++ b/nselib/data/http-fingerprints.lua @@ -5135,6 +5135,22 @@ table.insert(fingerprints, { } }); +table.insert(fingerprints, { + category = 'management', + probes = { + { + path = '/lc/system/console', + method = 'HEAD' + }, + }, + matches = { + { + match = 'OSGi Management Console', + output = 'Adobe LiveCycle Management Console' + } + } + }); + table.insert(fingerprints, { category = 'management', probes = {