Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 21:38

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

Advertisement



[Question] Sending data

Discussion on [Question] Sending data within the Kal Online forum part of the MMORPGs category.

Reply
 
Old 02/25/2013, 20:22   #16




 
bloodx's Avatar
 
elite*gold: 55
Join Date: Mar 2006
Posts: 4,582
Received Thanks: 1,539
Code:
//Account
Type: 0x00 Format: Ud - Restore Char
Type: 0x01 Format: ? - HS
Type: 0x02 Format: Uss - Login
Type: 0x03 Format: ? - HS
Type: 0x04 Format: Usbwwwwwbb - CharGen
Type: 0x05 Format: Ud - Ping
Type: 0x07 Format: Ud - Delete Char
Type: 0x08 Format: dddddbb - Connect
Type: 0x09 Format: Ubd - Check Version
Type: 0x0a Format: Uddd - LoadPlayer
Type: 0x75 Format: Ubs - 2nd Pass

//Char
Type: 0x0a Format: Uddd - GameStart
Type: 0x0c Format: Ubdd - Attack
Type: 0x0d Format: Ubbd - Attack with Skill
Type: 0x0e Format: Us - Chat

Type: 0x10 Format: Ub - Relog
Type: 0x11 Format: Ubbb - Move
Type: 0x12 Format: Ubbb - MoveStop
Type: 0x13 Format: Ud - Talk To NPC
Type: 0x14 Format: Ud - Merchant Get Tax
Type: 0x15 Format: Um - Merchant Buy
Type: 0x16 Format: Um - Merchant Sell
Type: 0x17 Format: Udd - DropItem
Type: 0x18 Format: U - Quit Game
Type: 0x19 Format: Um - Trade insert item

Type: 0x1b Format: Ub - Stat Up
Type: 0x1c Format: Ub - Rest
Type: 0x1d Format: Uddd - Pick Item
Type: 0x1e Format: Ud - Use Item
Type: 0x1f Format: Ud - Request Trade

Type: 0x20 Format: Ubd - OnAskTrade
Type: 0x21 Format: U - Cancel Trade
Type: 0x22 Format: U - Revive

Type: 0x27 Format: Ub - SkillUp
Type: 0x28 Format: Ubd - Skill (Prep Ani)
Type: 0x29 Format: Ud - Request Party
Type: 0x2a Format: Ubd - Party Onask
Type: 0x2b Format: ... - guild {...}
Type: 0x2c Format: U - Party Leave
Type: 0x2d Format: d - Party kick
Type: 0x2e Format: Um - StorageKeeper CheckIn
Type: 0x2f Format: Um - StorageKeeper CheckOut

Type: 0x30 Format: Ud - NPC-Reply
Type: 0x31 Format: U - Storage Keeper Show Invent

Type: 0x33 Format: Ubd - Statue Save
Type: 0x34 Format: Udd - Pimp
Type: 0x35 Format: bddd - Player Shop AddItem

Type: 0x38 Format: Udb - Ani (Dance)
Type: 0x39 Format: U - Trade confirm

Type: 0x3a Format: Ud - Destroy Item
Type: 0x3b Format: Ub - Friendlist
Type: 0x3c Format: Ud - PutOn Item
Type: 0x3d Format: Ud - PutOff Item
Type: 0x3e Format: Ub - Cancel PlayerShop
Type: 0x3f Format: U - CancelFishing



Type: 0x40 Format: bd - Check Playershop Shop
Type: 0x41 Format: Um - Buy Playershop

Type: 0x47 Format: U - Request AssaList
Type: 0x48 Format: Ud - Request Duel
Type: 0x49 Format: Ubd - Duel OnAsk

Type: 0x4d Format: Ub - Student (open Window)

Type: 0x4f Format: Ub - ? beim login

Type: 0x51 Format: Ubd - Blacksmith
Type: 0x52 Format: Um - FL Parcel

Type: 0x54 Format: Ud - Treasure Box

Type: 0x57 Format: Udbb - Teleport (fisher?)

Type: 0x9d Format: Ub - Triangular Battle
bloodx is offline  
Thanks
1 User
Old 02/25/2013, 20:39   #17
 
elite*gold: 0
Join Date: Nov 2007
Posts: 35
Received Thanks: 0
Thanks. I love you xDD I'd try to check it myself after decrypting send packets but it's huge help for me I guess encrypt table can be also used to decrypt packets. I know it's a stupid question but it's better to ask if i'm not sure xD heh I just started cryptography at this semester so i will know more when it ends ^^
iszoPL is offline  
Old 02/25/2013, 20:48   #18




 
bloodx's Avatar
 
elite*gold: 55
Join Date: Mar 2006
Posts: 4,582
Received Thanks: 1,539
DecryptTable != EncryptTable :P

in some Games / Applications sure, but here are 2 different used.
bloodx is offline  
Old 02/25/2013, 20:51   #19
 
elite*gold: 0
Join Date: Nov 2007
Posts: 35
Received Thanks: 0
hmm so i have to find decrypt table in order to decrypt packets right and decrypt function. Or just use encrypt function in reversed order?
iszoPL is offline  
Old 02/25/2013, 21:02   #20




 
bloodx's Avatar
 
elite*gold: 55
Join Date: Mar 2006
Posts: 4,582
Received Thanks: 1,539
u also can use the engine crypt function like I did with SendPacket hehe

