How to intercept connection requests?
I am working on an application that needs to be intercepted when a program tries to connect to a specified IP and redirects it to a different IP.
Is it possible?
I am using .net for this.
thank!
+1
Bruno
source
to share
2 answers
It is best to use the EasyHook project to connect the connect function .
+1
arul
source
to share
This may not match the bill, but you can use the "hosts" file. (the "hosts" file will only work for this purpose, if the program does not connect by IP address, but the hostname)
0
Tarnay Kรกlmรกn
source
to share