Question regarding -> [Tutorial] Basic Packet Hacking

02/10/2010 23:10 CrashnBurn#1
guys sorry to be speaking english here, i can read the german and understand it.
I am from belgium afterall.
But i am going to spare you the torture of my german, so i hope you dont mind.

The tutorial explained a lot for me.
Pretty much understand most of it a lot better now.
Though each game will be have different packets right?
I mean the build up can be different, i can figure out what is what(most part) but compared to the tutorial i got a lot of 00 and code which i cant place.

Also i tried sending once(correctly edited) and the game disconnected me.
Is this some sort of CRC check?
02/11/2010 10:09 wurstbrot123#2
Well every game has different protections.
Some also encrypt the Packets than you wont be
able to use tools like WPE for example.
For those you would need reversing expirience and find
the Function for injecting packets (the one that has the
not yet encrypted packet buffer). You would also need
to place hooks for send before the data is encrypted,
and for recv after they are decrypted that youll be able
to succesfully guess how the packets are build.
The packets are mostly build the same way,
first two bytes --> Size
next two bytes --> OP Code
and the other bytes are the data of the Packet.
Every OP Code is for a different action.
For example moving has op code 999 and
chatting have op code 1033 but i think you know
this basic stuff. You just have to exactly know
how the Packets are build also wich bytes are
for what exactly. Than if the game doesnt have the Packets
encrypted (but well the most already have....) you would
be able to build and inject your own Packets. Otherwise
you would also need to have programming expirience to
write a dll that is using the gamefunctions to inject Packets
for example. And of course every game has the packets different
but the Infos are mostly pretty similar. For example a Chatpacket
for allchat mostly looks like that (size and op code cut)
[2] - Size of Message
[] - Message

But well some games also have the Same op code for
all chat types than they are like -->
[2] chat type
[2] size
[] message
and for Private messages for example of course more infos
are added. This are just small examples, i hope this helps
you a bit to understand that stuff
02/11/2010 10:49 CrashnBurn#3
Thanks that does clear everything up at bit.
And i you mentioned, and i suspected.
Most games encrypt their packets, which is probably what i am seeing.
Which ofcourse needs a little more knowledge for it to work.

So i guess i am going to be have to keep looking into it untill i know what i need to know.

Thanks for the explaining.