Nmap Development mailing list archives

Re: Bringing CPE to NSE


From: Henri Doreau <henri.doreau () greenbone net>
Date: Tue, 3 Jan 2012 21:39:05 +0100

2011/11/7 Henri Doreau <henri.doreau () greenbone net>:
The patch attached adds a "cpe" table to port.version, and OS CPEs are
available as additional entries in host.os.

set_port_version() handles modifications of the CPE list, so that NSE
scripts can add new entries or modify the existing ones (for service
detection only).

Feedback on this is attempt to design a NSE interface is, as always, welcome.

Regards.

Did someone had an opportunity to look at it?
I've re-generated the patch against latest revision. Sample script
attached as well for convenience.

Regards.

-- 
Henri

Attachment: cpe-sample.nse
Description:

Attachment: cpe_nse.diff
Description:

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: