Nmap Development mailing list archives

NMap Book: Minor correction to example in "Version Detection Using NSE"


From: Tom Sellers <nmap () fadedcode net>
Date: Fri, 25 Jul 2008 17:29:00 -0500

I came across the following item while working on an
Oracle NSE script.


Chapter 9. Nmap Scripting Engine
http://nmap.org/book/nse-vscan.html

Section: Version Detection Using NSE

At the end of the code example is this line:

nmap.setPortVersion(host, port, "hardmatched")

I believe that this should be:

nmap.set_port_version(host, port, "hardmatched")



Also, just above this line I see "port.version.fingerprint = nil".
Should I do this in my script  if I have positively identified a
service?  This is to suppress service fingerprint output generation,
correct?

Thanks,
Tom

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


Current thread: