Memory based packet logger [C++]

09/07/2012 19:22 tanelipe#1
This is a basic memory based packet logger that will allow the user to filter different types of packets sent between client and server. By default it is configured to show every packet that passes through the client but you may manipulate the filters by following commands

PHP Code:
@filter-server Enable Disable server packet logging
@filter-server clear Clear the server filter
@filter-server 0x3EC Add packet type to the filterit will no longer be displayed

@filter-client Enable Disable client packet logging
@filter-client clear Clear the client filter
@filter-client 0x3EC Add packet type to the filterit will no longer be displayed 
I've attached both the program to inject the DLL to conquer and the actual DLL that does the magic.

If there are any questions don't hesitate to ask because I realize that this might not be the most noob friendly thing out there.
09/07/2012 23:36 KraHen#2
Tons of thanks for this, this is IMO the most understandable example in C++ right now. Although...

Quote:
hooker->GetSendContinueAddress();
^ Makes me feel like I`m being followed by cops.
09/08/2012 11:40 InfamousNoone#3
Wouldn't it make more sense for the filter to display ONLY the filtered types?
09/08/2012 11:51 tanelipe#4
Quote:
Originally Posted by InfamousNoone View Post
Wouldn't it make more sense for the filter to display ONLY the filtered types?
Yah, I suppose so. It's not exactly hard to change it to perform this way if someone wishes to do so.

The main reason why it's like this currently is because I've been out of the CO scene for a quite some time now and I had no idea how much the packet types have changed and this method allowed me to display everything else except the ones I don't want to be shown.
09/08/2012 15:21 InfamousNoone#5
You should come on MSN more if you're going to be joining a scene again ;o
09/09/2012 12:55 Real~Death#6
Nice release,Glad some people are still around :p