Nmap Development mailing list archives

[NSE] Linksys WAP200 addition to http-default-accounts-fingerprints


From: nnposter () users sourceforge net
Date: Fri, 26 Jul 2013 23:38:25 +0000

The following patch adds a fingerprint for Cisco/Linksys WAP200 access
point to http-default-accounts-fingerprints.lua. Tested with firmware
1.0.22.

The category is set to "router", although this is not exactly correct,
but I do not see a better match. I have also corrected the category
field in a few other fingerprints to align them with the documentation
in http-default-accounts.nse.

Cheers,
nnposter


Patch against revision 31543 follows:

--- nselib/data/http-default-accounts-fingerprints.lua.orig     2013-07-26 16:05:14.859375000 -0600
+++ nselib/data/http-default-accounts-fingerprints.lua  2013-07-26 17:29:05.765625000 -0600
@@ -115,7 +115,7 @@
 ---
 table.insert(fingerprints, {
   name = "Arris 2307",
-  category = "routers",
+  category = "router",
   paths = {
     {path = "/logo_t.gif"}
   },
@@ -129,7 +129,7 @@
 
 table.insert(fingerprints, {
   name = "Cisco 2811",
-  category = "routers",
+  category = "router",
   paths = {
     {path = "/exec/show/log/CR"},
     {path = "/level/15/exec/-/configure/http"},
@@ -145,6 +145,20 @@
   end
 })
 
+table.insert(fingerprints, {
+  name = "Cisco WAP200",
+  category = "router",
+  paths = {
+    {path = "/StatusLan.htm"}
+  },
+  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
+})
+
 ---
 --Digital recorders
 ---
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: