Remote mac address

Michael Ströder michael at stroeder.com
Mon Apr 14 11:35:27 CEST 2008


Matias Surdi wrote:
> Anyone knows how  having the IP address of a host on the lan could I get 
> the mac address of that hosr?
> 
> p/d: Parsing the output of arp -a  is not an option.

But the ARP table is exactly what you need to access. This is probably 
system-specific.

You could also try to send ARP requests yourself:
http://www.secdev.org/projects/scapy/
http://www.ibm.com/developerworks/aix/library/au-pythocli/

Ciao, Michael.



More information about the Python-list mailing list