Jump to content

how to get MAC address in doc!


Recommended Posts


no its just like nbstat command

type it it command prompt

cmd

getmac /? ..

if u don't know if why do u say it doesn't work in dos?

also look more into nbtstat it should work..

but getmac is specially designed to get mac address so go with that if u only want to recieve the mac adress...

Link to comment
Share on other sites

  • 2 weeks later...
:rolleyes: hehe,I tryed again,but still not available.even nbtstat  often give me a "host not found".may be Billgates know why.anyway thank you all the same. :)

You can only discover a MAC if there aren't any routers between you and him.

The only MAC you can see is the first hop to him, so let's say he's 24.1.2.3. To send a packet to him, your system will query its ARP table and see that xx-xx-xx-xx-xx-xx is where packets destined to 24.0.0.0 go. Your system will will send the packet to the first hop at MAC xx-xx-xx-xx-xx-xx and that device will repeat the same procedure in resolving who is the next hop and decrease the TTL by one. This continues until the TTL expires or the packet reaches its destination. Unless you can somehow get your destination purposefully host to send you it's own MAC, I don't think you'll be able to resolve it over the net.

Remember though that for a local network where everyone is on the same subnet, you can resolve MAC addresses. Drop to a cmd window and type arp -a

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...