Register for your free account! | Forgot your password?

You last visited: Today at 00:26

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

Advertisement



Packets.

Discussion on Packets. within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1




 
bloodx's Avatar
 
elite*gold: 55
Join Date: Mar 2006
Posts: 4,582
Received Thanks: 1,539
Hier hat BakaBug geschrieben das müsste euch endlich helfen ^.^
hoffe jetzt kommen auch paar antworten und nicht nur views <.<
(karma?XP)

Yeah for all who want make something for Kal..
here is my release

Ahm yeah you can use it for hacking in nvm

PACKET STRUCKTUR


Some easy Kal-Packet: (Yeah I can't help you how to write a Sniffer)
Code:

0500161215
04001248
030047

So Yeah the first we see is .. the first 2 bytes is the size (means a word ..)
So the rest everytime changes .. can only mean crypted.. so packet structure is
Code:

type TKalPacket = packed record
size:word;
data:array of char;
end;

This is first step..

PACKET CRYPTING


So .. after sniffing a lot at login (easyer to sniff) we will see something like
a login packet .. becosue it's the login packet you know what you have entered .. so
(I used some nummbers they aren't correct .. but it works this way
??= I am to boring to count the bytes)
Code:

????04 B0 A1 C0 A1 B0 F1 AA 12 B0 A1 C0 A1 B0 F1 AA 12
B a k a B u g &#092;0 B a k a B u g &#092;0

(I entered acc:BakaBug pass:BakaBug)
Why we know there it must be BakaBug ?
When you look good you will see ..
Kal Crypt every letter .. 1 time ! means a crypte "a" at position 1...
looks like a crypte "a" at position 3..
Now wtf is this ? .. after a lot of trying .. first we know It's not working like
XOR mean haven't something like a key.. So it muss be something static
Which says A->! B->A C->& ... so ABC would be crypted to !A&
Yeah WTF a easy crypt .. and easy to crack..
so how to get this crypt-table ?

CRYPT TABLE


BTW. this way only works with a decompressed engine.exe
My first thought was some where in engine.exe must be a table ..
So .. starting hex-editor .. opening engine.exe
Entered in Login
Code:

Username: abcdefgh
Passwort: ijklmop

Sniff the Crypted oacket .. search this hex ... an WOOLLLLAAAA
And the first thing is .. WTF ? the table is uncrypted saved..
InixSoft makes hacking really easy..
..
So how to get the full Crypt-Table from the engine.exe (or mainsvr.exe works there too)
SO starting a disambler (I am using IDA) .. let disamble engine.exe ..
when everythings is loaded I scroll in the hex window .. to the offset where I found the abcde.. (crypted) click ... go to disambler window .. and WOLLLAAA
there is a area .. from START to END of the full CRYPT-Table
So we copy this Area .. into our hexeditor and save it as CRYPT.dat (or how you want)
So how to laod this table ?.. We know each letter is crypted with a other key!
so 256 letters .. our file is .. 200*256 bytes big ( I am to boring to multiplizier it .. I already know there are 200 keys) so how many keys are here ?
Yeah FileSize / 256
How to load ? (in delphi)
Code:

type TCryptRow = packed record
Byte: array[0..255] of char;
end;
var
CryptTable: array[0..199] of TCryptRow;

..
..
fil.read(CryptTable,sizeof(CryptTable)); //finish

Btw this is the encrypt ( i think ) for decrypt you need to genereat your own file.. mean when you know "A->!" you will know "!->A" easy to write -.-

DECRYPT PACKETS


Yeah we updating the source of out Sniffer (yeah write your own or you wont able to do this way)
We adding our CryptTable..
So what we know ?

* Kal is using Nullterminated strings
* the row of the crypt changes everytime (we know this after a lot of testing)

..Special the point Nullterminated strings *grins*
We are adding to the sniffer that he try's all rows to decrypt the last Byte
when it's decrypted &#092;0 key found ..
So this way only works on chat packet becouse there they use string..
So we chat a lot ingame .. and look at our log..
KEY: 12
KEY: 13
KEY: 14
KEY: 15
KEY: 16
KEY: 17
..
WTF yeah the row(key) increase every packet
..
KEY: 60
KEY: 61
KEY: 62
KEY: 63
KEY: 0

So ahhhh after 63 (or was it 64) it starts at 0 ..
hehe good to know so after 1 time getting the key you can decrypt everything

ADDITIONAL CRYPT AT INT SERVER


Yeah ~.~ when you have your decoder .. you sniff a lot of packes (chat is easyest)
And try to write this in chat:
Code:

a
aa
aaa
aaaa
aaaaa
aaaaaa
aaaaaaa
aaaaaaaa
aaaaaaaaaa
aaaaaaaaaaa
aaaaaaaaaaaa

Than you will see first..
New packet system have 4 bytes more .. why ? no idea.. (i never looked after it.. i can decryot them but dosn't help much ...)
We allso see .. .. that the decrypted stuff is wrong..
So we know our text is "aaaaaaaa..."
So we see all over 16 bytes (after sniffing) is a other crypt again (AES .. a lot of guys say this ..)
We also know Kal is yeah lol.. becouse first packet (at login, means welcome packet which is crypted with 0) they don't use the new crypt (but the old ..)
So we write a easy rotine..
CryptedStuff (but decryted with CryptTable) xor "aaaaaa...." = OUR XOR KEY
Wolllaaa.. after a lot of testing you will see
that you can crypt all <16 Bytes Packtes.. It's enought to write a KsBot (you wee some ingame ? some are suing my hack..)

MORE INFO ? Sorry can't help you

GTX Texture files


Ahm yeah I opend it with my Hex editor and have seen
DTX (or was it DXT .. nvm)
DXT3
DXT1
DXT5
...
So a file which have the abilitiy to change the texture-format (A8R8G8B8 X8R8G8B8 ... )
The only file i knowed which work so .. was DDS
so i saved a dds .. looked my gtx .. and it was 1:1 the same..
(okay.. the header was crypted.. so after a little testing we see ..
the crypt key is 4 ..)
I decrypt the header part ...
Changed the first 3 bytes to DDS..
WOOLLLLAAAA
Can load GTX's -.-

KSM KalServerMap


Yeah .. I really got no clue what this file should be ..
so i written a easy programm to show a file as graphic..
meansfull source when someone want try out..)
Code:

unit Unit1;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;

type
TForm1 = class(TForm)
Image1: TImage;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{&#036;R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var
x,y:integer;
myByte:dword;
fil:tmemorystream;
begin
image1.Picture.Bitmap.Width:=form1.Width;
image1.Picture.Bitmap.Height:=form1.Height+3000; //neue size
//soooooo bild malen
fil:=tmemorystream.Create;
fil.LoadFromFile('C:&#092;Dokumente und Einstellungen&#092;BakaBug&#092;Desktop&#092;MainS vr-Crack&#092;Map&#092;n_032_032.ksm');
fil.Position:=0; //an dne anfang..
repeat
for x:= 0 to image1.Width do
begin
//auslesen
fil.Read(myByte,4);
image1.Canvas.Pixels[x,y]:=myByte;
end;
y:=y+1;
until fil.Position>=fil.Size;
fil.Free;
end;

end.

Yeah when you resize the window and let redraw the picture..
*grins* ..Yeah after a lot of resizing you will start to see a structure
after you are near ~256 (width) .. you say WTF .. that is it ?
Yeah.. KSM are like a picture.. it's a 255x255 (or was it 256x256 ?) shoot of the coolision zones and castle war zones .. saveones etc.
after a little time you will have this script for loading:
Code:

type TArea= packed record
a,b:word;
end;
type TKSM=packed record
Pixel:array[0..255,0..255] of TArea;
end;

var
KSM:TKSM;
..
...
..
fil.read(KSM,sizeof(KSM)); //finish

KCM Kal Cell Map ?


Yeah I found it out the same why like KSM
With showing it as picture ^^ (I wont tell you everything)
But 1 tip: "Load it from end of the file.. to the begin of the file"
So it's easyer to laod .. I already know how the Header works..
but also KaME loads it from end to begin becouse it's easyer

OPL Object Postion list


Yeah open it with Hex-Editor and learn reading ~.~
I can't tell you much .. lol such easy..

..
so thats all for the moment..
When you miss something write it here
bloodx is offline  
Thanks
3 Users
Old 04/03/2007, 15:08   #2
 
elite*gold: 0
Join Date: Feb 2006
Posts: 786
Received Thanks: 80
gut
doener is offline  
Old 04/03/2007, 15:09   #3




 
bloodx's Avatar
 
elite*gold: 55
Join Date: Mar 2006
Posts: 4,582
Received Thanks: 1,539
Inix willn neues game rausbringen würde sagen dan wird kal vernachlässigt und es wird noch einfacher
bloodx is offline  
Old 04/03/2007, 15:57   #4
 
elite*gold: 0
Join Date: Aug 2005
Posts: 781
Received Thanks: 22
#pinned und karma^^
Xnicker is offline  
Old 04/03/2007, 17:48   #5
 
elite*gold: 0
Join Date: Nov 2006
Posts: 186
Received Thanks: 34
karma für text von r-a-g-e-z-o-n-e rauskopieren? imao
aSynx is offline  
Old 04/03/2007, 17:52   #6




 
bloodx's Avatar
 
elite*gold: 55
Join Date: Mar 2006
Posts: 4,582
Received Thanks: 1,539
sind nicht alle fähig zu benutzen <.<

müssteste hier doch schon mitbekommen haben oda? O.o
bloodx is offline  
Old 04/03/2007, 18:11   #7
 
elite*gold: 0
Join Date: Aug 2005
Posts: 781
Received Thanks: 22
Quote:
Originally posted by Lotuz@Apr 3 2007, 17:48
karma für text von r-a-g-e-z-o-n-e rauskopieren? imao
sei froh das hier überhaupt was gepostet wird -.-
Xnicker is offline  
Old 04/03/2007, 23:38   #8
 
elite*gold: 0
Join Date: May 2006
Posts: 225
Received Thanks: 6
jo sonst wird hier ja eh nichts gepostet
hier noch der link zum original is nen bisschen übersichtlicher ^^



kann keine links posten ^^
babyrusher is offline  
Old 04/04/2007, 03:21   #9
 
elite*gold: 0
Join Date: Mar 2007
Posts: 51
Received Thanks: 0
Mhhh ..

Kann mir jemand sagen welche Werte bzw. Dinge ich damit bei kalonline verändern kann O.o?

MfG
Ruben00 is offline  
Old 04/04/2007, 09:11   #10
 
elite*gold: 0
Join Date: Nov 2006
Posts: 186
Received Thanks: 34
Quote:
Originally posted by Ruben00@Apr 4 2007, 03:21
Mhhh ..

Kann mir jemand sagen welche Werte bzw. Dinge ich damit bei kalonline verändern kann O.o?

MfG
wenn man den text liesst sollte es eigentlich klar sein oO
aSynx is offline  
Old 04/04/2007, 10:02   #11
 
xkillabier's Avatar
 
elite*gold: 12
Join Date: Dec 2006
Posts: 1,223
Received Thanks: 102
Jo ich will aber auch nich wissen wie leicht es seien würd in dem neuem Game da zu hacken <.< am anfang würd eh erstmal alles ultra verbuggt sein.. naja also ich würd ma sagen back2topic xp
xkillabier is offline  
Old 04/04/2007, 10:15   #12
 
elite*gold: 0
Join Date: Apr 2006
Posts: 869
Received Thanks: 23
naicc

d.h.: ich quitte endgültig mit kal.. die armen koreaner =(
Sphare is offline  
Old 04/04/2007, 10:18   #13
 
xkillabier's Avatar
 
elite*gold: 12
Join Date: Dec 2006
Posts: 1,223
Received Thanks: 102
Ich spiel eig. auch schon länger nit mehr :/ das game is irgentwie einfach nur schlecht im gegensatz zu silkroad ôô
xkillabier is offline  
Old 04/04/2007, 10:38   #14
 
elite*gold: 0
Join Date: Mar 2007
Posts: 1,148
Received Thanks: 102
0.o ned schlecht ned schlecht auch wenns nur kopiert is xD werde ich doch gleich maln bisschen rumspielen wa
Xentala is offline  
Old 04/04/2007, 11:03   #15
 
elite*gold: 0
Join Date: Apr 2006
Posts: 869
Received Thanks: 23
Quote:
Originally posted by xkillabier@Apr 4 2007, 10:18
Ich spiel eig. auch schon länger nit mehr :/ das game is irgentwie einfach nur schlecht im gegensatz zu silkroad ôô
silk ist noch scheissiger ôo

naja ich denk mal.. 5 coders/designers... wenn die mtl geld beziehen würden, wäre kal 10xmal so gut.. oder wenn es ned soviele hacker geben würde genau so.. die müssen sich mit fixxes beschäftigen statt mit weiterentwicklung.. also ich find das echt top wie das schaffen soviele hacks zu fixen/ weitere inhalet hinzuzufügen.. und ich denke die verdienen kaum mehr als ein aushilfe in mcdonalds
Sphare is offline  
Reply


Similar Threads Similar Threads
packets...
12/04/2009 - CO2 Private Server - 12 Replies
does anyone have the packets for.. vending like nobility or something ( extra potency in the other section ) or the information for.. dmaps( also vertical for guild wars?)
packets
11/19/2009 - Kal Online - 25 Replies
Hey^^ i need some help. i need to know how the packets of the in engine are crypt? German: ich muss wissen wie die packets der int engine verschlüsselt sind.
help in +4 ore packets
04/09/2008 - RF Online - 5 Replies
can you please tell me what packet to look into if i am going to alter the packet for ore mining, is it the send or the receive part? please just what to look into and then from that on ill make my way through.
At all who know a lot about Packets..
02/13/2008 - Metin2 - 2 Replies
Also ich benutze seit einiger Zeit WPE hab auch geschafft ein MMORPG damit zu hacken.. barbie.de (kleine Schwester wollte sich ne Puppe kaufen xD) Jetzt zu Metin2.. könnt ihr mir das mal erklären.. Ich hab das Prog Wpe und sehe auch das ich Packete verschicke und bekomme, doch die sind verschlüsselt. Wie kann man die entschlüsseln? Hab was von einem Algorhitmus und einer Crypttable gehört, könnt ihr mir das erklären, wie ich mit einem Algorhitmus oder mit einer Crypttable die Packete...



All times are GMT +1. The time now is 00:27.


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.