View Single Post
Old 03-28-2007, 10:39 PM   #1 (permalink)
remnant
Forum Expert
 
Join Date: Sep 2004
Location: Florida
Age: 25
Posts: 457
Send a message via AIM to remnant
Default Capturing information from another application.

I've been researching this all day long, and haven't come up with much.

I am basically trying to capture some text that is sent to another game application.

I originally thought that I could use a Windows API call possibly to hook the application and get the data as it was written. I couldn't figure out how that could possibly work, as all I could figure out was how to get the Handle of the application, and basic information.

My next thought was to setup a Listener socket on the same port the application is receiving the data from; however, I soon found out that only one device could be "bound" to that port at a time.

My final idea comes from Packet Sniffing. I have used Ethereal before to sniff out some packets, and so I used it to get information about the packets the application was processing.

The application is receiving TCP packets, and the packets that I need to capture appear to be in ASCII text. (They are visibly readable in the packet logs).

I was wondering if anyone had any insight on how I might extract this plain text information from either the application that is receiving it, or the packets that are incoming.

Thanks.

(Edit)
I had one more idea after posting this. I was wondering if their is a way to access the memory of another program and extract the values that way? Sort of like trainer programs work for some games. I would be extracting things like coordinates, and text in game.

Last edited by remnant; 03-28-2007 at 11:00 PM.
remnant is offline   Reply With Quote