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.
Printable View
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.
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.
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.
Thanks,
That's exactly the answer I was looking for.