[Plugins-writers] Revisiting plugin 11026 (find_ap.nasl) bugs

From: Joshua Wright (jwright@private)
Date: Wed Feb 16 2005 - 04:15:12 PST


In December, I posted a patch to add some additional detect 
functionality to plugin 11026 (find_ap.nasl) [1].  Specifically, common 
Linksys access points were not detected with version 1.41 of this plugin.

Unfortunately, the patch I sent was not used, and the signature entered 
manually is incorrect.  The signature used for Linksys WRT54/WRT55 
access points in the current version of plugin 11026 is:

sigs = make_list(
<snip>
  'realm=WRT54',
  'realm=WRT55',

These signatures should be 'realm="WRT54' and 'realm="WRT55'.

I've attached a diff to fix this bug, and bring the version of this 
plugin up to 1.42.

Thanks,

-Josh

[1] 
http://mail.nessus.org/pipermail/plugins-writers/2004-December/msg00000.html
-- 
-Joshua Wright
jwright@private
http://home.jwu.edu/jwright/

pgpkey: http://home.jwu.edu/jwright/pgpkey.htm
fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73

Today I stumbled across the world's largest hotspot.  The SSID is "linksys".


--- find_ap-141.nasl	2005-02-16 07:08:34.000000000 -0500
+++ find_ap.nasl	2005-02-16 07:08:53.000000000 -0500
@@ -30,7 +30,7 @@
 if(description)
 {
  script_id(11026);
- script_version ("$Revision: 1.41 $");
+ script_version ("$Revision: 1.42 $");
 
  name["english"] = "Access Point detection";
  script_name(english:name["english"]);
@@ -199,8 +199,8 @@
  'realm="WAP51',
  'realm="WAP54',
  'realm="WAP55',
- 'realm=WRT54',
- 'realm=WRT55',
+ 'realm="WRT54',
+ 'realm="WRT55',
  "BCM430",		# Broadcom chips (?)
  "OfficePortal 1800HW",
  "HomePortal 180HW",


_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Wed Feb 16 2005 - 04:22:45 PST