|
You last visited: Today at 13:49
Advertisement
Decrypt packets - Seafight
Discussion on Decrypt packets - Seafight within the General Coding forum part of the Coders Den category.
03/10/2012, 15:44
|
#1
|
elite*gold: 0
Join Date: Nov 2011
Posts: 12
Received Thanks: 5
|
Decrypt packets - Seafight
Seafight is a flash game. I would make a program which would show the normally hidden things for the player (hidden players, the amount of hp of enemies).I decided to start I need decrypt the packets sent by the server. I open the WPE pro and is a sample packet:
Code:
55 25 39 40 3B 39 3D 3A 3B 40 41 25 3B 3F 3D 34 3B 3C 2B 3B 3F 3D 34 3B 3B 2B 3B 3F 3E 34 3B 3B 2B 3B 3F 3E 34 3B 3A 2B 3B 3F 3F 34 3B 3A 2B 3B 3F 3F 34 3B 39 2B 3B 3F 40 34 3B 39 2B 3B 3F 40 34 3B 38 2B 3B 3F 41 34 3B 38 2B 3B 3F 41 34 3A 41 2B 3B 40 38 34 3A 41 2B 3B 40 38 34 3A 40 00
Asci:
U%9@;9=:;@A%;?=4;<+;?=4;;+;?>4;;+;?>4;:+;??4;:+;??4;9+;?@4;9+;?@4;8+;?A4;8+;?A4:A+;@84:A+;@84:@.
Rather, I will read nothing ,I have no idea how to decrypt this..
So I'm writing on this forum, I hope someone has some experience in decrypt packets?
Please help me
|
|
|
03/10/2012, 16:22
|
#2
|
elite*gold: 115
Join Date: Oct 2007
Posts: 9,390
Received Thanks: 12,345
|
The 0x25-Bytes seperate the data. The 0-Byte marks the end of a packet. So in your example it would be:
Code:
55
39 40 3B 39 3D 3A 3B 40 41
3B 3F 3D 34 3B 3C 2B 3B 3F 3D 34 3B 3B 2B 3B 3F 3E 34 3B 3B 2B 3B 3F 3E 34 3B 3A 2B 3B 3F 3F 34 3B 3A 2B 3B 3F 3F 34 3B 39 2B 3B 3F 40 34 3B 39 2B 3B 3F 40 34 3B 38 2B 3B 3F 41 34 3B 38 2B 3B 3F 41 34 3A 41 2B 3B 40 38 34 3A 41 2B 3B 40 38 34 3A 40
The very first byte is the opcode of the packet.
Then you have to subtract 8 from each byte beside the opcode. Now you have the packet in plaintext.
|
|
|
03/10/2012, 16:22
|
#3
|
elite*gold: 9
Join Date: Dec 2009
Posts: 1,071
Received Thanks: 819
|
Why should the server send packets to you containing the hp of enemies when the client doesn't even need this information?
I guess the client just tells the server how much damage you did and server server answers if the enemy is already defeated.
This would mean, what you want to do is not possible...
|
|
|
03/10/2012, 17:33
|
#4
|
elite*gold: 0
Join Date: Jul 2010
Posts: 388
Received Thanks: 196
|
Quote:
Originally Posted by Metin2Spieler97
The 0-Byte marks the end of a packet.
|
Duh.
|
|
|
03/10/2012, 17:44
|
#5
|
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
|
Quote:
Originally Posted by .Infinite
the client just tells the server how much damage you did
|
For sure ;o
It's more like this
SEND attack
RECV damageDone
|
|
|
03/10/2012, 19:17
|
#6
|
elite*gold: 0
Join Date: Nov 2011
Posts: 12
Received Thanks: 5
|
So I must subtract: byte - 0x08, byte - 0x08, byte - 0x08... and I will have decrypt bytes?
Thanks
|
|
|
03/10/2012, 19:36
|
#7
|
elite*gold: 115
Join Date: Oct 2007
Posts: 9,390
Received Thanks: 12,345
|
Quote:
Originally Posted by stronka111
So I must subtract: byte - 0x08, byte - 0x08, byte - 0x08... and I will have decrypt bytes?
Thanks 
|
yes
I don't know what happens if the byte's value is below 8, but I guess it rolls over to 255. This probably won't happen anyway since Seafight encodes all values in ASCII.
|
|
|
03/12/2012, 14:24
|
#8
|
elite*gold: 0
Join Date: Nov 2011
Posts: 12
Received Thanks: 5
|
Quote:
Originally Posted by .Infinite
Why should the server send packets to you containing the hp of enemies when the client doesn't even need this information?
I guess the client just tells the server how much damage you did and server server answers if the enemy is already defeated.
This would mean, what you want to do is not possible...
|
I don't know why but server tells:
EM881934315-254Serena792792
792 is a HP this monster;p
|
|
|
 |
Similar Threads
|
Decrypt lineage packets
01/23/2010 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 5 Replies
Hi. i leave the lineage world, and i want to do a contrivution: how to decrypt lineage packets.
Sorry, but i put it in spanish, my first lenguage (i speak english too bad), if anyone want, he can tranlate to english.
Hola.
En primer lugar, me despido. Dejo el lineage 2 creo que para siempre. No he estado mucho en este foro, pero he aprendido mucho.
En segundo lugar publico el codigo de un sniffer que empece, pero nunca acabe
Esta escrito en c#, en concreto voy a publicar la parte...
|
Decrypt packets
11/28/2009 - Kal Online - 3 Replies
Hi can any one give some hints how to decrypt incomming kall packets (int kal)?
|
Decrypt packets
07/29/2008 - General Coding - 11 Replies
Using programs like WPE/rPE you get the packets of the game but many times they are encrypteds... so how can decrypt them? what need to learn or to start to look for?.
Thx.
|
Help with packets decrypt.
05/08/2008 - Lineage 2 - 0 Replies
Hi.
I was trying to decrypt l2 login packets but i need help.
I tried decrypting with blowfish key ";5.]94-31==-%xT!^
BA 00 13 12 F9 B2 43 5B 3B BF BB 31 51 71 CF 25 71 12 FE 69 2C 2A 5F 62 5E 65 EC 6F 02 B5 D1 4D A7 A9 64 B0 ED CA 3D 88 17 67 16 D4 8D C9 A3 6A 7E 42 B5 0D F6 6E 3F F2 CC 91 B6 49 BF AB 0B 31 20 43 A2 68 94 32 9C 36 48 4A D7 30 B1 CE 4B D0 EF E9 03 2C 24 E1 E4 83 24 EC F1 0E C4 C2 AC 58 0D F5 75 27 45 74 44 33 2A 25 72 86 C7 8E 81 D7 56 6A D4 A6 05 0B 43 2C C2 E1 06 FB 5E 22...
|
decrypt packets for the 4th coming
07/08/2005 - General Coding - 3 Replies
Hi, my question is, would the server of a game send decrypted packets ? Because I have a server for the game The 4th Coming,and I also play Conquer Online, and saw what packets can do. The 4th coming server works with a MDB (ms access) and thats where they store all their character information (eg exp,items, accs and so on) and what Im asking, can I send ap acket that would for example give me certain exp because the server does not calculate dmg,exp or anything, it just gives a certain ammount...
|
All times are GMT +1. The time now is 13:49.
|
|