Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 23:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Dev] SRO Module Packet Analyzer

Discussion on [Dev] SRO Module Packet Analyzer within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2012
Posts: 25
Received Thanks: 142
[Release] SRO Module Packet Analyzer

Here's a project that I've worked for a few days, it automates parse of "created/deleted" packets in all sro modules like edxLoader. I say "created/deleted" because it doesn't parse just recv/send. When packet is created, it starts tracing calls to packet read/write functions until it gets deleted. We are only able to analyze packets, including some internal packets which isn't used by sockets, like printing logs at gui. (not sure if it's also working remotely tho)
I've tested on just vSro,



It should work on other files too, since it finds hook addresses dynamically. And it's not for real work yet, because stability is not certain and there's some problems with parsing packets that uses inlined functions to read/write, it's not possible to parse them automatically. (or possibly some of hooks are missing)

Dll is injected through ServerFrameworkRes.dll, modified version of dll is in attachment. If you don't trust, you can do it manually too, see this topic:
Compiled on: Visual Studio 2015
Attached Files
File Type: zip SR_ModuleAnalyzer_bin.zip (216.9 KB, 380 views)
File Type: zip SR_ModuleAnalyzer_src.zip (10.7 KB, 286 views)
Iwa13 is offline  
Thanks
12 Users
Old 08/11/2016, 00:00   #2
 
asdqaz's Avatar
 
elite*gold: 0
Join Date: Nov 2007
Posts: 377
Received Thanks: 118
since the default pattern for Register_OnPacketWriteBytes didn't work on csro-r gameserver i've edited it a bit makin it more broad it should be compatible with vsro and other versions too
Code:
auto p = MemoryHack::SearchPattern(mod, "\x0F\xB7\x86\x3E\x10\x00\x00\x0F\xB7\xCF\x8D\x14\x01\x3B\x96\x4C\x10\x00\x00", "xxxxxxx??????x?xxxx", 19);
asdqaz is offline  
Old 08/31/2017, 17:58   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 22
Received Thanks: 17
Hey Cemil,

I'm getting 'std' errors while compiling on VS 17.

Windows SDK : 10.0.15063.0
Platform Toolset : Visual Studio 2017 (v141)
Precompiled Header : stdafx.h

Output :

Thank you!
_DeaLyDeviL_ is offline  
Reply


Similar Threads Similar Threads
Packet analyzer
08/22/2013 - CO2 Private Server - 9 Replies
needy lessons fully analyze packets in order to learn from it
Buu - The Packet Analyzer
08/20/2013 - CO2 Programming - 32 Replies
Latest Version: v2.0 Alright so this is my new packet analyzer. It can basically the same as the previous, but has a few more advantages. The offsets have colors. Yellow: Cannot be changed. (Size + Type offsets) Red: Not analyzed and saved offsets. Green: Analyzed and saved offsets. An offset will have a value history which you can use to analyze the different outputs of the current offset. Everytime you choose a new offset this history is cleared thought.
Packet Analyzer
08/30/2012 - CO2 Programming - 4 Replies
#This can be closed. Made a new packet-analyzer.
My packet analyzer
05/10/2011 - Kal Online - 17 Replies
Hey guys. So i made my own little proxy dll for kalonline that outputs the data sent to the send() and recv() functions to a console window. When i was done with it, i tested it out but it's only putting out data from send(). My guess would be that it's using a different function to receive data (WSArecv, recvfrom), but when i checked those functions they were never called. Anybody know something i don't? Also, in the screenshot below, i put in a bogus username and password and expected to...
Packet Analyzer
07/08/2006 - Conquer Online 2 - 11 Replies
Wondering if theres any working packet analyzer/sender avaliable since latest patch *edit: made it bigger so some dumbasses dont start with the "search thing".



All times are GMT +1. The time now is 23:35.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.