Nmap Development mailing list archives

Re: OS detection from NSE script?


From: Daniel Miller <bonsaiviking () gmail com>
Date: Thu, 12 Aug 2010 12:41:06 -0500

On 08/12/2010 12:36 PM, Daniel Miller wrote:
Is there any way to feed OS version information from an NSE script to the Nmap engine, similar to nmap.set_port_version, but more like "nmap.set_os_version?" I can't find any reference to it in the documentation, and scripts like smb-os-discovery.nse just print it out themselves.

Thanks for any info,
Dan

Never mind, I found it. For the record, setting port.version.ostype before calling nmap.set_port_version accomplishes what I was looking to do.

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


Current thread: