Hello, I'm working on an app that needs to intercept when a program tries to connect to an specified IP address and redirects it to another IP.
Is this possible?
I'm using .net for this.
thanks!
From stackoverflow
-
Your best bet is to use EasyHook project to hook the connect function.
-
It might not fit the bill, but you could use the "hosts" file. ("hosts" file will only work for this purpose if the program is not connecting by IP address, but a host name)
0 comments:
Post a Comment