or u just use BakaBugs released stuff hehe I think his Decrypt and Encrypt Table is still the same like now.
bloodx is offline  
Old 02/25/2013, 21:08   #21
 
elite*gold: 0
Join Date: Nov 2007
Posts: 35
Received Thanks: 0
But this function u gave is encrypt. I didn't yet tried to reverse it. I guess it takes buffer and some other stuff to do it. I guess it would be easier to find their decrypt function and just use it. hmm but when it will be used ;p Somewhere before receiving? or in send also?
iszoPL is offline  
Old 02/25/2013, 21:21   #22




 
bloodx's Avatar
 
elite*gold: 55
Join Date: Mar 2006
Posts: 4,582
Received Thanks: 1,539
u can see Decrypt Function @ recv :P
bloodx is offline  
Old 02/25/2013, 21:52   #23
 
elite*gold: 0
Join Date: Nov 2007
Posts: 35
Received Thanks: 0
I'm guessing that

00484E80 is Decrypt func and at 007412E0 is DecryptTable right? Now i have to guess what parameters they are taking ^^
iszoPL is offline  
Old 02/25/2013, 21:56   #24




 
bloodx's Avatar
 
elite*gold: 55
Join Date: Mar 2006
Posts: 4,582
Received Thanks: 1,539
same like bakabugs function I think
bloodx is offline  
Old 02/25/2013, 23:17   #25
 
meak1's Avatar
 
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
use bakabugs source, update crypt/decrypt table(changed 1 time long time ago), use pointer for AESkey or dumb it.
meak1 is offline  
Old 02/25/2013, 23:36   #26
 
elite*gold: 0
Join Date: Nov 2007
Posts: 35
Received Thanks: 0
There is alot to reverse ;p I guess it's not a job for today. It seems like alot of work for me since I am new at reversing ^^ and baka source's are complicated for me. Specially that I've never had to deal with cryptography I don't even really know what for is this DecryptTable function xD I'm guessing it decrypts header and size seperately and rest of packet is decrypted by AESPacketDecrypt but who knows xD
iszoPL is offline  
Old 02/25/2013, 23:47   #27
 
meak1's Avatar
 
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
u didnt need to know, just copy it ;d

thought sooner too, dat bakabug is a boss on coding but later i found all in IDA, he just copied all out from IDA ;\

Edit: Gogo, if ur fast enough we can handle the HS d;
i just look sometimes into it, got the first HS packet i guess
meak1 is offline  
Old 02/25/2013, 23:50   #28
 
elite*gold: 0
Join Date: Nov 2007
Posts: 35
Received Thanks: 0
heh most of his stuff is generated by IDA as i see Now i'm tracing call of decrypt func so i can find this stupid eas key xD I already have decrypttable. xor key also changed? Oh, and HS is too difficult for me xDD Maybe someday. For now it is not a problem since i'm able to work even with hs on.
iszoPL is offline  
Old 02/26/2013, 00:27   #29
 
meak1's Avatar
 
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
y u have time E;
Xor not changed.
meak1 is offline  
Old 02/26/2013, 14:37   #30
 
elite*gold: 0
Join Date: Nov 2007
Posts: 35
Received Thanks: 0
I'm trying to reverse this **** and it's so annoying ;p I can't find anywhere in near calls any trace of AES key. I thought that recv packet are not crypted and as it turns out they are ;p

There are some func i was able to find. Any hints where to look next?



Encrypt is used both by send and recvEngine but there is this this func that is using it and i have no idea what is it for. 5A0000
iszoPL is offline  
Reply


Similar Threads Similar Threads
[Question] Sending Money with onebip
05/17/2013 - DarkOrbit - 1 Replies
Hi every body! I need help, i have one bip acc and need to send money on my friends acc, but dont know how... i know, but it's write that can not be send because it is not supported in my country... i tried using proxy but its write again same... What do to? All Best
Question about sending packets with usigned variables
12/28/2010 - CO2 Programming - 6 Replies
Ok so I started making a proxy in java and Have got up to receiving the password seed. But I've run into a problem java doesn't have unsigned variables so I had to edit the auth cryption to use short values. I can get the password seed perfectly its just forwarding it to the client I'm not sure how to do because the socket doesn't send a short array. I try sending the origional byte array but got no response from the client. If anyone can give me some pointers on how to do this I would...
[Question]Sending packets
10/28/2010 - RF Online - 3 Replies
I'm working on a hack involving sending packets back to the server, but every time i try and set a packet back, it cuts me of. I get disconnected when I try to send a packet. Can someone enlighten me to why is this happening and how can I avoid it? Thanks. P.S. Don't go posting in my thread saying im a noob and shit. I ask cos I wanna learn. At least I do it on my own and not beg for hacks and cheats.
[Question] Sending job info to server.
08/18/2009 - CO2 Private Server - 2 Replies
Hey, Using hybrid's rev 3: case "@job": { byte NewJob = byte.Parse(args); Client.Job = NewJob; Client.Send(PacketBuilder.CharacterInfo(Client)); break;
question packet sending
07/14/2008 - Dekaron - 22 Replies
Where can I find tut about packet sending I wish to learn about it.



All times are GMT +1. The time now is 21:38.


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.