Nmap Development mailing list archives
Re: dhcp script!
From: Walt Scrivens <walts () gate net>
Date: Tue, 8 Sep 2009 19:56:30 -0400
OK this is the last one for tonight :-) I have a busy day tomorrow so I may not get back at this until Thursday.
Eliminating the -PN gets us a MAC address - but wouldn't that have come from the Ping Reply packet? Also I don't understand why the RST,ACK followed by RST between the Ping Reply and the Timestamp Reply.
Also, sorry - I forgot to save only the filtered packets on the first few capture files. If you set a display filter
ip.src==192.168.1.1 or ip.dst==192.168.1.1 That will clean things up a bit! Walt **********************sh-3.2# nmap --send-ip -d -sU -p67 --script=dhcp-inform --script- args=dhcptype=DHCPREQUEST 192.168.1.1
Starting Nmap 5.00 ( http://nmap.org ) at 2009-09-08 19:44 EDT --------------- Timing report --------------- hostgroups: min 1, max 100000 rtt-timeouts: init 1000, min 100, max 10000 max-scan-delay: TCP 1000, UDP 1000, SCTP 1000 parallelism: min 0, max 0 max-retries: 10, host-timeout: 0 min-rate: 0, max-rate: 0 --------------------------------------------- NSE: Loaded 1 scripts for scanning. Warning: Unable to open interface vmnet8 -- skipping it. Warning: Unable to open interface vmnet1 -- skipping it. Initiating Ping Scan at 19:44 Scanning 192.168.1.1 [4 ports]Packet capture filter (device en1): dst host 192.168.1.144 and (icmp or ((tcp or udp or sctp) and (src host 192.168.1.1))) We got a ping packet back from 192.168.1.1: id = 32314 seq = 0 checksum = 33221
Completed Ping Scan at 19:44, 0.01s elapsed (1 total hosts) Overall sending rates: 335.51 packets / s, 12749.54 bytes / s. mass_rdns: Using DNS server 208.67.222.222 mass_rdns: Using DNS server 208.67.220.220 Initiating Parallel DNS resolution of 1 host. at 19:44 mass_rdns: 0.07s 0/1 [#: 2, OK: 0, NX: 0, DR: 0, SF: 0, TR: 1] Completed Parallel DNS resolution of 1 host. at 19:44, 0.06s elapsedDNS resolution of 1 IPs took 0.07s. Mode: Async [#: 2, OK: 0, NX: 1, DR: 0, SF: 0, TR: 1, CN: 0]
Initiating UDP Scan at 19:44 Scanning 192.168.1.1 [1 port]Packet capture filter (device en1): dst host 192.168.1.144 and (icmp or ((tcp or udp or sctp) and (src host 192.168.1.1)))
Completed UDP Scan at 19:44, 0.21s elapsed (1 total ports) Overall sending rates: 9.37 packets / s, 262.44 bytes / s. NSE: Script scanning 192.168.1.1. NSE: Starting runlevel 1 scan Initiating NSE at 19:44 NSE: NSE Script Threads (1) running: NSE: Starting dhcp-inform against 192.168.1.1:67. NSE: Finished dhcp-inform against 192.168.1.1:67. Completed NSE at 19:44, 3.00s elapsed NSE: Script Scanning completed. Host 192.168.1.1 is up, received echo-reply (0.0046s latency). Scanned at 2009-09-08 19:44:28 EDT for 3s Interesting ports on 192.168.1.1: PORT STATE SERVICE REASON 67/udp open|filtered dhcps no-response MAC Address: 00:0F:66:3E:98:EB (Cisco-Linksys) Final times for host: srtt: 4576 rttvar: 5000 to: 100000 Read from /usr/local/share/nmap: nmap-mac-prefixes nmap-services. Nmap done: 1 IP address (1 host up) scanned in 3.53 seconds Raw packets sent: 6 (208B) | Rcvd: 1 (28B) sh-3.2#
Attachment:
dhcp-inform3.cap
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Re: dhcp script!, (continued)
- Re: dhcp script! jah (Sep 08)
- Re: dhcp script! Walt Scrivens (Sep 08)
- Re: dhcp script! Ron (Sep 08)
- Re: dhcp script! Walt Scrivens (Sep 08)
- Re: dhcp script! David Fifield (Sep 08)
- Re: dhcp script! Walt Scrivens (Sep 08)
- Re: dhcp script! Ron (Sep 08)
- Re: dhcp script! Walt Scrivens (Sep 08)
- Re: dhcp script! Ron (Sep 08)
- Re: dhcp script! Walt Scrivens (Sep 08)
- Re: dhcp script! Walt Scrivens (Sep 08)
- Re: dhcp script! Brandon Enright (Sep 08)
- Re: dhcp script! Walt Scrivens (Sep 08)
- Re: dhcp script! Ron (Sep 08)
- Re: dhcp script! David Fifield (Sep 08)
- Re: dhcp script! Walt Scrivens (Sep 09)
- Re: dhcp script! David Fifield (Sep 09)
- Re: dhcp script! Brandon Enright (Sep 09)
- Re: dhcp script! Walt Scrivens (Sep 09)
- Re: dhcp script! Walt Scrivens (Sep 09)
- Re: dhcp script! Brandon Enright (Sep 09)
- Re: dhcp script! David Fifield (Sep 09)