kuopiosuzhou Posted June 20, 2004 Share Posted June 20, 2004 is there any one can help me how to get other body's MAC address in doc when I have his ip? I tryed nbtstat -a ip but it does't work. Link to comment Share on other sites More sharing options...
XtremeMaC Posted June 20, 2004 Share Posted June 20, 2004 did u try the getmac command? Link to comment Share on other sites More sharing options...
kuopiosuzhou Posted June 20, 2004 Author Share Posted June 20, 2004 thanks for your post,but sorry,do you mean "getmac command "is a software name?or ,it of course does't work in DOS.I think nbtstat is only usable in LAN,not suitable in WAN. Link to comment Share on other sites More sharing options...
XtremeMaC Posted June 20, 2004 Share Posted June 20, 2004 no its just like nbstat command type it it command promptcmdgetmac /? ..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 More sharing options...
kuopiosuzhou Posted June 21, 2004 Author Share Posted June 21, 2004 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. Link to comment Share on other sites More sharing options...
masoncooper Posted June 30, 2004 Share Posted June 30, 2004 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 More sharing options...
/\/\o\/\/ Posted July 2, 2004 Share Posted July 2, 2004 GETMAC will get the MAC-adress from the OS so it will even work with some hops between.but you will have to have enough rights to get it (OS level)so it won't work for a "strangers-Box"gr /\/\o\/\/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now