Mac Id ?

Discussion in 'Programming' started by Janissary, Sep 13, 2005.

  1. #1
    Is it possible to get MAC id info of visitor?

    on phpbb community this was discussed before resulted as no posibble way in PHP

    but what about JAVA? or other languages?
     
    Janissary, Sep 13, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    MAC addresses work only when two nodes on a LAN need to transfer data to each other. When your machine needs to send some data to any machine on the Internet, it sends the request to your router; doing so, your machine and the router communicate using their MAC addresses. Then your router uses its MAC address to communicate with the ISP router and so on.

    In order for your website to see visitor's MAC address, you would need to run some program directly on the machine making a request.

    It is possible in Java to obtain your private IP address (the one you use on the LAN). May be it is possible to obtain a MAC address this way as well (that I never tried and can't say for sure, though). See here for an example:

    http://www.auditmypc.com/

    You have to have Java enabled for this code to work.

    J.D.
     
    J.D., Sep 13, 2005 IP
  3. Janissary

    Janissary Well-Known Member

    Messages:
    375
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    140
    #3
    yep it detects my local ip succesfully, is that means we can get mac id via java?
     
    Janissary, Sep 13, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    No, MAC addresses are not transmitted to the end user. Just like you can't see the MAC address of a server. Typically only the first hop (router) can see your MAC address, and it does not pass that along with the TCP packet.
     
    digitalpoint, Sep 13, 2005 IP
  5. Janissary

    Janissary Well-Known Member

    Messages:
    375
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    140
    #5
    okay, thanks...
     
    Janissary, Sep 13, 2005 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    Figured I should also add that if you COULD do it, it would become a huge privacy issue. Sites would start using MAC addresses (which do not change) to track users instead of cookies. :)
     
    digitalpoint, Sep 13, 2005 IP
  7. Janissary

    Janissary Well-Known Member

    Messages:
    375
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    140
    #7
    that's my DREAM... :)

    Can you have a look at this post
    the guy seems to succeed in his attemp, he said he uses a windows exploit...
     
    Janissary, Sep 13, 2005 IP