Nmap Development mailing list archives

-oG output


From: Ionreflex <ionreflex () gmail com>
Date: Thu, 14 Feb 2008 16:20:19 -0500

Hi all,

I was doing some testing as I will soon have to collect every MAC addresses
for user's desktop and laptop (don't ask why, anyway I won't answer because
I'm against what's coming! :o)

So I tried the following command : nmap --script=nbstat.nse -p
135,137,139,445 -oG test 192.168.0.1
and got the following output on the screen :


C:\Program Files\Nmap>nmap --script=nbstat.nse -p 135,137,139,445 -oG test
192.1
68.0.1

Starting Nmap 4.53 ( http://insecure.org ) at 2008-02-14 16:14 Est
Interesting ports on 192.168.0.1:
PORT    STATE  SERVICE
135/tcp open   msrpc
137/tcp closed netbios-ns
139/tcp open   netbios-ssn
445/tcp open   microsoft-ds

Host script results:
|_ NBSTAT: NetBIOS name: R4ND0M, NetBIOS MAC: 00:E0:81:58:3F:DE

Nmap done: 1 IP address (1 host up) scanned in 5.937 seconds


But here's the file "test" content :


# Nmap 4.53 scan initiated Thu Feb 14 16:14:53 2008 as: nmap --script=
nbstat.nse -p 135,137,139,445 -oG test 192.168.0.1
Host: 192.168.0.1 ()    Ports: 135/open/tcp//msrpc///,
137/closed/tcp//netbios-ns///, 139/open/tcp//netbios-ssn///,
445/open/tcp//microsoft-ds///
# Nmap done at Thu Feb 14 16:14:59 2008 -- 1 IP address (1 host up) scanned
in 5.937 seconds


How come the host script results is missing ? Is that a bug ? Or was it
intent to be that way ?

Thanks everyone.



Ion

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: