There is a minor bug in script os_fingerprint_http.nasl.
The following patch against version 1.26 resolves the issue:
--- os_fingerprint_http.nasl.orig 2008-11-27 10:35:00.000000000 -0700
+++ os_fingerprint_http.nasl 2008-12-03 13:00:50.000000000 -0500
@@ -303,7 +303,7 @@
set_kb_item(name:"Host/OS/HTTP/Type", value:"embedded");
exit(0);
}
- else if (egrep(string: "^Server: Apache/[12].* \(OpenVMS\)", string: banner))
+ else if (egrep(pattern: "^Server: Apache/[12].* \(OpenVMS\)", string: banner))
{
set_kb_item(name:"Host/OS/HTTP", value:"OpenVMS");
set_kb_item(name:"Host/OS/HTTP/Confidence", value: 76);
Cheers,
nnposter
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers
The following patch against version 1.26 resolves the issue:
--- os_fingerprint_http.nasl.orig 2008-11-27 10:35:00.000000000 -0700
+++ os_fingerprint_http.nasl 2008-12-03 13:00:50.000000000 -0500
@@ -303,7 +303,7 @@
set_kb_item(name:"Host/OS/HTTP/Type", value:"embedded");
exit(0);
}
- else if (egrep(string: "^Server: Apache/[12].* \(OpenVMS\)", string: banner))
+ else if (egrep(pattern: "^Server: Apache/[12].* \(OpenVMS\)", string: banner))
{
set_kb_item(name:"Host/OS/HTTP", value:"OpenVMS");
set_kb_item(name:"Host/OS/HTTP/Confidence", value: 76);
Cheers,
nnposter
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers