Nmap Development mailing list archives

Re: [NSE] NTP info gathering script...


From: Matt Selsky <selsky () columbia edu>
Date: Sun, 29 Nov 2009 23:51:33 -0500

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: