Jump to content

capture another programs tcp/udp data


Recommended Posts

:P Hi, i want to capture what a certin .exe files TCP/UDP data that it sends and recives. I know its possiable using c++ and other programming language as many programs are able to do this, such as net limiter, HTTP Analzyser.. etc.

I basically want to stop an .exe from sending data, and capture all (just the http data) the data that gets sent to it, and then stop it from responding (this can be done by blocking that program via using a firewall).. by blocking it from sending data, and using my app to send the reponse data instead.

many thanks if you reply!

Link to comment
Share on other sites

Yes, in theory.

When a packet is sent, it knows its destination (IP/Host and port). You may use a packet analyzer like WinDump, analyze the packets you want and adapt your code to handle them.

It is a little bit tricky but you now have an idea if you want to go forward.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...