mailing list archives
Re: [NSE] nmap timing info for scripts
From: Fyodor <fyodor () insecure org>
Date: Sat, 5 Apr 2008 13:18:41 -0700
On Thu, Jan 10, 2008 at 11:15:32AM -0600, Thomas Buchanan wrote:
Here is a quick little patch that exposes the nmap timing option to NSE
scripts. A call to nmap.timing() will return a value of 0 - 5
corresponding to the nmap command line option -T0 through -T5
("Paranoid", "Sneaky", "Polite", "Normal", "Aggressive", "Insane").
Patch tested on Windows XP and Linux.
Hi Thomas. Thanks for the patch. Sorry it took 3 months to reply :(.
Anyway, if you can change your patch to using timing_level() rather
than timing() and you add documentation in docs/nse.xml, I'd be happy
to apply it. I agree that some scripts might find this useful.
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org