I got an application (no source code) calling a server (hard coded IP) and expecting an answer before starting (a kind of login).
Cause the server is down half of the time, I want to create a dummy server which will emulate the behavior of the official server.
How can I redirect the traffic to my local machine?
I want all the request send to IP w.x.y.z to be re-routed to localhost (where my dummy server is running)
- my dummy server is an apache/php solution.
- I tried to edit the hard coded IP in the application with an hex editor, but some checksum fail when I start the application.
- cause the IP is hard coded in the application, I cannot use the hosts file.
- I'm running win xp.