Nmap Development mailing list archives
Re: [NSE] NTP info gathering script...
From: Richard Sammet <richard.sammet () googlemail com>
Date: Tue, 1 Dec 2009 18:29:44 +0100
Well, the next bunch of changes is implemented: - some more documentation - Added the function get_timeout() which enables the script to consider the global nmap timing setting (-T*) - Changed it to make use of stdnse.format_output instead of fiddling around with a string - Added nmap.set_port_state() - because if the script receives valuable data, the port should be in state=open ;) I will freeze it at this stage until public testing is done. And I really hope that I considered all the requirements for nse scripts to be added to the bundle... (are there any detailed nse coding guidelines available?) Greetings, Richard On Mon, Nov 30, 2009 at 7:56 PM, Matt Selsky <selsky () columbia edu> wrote:
On Nov 30, 2009, at 1:51 PM, Richard Sammet wrote:Here we go. Please find an updated version of ntp-info attached. Changes: - Inlinedocumentation - Added two arguments - timeout and variables (described via inlinedoc) - Added "stratum" to the defaults for printing - Added the CRLF fix - Explicitly changed the portrule to run the script if the port is "open|filtered" (this is the default for me if I do not use -sV) I think that's it. Thanks in advance for your testing.New version tests OK here. -- Matt
Attachment:
ntp-info.nse
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:
- [NSE] NTP info gathering script... Richard Sammet (Nov 29)
- Re: [NSE] NTP info gathering script... Matt Selsky (Nov 29)
- Re: [NSE] NTP info gathering script... Richard Sammet (Nov 30)
- Re: [NSE] NTP info gathering script... Richard Sammet (Nov 30)
- Re: [NSE] NTP info gathering script... Matt Selsky (Nov 30)
- Re: [NSE] NTP info gathering script... Richard Sammet (Dec 01)
- Re: [NSE] NTP info gathering script... David Fifield (Dec 12)
- Re: [NSE] NTP info gathering script... Richard Sammet (Dec 12)
- Re: [NSE] NTP info gathering script... Richard Sammet (Dec 12)
- Re: [NSE] NTP info gathering script... David Fifield (Dec 12)
- Re: [NSE] NTP info gathering script... Richard Sammet (Dec 13)
- Re: [NSE] NTP info gathering script... Richard Sammet (Dec 14)
- Re: [NSE] NTP info gathering script... David Fifield (Dec 21)
- Re: [NSE] NTP info gathering script... Richard Sammet (Nov 30)
- Re: [NSE] NTP info gathering script... Matt Selsky (Nov 29)