Penetration Testing mailing list archives

Re: Ping a mac address


From: "Thor (Hammer of God)" <thor () hammerofgod com>
Date: Sun, 4 Dec 2005 01:58:29 -0800

I guess I didn't explain my self good.
What I want is tool that i can do:
Ping 00:0F:EA:8C:FC:5A


And in return get the ip of this mac

You might want to explain exactly what you are trying to accomplish in more detail: as in "Why?"

ARP resolution of the MAC to the actual IP will only work if you are on the same subnet as the host--otherwise you'll get the default gateway's MAC when resolving the IP address. Given that, if the host *is* on the same subnet, and you want to reach it, it doesn't really matter what IP address is bound to the adapter-- you can just add a static ARP entry on the local system to assign the MAC to whatever "in-network" IP you want, whether it's the "real" IP or not...


t


------------------------------------------------------------------------------
Audit your website security with Acunetix Web Vulnerability Scanner: Hackers are concentrating their efforts on attacking applications on your website. Up to 75% of cyber attacks are launched on shopping carts, forms, login pages, dynamic content etc. Firewalls, SSL and locked-down servers are futile against web application hacking. Check your website for vulnerabilities to SQL injection, Cross site scripting and other web attacks before hackers do! Download Trial at:

http://www.securityfocus.com/sponsor/pen-test_050831
-------------------------------------------------------------------------------


Current thread: