Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

=Delphi = MuOnline EncDec -C1C2C3C4

Newbie Spellweaver
Joined
Aug 5, 2007
Messages
10
Reaction score
0
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

it's made by gunz
 
Newbie Spellweaver
Joined
Feb 14, 2006
Messages
59
Reaction score
0
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

what is this ??? for what is use to ?
 
Newbie Spellweaver
Joined
Aug 5, 2007
Messages
10
Reaction score
0
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

is for decrypting encrypted packets ..
 
Initiate Mage
Joined
Mar 19, 2007
Messages
4
Reaction score
0
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

anyone can tell me how i can use it ?

i have c3 packet in string like this :

C3186F4D02DF8D96949F55EDD87A7502BC8BE213050DDEE4
 
NN - Nord & Noob
Loyal Member
Joined
Jul 15, 2004
Messages
1,207
Reaction score
689
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

learn some basic of programming and the come back!

Banned! till 2020.10.12!


Code:
LoadKeys;

s := 'C3186F4D02DF8D96949F55EDD87A7502BC8BE213050DDEE4';
Barr := @s;
DecC3(@Barr,Barr[1] or SizeOf(Barr),Boolean - toServer);
Log(@DecryptResult);

but first u need load LoadKeys; ^^
 
Last edited:
Initiate Mage
Joined
Mar 19, 2007
Messages
4
Reaction score
0
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

nvermind ;]
 
Last edited:
NN - Nord & Noob
Loyal Member
Joined
Jul 15, 2004
Messages
1,207
Reaction score
689
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

just remeber c1 and c3 type packet length is byte
c2 and c4 length is word its importand else c2 and c4 will be wrong decrypted
 
Initiate Mage
Joined
Mar 19, 2007
Messages
4
Reaction score
0
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

Can u tell me what is wrong

07:33:07 119895521612169451861114111017211611
07:33:07 1682221285122219125152222112882181118111112211111111422129111122211515222211
07:33:07 112611121322136711111141611

---------- Post added at 08:44 AM ---------- Previous post was at 07:26 AM ----------

just remeber c1 and c3 type packet length is byte
c2 and c4 length is word its importand else c2 and c4 will be wrong decrypted
i know that ;] i made packet sniffing based on c1 c2 with decryption
 
Last edited:
NN - Nord & Noob
Loyal Member
Joined
Jul 15, 2004
Messages
1,207
Reaction score
689
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

Code:
function HexTo(Source: String): TByteArray;
var
  i,CharPtr:Integer;
  tmp:String;
begin
  CharPtr := 1;
 for i := 0 To Length(Source) div 2 -1 do
  begin
   tmp := Copy(Source, CharPtr, 2);
    inc(CharPtr,2);
      Result[i] := StrToInt('$'+tmp);
  end;
end;

function ToHex(Buffer:PByteArray; Len: Integer):string;
const 
 HexCode: Array [$0 .. $F] Of AnsiChar = '0123456789ABCDEF';
var
i:integer;
begin
 for i := 0 to Len - 1 do
  begin
 Result := Result + HexCode[Buffer[i] shr 4]+HexCode[Buffer[i] and $0F];
  end;
end;

procedure test;
var
arr: TByteArray;
begin
LoadKeys;
 arr := HexTo(Edit1.text)
  DeCodeC3(@Arr,Arr[1],True);
   Edit2.Text := ToHex(@DecryptResult,DecryptResult[1]);
end;

procedure TMyFrm.MyButtonClick(Sender: TObject);
begin
 test;
end;

i dint tested :tongue: and writed it here ^^ in forum
its should work =)

Have Fun! if u dont get it contact me via msn [6748222@Gmail.com] i explain u there it beter ^^
but best way is read and understand code =)

i know that ;] i made packet sniffing based on c1 c2 with decryption

lol after u Decrypt C3 its become to C1 and after Decrypt C4 its become to C2 so :p: MuOnline have only C1 and C2 packet type`s
some packets are Encrypted some not! =D

C4 is Encypted C2
C3 is Encypted C1

see encDec u first decrypt it then u xor =) case its C1 u simply xor it


PS. in this EncDec Encryption is wrong so peneltium byte will be wrong in some S4 Packets

u can simply fix it with xor
Original byte Xor ByteUGet xor Original := correct byte
or encrypt packet back with real packets Length (read code how HitMan encrypt packet)
and check how do it Evolver =) evolvers encdec work Perfect =D
 
Last edited:
Initiate Mage
Joined
Mar 19, 2007
Messages
4
Reaction score
0
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

OOOOHHHHH ok





i dont understandit ....
see r mail
 
Newbie Spellweaver
Joined
Mar 4, 2009
Messages
41
Reaction score
1
Re: [Release] =Delphi = MuOnline EncDec -C1C2C3C4

How i run it, its show's me errors...

Some1 got for Linux or Windows, perl... something ? Compiled
 
Newbie Spellweaver
Joined
Dec 11, 2013
Messages
17
Reaction score
2
Someone can rewrite this in C++? I don't know delphi so it's hard for me
 
Kingdom of Shadows
Loyal Member
Joined
Jul 13, 2007
Messages
923
Reaction score
320
Someone can rewrite this in C++? I don't know delphi so it's hard for me
Search on this forum and you will find them. You can also find enc/dec src in any gameserver src released on this forum.
 
Newbie Spellweaver
Joined
Jun 12, 2014
Messages
6
Reaction score
0
How to use this in sendsocket function?
I have this: Send($Adrees, "$C1, $00, $00, $23", 0);
 
Back
Top