Nmap Development mailing list archives
Re: [NSE] NTP info gathering script...
From: Richard Sammet <richard.sammet () googlemail com>
Date: Mon, 30 Nov 2009 07:48:03 +0100
Hi Matt, thanks for testing! well, yes, the value of stratum is a nice additional and valuable information. Knowledge of the role/level of a NTP server is always very interesting. I am thinking about adding an option to the script like: --all-values Which will cause the script to parse and output all variables/values received from the server... I will have a look at this tonight... so please dont add it to the tree - yet. Greetings, Richard ps. yes, I aready noticed that i forgot to remove the unused table t{} ;) On Mon, Nov 30, 2009 at 5:51 AM, Matt Selsky <selsky () columbia edu> wrote:
On Nov 28, 2009, at 2:30 PM, Richard Sammet wrote:as there is no NTP info gathering script yet, I decided to assemble one: Please find it attached. Some testing would be good ;)Neat. Works well against my stratum 1 and 2 time servers. I also added the "stratum" field to the list. What do you think? # NMAPDIR=. nmap -sU -p 123 --script=ntp-info sundial gnomon Starting Nmap 5.10BETA1 ( http://nmap.org ) at 2009-11-29 23:45 EST NSE: Script Scanning completed. Nmap scan report for sundial (192.168.59.177) Host is up (0.032s latency). rDNS record for 192.168.59.177: hickory PORT STATE SERVICE 123/udp open ntp | ntp-info: | |_system: SunOS | |_stratum: 2 |_|_refid: 192.168.39.48 Nmap scan report for gnomon (192.168.39.48) Host is up (0.029s latency). rDNS record for 192.168.39.48: gnomon PORT STATE SERVICE 123/udp open ntp | ntp-info: | |_version: ntpd 4.2.0@1.1161-r Tue Mar 23 22:34:33 UTC 2004 (19) | |_processor: 9000/800 | |_system: HP-UX/B.11.11 | |_stratum: 1 |_|_refid: USNO Nmap done: 2 IP addresses (2 hosts up) scanned in 3.46 seconds -- Matt
_______________________________________________ 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)