Scan Mac addresses on your LAN with Nmap

How to Scan Mac addresses on your LAN with Nmap

This command will scan your Lan 192.168.129.0/24 with all Mac-addresses

[root@localhost ~]# nmap -PR -oN mac.txt 192.168.129.0/24
Starting Nmap 5.51 ( http://nmap.org ) at 2012-12-09 19:47 PST
Nmap scan report for 192.168.129.1
Host is up (0.00037s latency).
Not shown: 987 closed ports
PORT STATE SERVICE
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
902/tcp open iss-realsecure
912/tcp open apex-mesh
1110/tcp open nfsd-status
1688/tcp open nsjtp-data
3389/tcp open ms-term-serv
49152/tcp open unknown
49153/tcp open unknown
49154/tcp open unknown
49156/tcp open unknown
49176/tcp open unknown
MAC Address: 00:50:56:C0:00:08 (VMware)Nmap scan report for 192.168.129.2
Host is up (0.000082s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
53/tcp open domain
MAC Address: 00:50:56:F9:0B:BA (VMware)Nmap scan report for 192.168.129.129
Host is up (0.00011s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
MAC Address: 00:0C:29:31:35:1E (VMware)Nmap scan report for 192.168.129.131
Host is up (0.000012s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
22/tcp open ssh
9090/tcp open zeus-admin

Nmap scan report for 192.168.129.254
Host is up (0.000092s latency).
All 1000 scanned ports on 192.168.129.254 are filtered
MAC Address: 00:50:56:F1:8B:4A (VMware)

Nmap done: 256 IP addresses (5 hosts up) scanned in 28.53 seconds

That’s all. Thanks for using IThelpblog.com

Tags:  

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>