|
||
|
|
#1 (permalink) |
|
Forum Expert
|
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 10:00 PM. |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
|
Your best bet would be to mod the game itself, and have some type of display to tell individual packets.
If SpyUO is Opensource ( Don't think it is ), you can try and see how that functions. Thats exactly what you're describing.
__________________
Procrastinators unite!
Tomorrow. Saying that Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders. ![]() |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
SpyUO is opensource
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
|
I'm checking out SpyUO now. I can already tell it is over my head, but perhaps I can find a starting point within it and go from there.
Btw, here is the packet I need to capture and extract: Code:
0000 00 16 ec 35 c3 d7 00 14 51 61 12 ac 08 00 45 00 ...5.... Qa....E. 0010 01 12 63 1a 40 00 73 06 d9 45 4a 34 be a2 c0 a8 ..c.@.s. .EJ4.... 0020 01 07 07 d1 11 65 8c b0 f2 1a 9f 84 c7 4e 50 18 .....e.. .....NP. 0030 fb 29 ab 3e 00 00 16 00 10 00 00 00 13 00 00 00 .).>.... ........ 0040 02 00 00 00 44 00 54 68 65 03 50 72 6f 6d 75 6c ....D.Th e.Promul 0050 67 61 74 69 6f 6e 03 6f 66 03 74 68 65 03 6d 65 gation.o f.the.me 0060 73 73 61 67 65 03 61 62 6f 75 74 03 61 72 74 69 ssage.ab out.arti 0070 63 6c 65 73 03 69 6e 03 66 61 73 68 69 6f 6e 03 cles.in. fashion. 0080 73 75 63 63 65 65 64 65 64 21 02 00 00 04 00 42 succeede d!.....B 0090 61 63 6b ee ee 1b 00 00 00 00 00 00 00 00 00 63 ack..... .......c 00a0 20 34 20 52 79 6f 64 69 6e 20 48 65 72 6f 20 5b 4 Ryodi n Hero [ 00b0 41 74 68 65 6e 73 5d 54 68 65 03 6d 6f 73 74 03 Athens]T he.most. 00c0 70 6f 70 75 6c 61 72 03 69 74 65 6d 03 74 6f 64 popular. item.tod 00d0 61 79 03 69 73 03 5b 50 6f 72 63 65 6c 61 69 6e ay.is.[P orcelain 00e0 5d 2c 5b 48 61 6e 64 69 63 72 61 66 74 5d 2c 6c ],[Handi craft],l 00f0 65 66 74 03 33 39 03 6d 69 6e 75 74 65 73 03 66 eft.39.m inutes.f 0100 6f 72 03 6e 65 78 74 03 72 6f 75 6e 64 03 74 72 or.next. round.tr 0110 65 6e 64 03 63 68 61 6e 67 69 6e 67 2e 00 ee ee end.chan ging.... Last edited by remnant; 03-29-2007 at 12:27 AM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|