nmap
hi there,
i'm trying to get nmap outputting only the information i want (IP address and MAC address)
when i run nmap 192.168.0.0/24 it outputs this
Interesting ports on paulie.mshome.net (192.168.0.136):
(The 1658 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
1025/tcp open NFS-or-IIS
5000/tcp open UPnP
MAC Address: 08:00:46:AC:B2:42 (Sony)
although i've managed to use nmap 192.168.0.0/24 | grep "MAC Address:"
and it now puts out
MAC Address: 08:00:46:AC:B2:42 (Sony)
can anyone tell me either how to use the nmap command to only output what i want, or how to make grep look for 'varA' & 'varB'
|