Results 1 to 3 of 3

Thread: get remote pc name

  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    30

    Question get remote pc name

    hey guys, how can i get the remote pc name, just by supplying the ip address? i need to do this programmatically. also, how can i do this other than c++? i want to implement it in a coldfusion code.

    the xSharez Scanner can display the remote pc name.. i wanted to do something like that on a web app.

    also, is there a website that can do that?

  2. #2
    Senior Member
    Join Date
    Jan 2002
    Posts
    1,207
    Under some circumstances, a netbios name query will reveal the PC name. Note that some people could consider this an attack so use it with caution.

    It also seems, that on some Windows boxes, gethostbyaddr() sends such a request (and indeed, returns the response string) if it's not successfully resolved the host by DNS. I don't know why this is or how to stop it.

    Note that this is trivially faked, so should not be relied on for anything.

    Slarty

  3. #3
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,188
    Why?


    The reason that I ask is that I have some software that changes my details randomly every 30 seconds (I think that 5 seconds is the shortest interval), so what good would it do you?

    I think that we need some more information about what you hope to achieve to give you the right answer?

    Cheers

    EDIT: Damn, you type faster than me Slarty

    Note that this is trivially faked, so should not be relied on for anything

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •