CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006
    Posts
    8

    Post Changing IP Address

    Does anyone know exactly where the browser gets the IP address from so it can be intercepted and changed to a new address before the server gets it?

    Im designing an IP stealth program.

    Reply if you have the low-level experience with this.

  2. #2
    Join Date
    Jan 2005
    Location
    Gothenburg, Sweden
    Posts
    134

    Re: Changing IP Address

    Hrm can you explain a little more precise what you mean. If what you want is to spoof your ip in your http requests, you will not be able to get an answer back from the server.
    If you try and take a cat apart to see how it works,
    the first thing you'll have on your hands is a nonworking cat

  3. #3
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Changing IP Address

    Browsers like Internet Explorer and Netscape use gethostbyname kind of functions to resolve IP and Names, is that what you are looking for ?

    If you want the browser to send requests to your fake server, then you should better go for LSP, there you can redirect the sockets. You can implement the WSPConnect to connect to your fake server instead of real one, then you can send the actual server requested to your fake server via same socket. And then onwards the communication will happen between the browser and your server. You will also need to develop server side which can understand requests made by clients.

    I recommand not to hook gethostbyname/getaddrinfo, but use above technique.
    Regards,
    Ramkrishna Pawar

  4. #4
    Join Date
    Jun 2006
    Posts
    8

    Re: Changing IP Address

    Thanks,

    That's exactly the answer I was looking for.
    Authentic Society
    www.authenticsociety.com

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured