[RELEASE] code105 ol,server and client,but no sql

Page 4 of 4 FirstFirst 1234
Results 46 to 54 of 54
  1. #46
    only asm, only hardcore! lastfun is offline
    MemberRank
    Apr 2012 Join Date
    RussiaLocation
    422Posts

    Re: [RELEASE] code105 ol,server and client,but no sql

    Hi guys)
    Quote Originally Posted by exe19890522 View Post
    thanks for your help,but maybe your pic are broken,why i see just some X X X pictures.
    You were right)))

    the first tool (only "Interface.zpk") - unpacks the archive (not decrypted!)
    https://mega.nz/#!GJE0UISK!XQ8Lf18gh...2hJp7Q1vH1d0BM
    +
    https://mega.nz/#!uEdSmayD!HbFg31eoy...pmX0m0Eb3_PyCM

    decryption - needed keys (as they are calculated, i will show below)

    1. each file is encrypted with keys (piece = length of the file is divided by 5)
    2. each piece file (length of the file is divided by 5) have a unique key (encryption = simple xor)
    3. the first key is generated from the file name (the other keys are calculated from the first key)
    4. The calculation of the keys:
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    
    namespace decr_xpk
    {
        class Program
        {
            static void Main(string[] args)
            {
                var ebx = 0x00;
    
                string test = "MyGUI_Core.xml";
                string up = test.ToUpper();
                Console.WriteLine(up);
                byte[] array = Encoding.UTF8.GetBytes(up);
    
                // search key1 (crazy Chinese developers )))  )
    
                for (int s = 0; s <= array.Length-1; s++ )
                {
                    var t = array[s] * 0x7e79 + 0x2531abf;
                    var t1 = t / 0x78fa;
                    var tail = t % 0x78fa;
                    var x = tail ^ array[s];
                    ebx = ebx ^ x;
                    Console.WriteLine(Convert.ToChar(array[s]) + ": t=" + t + " " + "t1=" + t1 + " " + "tail=" + tail + " " + "x=" + x + " " + "ebx=" + ebx);
                }
                Console.WriteLine();
                Console.WriteLine("first XOR key = low byte last ebx (" + ebx + " [dec], "+ ebx.ToString("X2")+" [hex])");
                Console.WriteLine("select the low byte...");
                byte key1 = (byte)(ebx & 0xff);
                Console.WriteLine("First key = " + Convert.ToInt32(key1) + " (Hex = 0x" + key1.ToString("X2") + ")");
    
                // search key2
    
                    var t_1 = ebx * 0x7888 + 0x252341ab;
                    var t1_1 = t_1 / 0x7f63;
                    var tail_1 = t_1 % 0x7f63;
                    ebx = ebx ^ tail_1;
           
                    Console.WriteLine();
                    Console.WriteLine("second XOR key = low byte ebx (" + ebx + " [dec], " + ebx.ToString("X2") + " [hex])");
                    Console.WriteLine("select the low byte...");
                    byte key2 = (byte)(ebx & 0xff);
                    Console.WriteLine("Second key = " + Convert.ToInt32(key2) + " (Hex = 0x" + key2.ToString("X2") + ")");
    
               // search key3
    
                    var t_2 = ebx * 0x7888 + 0x252341ab;
                    var t1_2 = t_2 / 0x7f63;
                    var tail_2 = t_2 % 0x7f63;
                    ebx = ebx ^ tail_2;
    
                    Console.WriteLine();
                    Console.WriteLine("third XOR key = low byte ebx (" + ebx + " [dec], " + ebx.ToString("X2") + " [hex])");
                    Console.WriteLine("select the low byte...");
                    byte key3 = (byte)(ebx & 0xff);
                    Console.WriteLine("Third key = " + Convert.ToInt32(key3) + " (Hex = 0x" + key3.ToString("X2") + ")");
    
              //search keyNNNN
                    Console.WriteLine();
                    Console.WriteLine("search keyNNNN");
                    Console.WriteLine("see ^^ (key2 and key3)"); 
    
                Console.ReadKey();
            }
        }
    }


    https://mega.nz/#!WE8XWRwZ!8086Zpcrp...uujKM6V_2yBLJs

    (I deliberately did not do loops ("for" and etc. ) that would be easier to understand
    can simplify the code (this code is very bad))))
    p/s/ I have a little free time (sorry))
    Last edited by lastfun; 16-12-16 at 02:49 PM.

  2. #47
    JScoder exe19890522 is offline
    MemberRank
    Dec 2011 Join Date
    chinaLocation
    454Posts

    Re: [RELEASE] code105 ol,server and client,but no sql

    Quote Originally Posted by lastfun View Post
    Hi guys)

    You were right)))

    the first tool (only "Interface.zpk") - unpacks the archive (not decrypted!)
    https://mega.nz/#!GJE0UISK!XQ8Lf18gh...2hJp7Q1vH1d0BM

    decryption - needed keys (as they are calculated, i will show below)

    1. each file is encrypted with keys (piece = length of the file is divided by 5)
    2. each piece file (length of the file is divided by 5) have a unique key (encryption = simple xor)
    3. the first key is generated from the file name (the other keys are calculated from the first key)
    4. The calculation of the keys:
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    
    namespace decr_xpk
    {
        class Program
        {
            static void Main(string[] args)
            {
                var ebx = 0x00;
    
                string test = "MyGUI_Core.xml";
                string up = test.ToUpper();
                Console.WriteLine(up);
                byte[] array = Encoding.UTF8.GetBytes(up);
    
                // search key1 (crazy Chinese developers )))  )
    
                for (int s = 0; s <= array.Length-1; s++ )
                {
                    var t = array[s] * 0x7e79 + 0x2531abf;
                    var t1 = t / 0x78fa;
                    var tail = t % 0x78fa;
                    var x = tail ^ array[s];
                    ebx = ebx ^ x;
                    Console.WriteLine(Convert.ToChar(array[s]) + ": t=" + t + " " + "t1=" + t1 + " " + "tail=" + tail + " " + "x=" + x + " " + "ebx=" + ebx);
                }
                Console.WriteLine();
                Console.WriteLine("first XOR key = low byte last ebx (" + ebx + " [dec], "+ ebx.ToString("X2")+" [hex])");
                Console.WriteLine("select the low byte...");
                byte key1 = (byte)(ebx & 0xff);
                Console.WriteLine("First key = " + Convert.ToInt32(key1) + " (Hex = 0x" + key1.ToString("X2") + ")");
    
                // search key2
    
                    var t_1 = ebx * 0x7888 + 0x252341ab;
                    var t1_1 = t_1 / 0x7f63;
                    var tail_1 = t_1 % 0x7f63;
                    ebx = ebx ^ tail_1;
           
                    Console.WriteLine();
                    Console.WriteLine("second XOR key = low byte ebx (" + ebx + " [dec], " + ebx.ToString("X2") + " [hex])");
                    Console.WriteLine("select the low byte...");
                    byte key2 = (byte)(ebx & 0xff);
                    Console.WriteLine("Second key = " + Convert.ToInt32(key2) + " (Hex = 0x" + key2.ToString("X2") + ")");
    
               // search key3
    
                    var t_2 = ebx * 0x7888 + 0x252341ab;
                    var t1_2 = t_2 / 0x7f63;
                    var tail_2 = t_2 % 0x7f63;
                    ebx = ebx ^ tail_2;
    
                    Console.WriteLine();
                    Console.WriteLine("third XOR key = low byte ebx (" + ebx + " [dec], " + ebx.ToString("X2") + " [hex])");
                    Console.WriteLine("select the low byte...");
                    byte key3 = (byte)(ebx & 0xff);
                    Console.WriteLine("Third key = " + Convert.ToInt32(key3) + " (Hex = 0x" + key3.ToString("X2") + ")");
    
              //search keyNNNN
                    Console.WriteLine();
                    Console.WriteLine("search keyNNNN");
                    Console.WriteLine("see ^^ (key2 and key3)"); 
    
                Console.ReadKey();
            }
        }
    }


    https://mega.nz/#!WE8XWRwZ!8086Zpcrp...uujKM6V_2yBLJs

    (I deliberately did not do loops ("for" and etc. ) that would be easier to understand
    can simplify the code (this code is very bad))))
    p/s/ I have a little free time (sorry))
    nice job,and thank you very much.

    - - - Updated - - -

    Quote Originally Posted by aqualung View Post
    I been busy with work and no time spend on these files. I left off with packet id errors, think it is wrong client. I noticed while searching the Web that shortly after the date of these server files, client version 2000 was available for download. Perhaps these are an early version for v2000 client. Maybe then the packet id's will match.

    V2000
    no,this v2000 is also the v1013.

    - - - Updated - - -
    @lastfun but how to use the two files?? under dos or missing sth?
    when i run t_zpk,it will tip:
    could not find “C:\Users\Administrator\File_List.txt”
    if i new a .txt.file named this ,it will tip:
    could not find “C:\Users\Administrator\offsets.bin”
    how can i get the right files:File_List.txt and offsets.bin??

  3. #48
    only asm, only hardcore! lastfun is offline
    MemberRank
    Apr 2012 Join Date
    RussiaLocation
    422Posts

    Re: [RELEASE] code105 ol,server and client,but no sql

    @exe19890522
    sorry, bro)
    yesterday was about to sleep and forgot to add these files - https://mega.nz/#!uEdSmayD!HbFg31eoy...pmX0m0Eb3_PyCM
    p.s. today (probably) finished a full unpacking

  4. #49
    JScoder exe19890522 is offline
    MemberRank
    Dec 2011 Join Date
    chinaLocation
    454Posts

    Re: [RELEASE] code105 ol,server and client,but no sql

    @lastfun Never mind, please ensure to keep the full sleep, this will help you better work and life, don't stay up and it will harm your health and future.
    but when i unpack the Interface.zpk,it will unpack many files,but they are all broken,can't be open.
    i just put the missing file in C:\Users\Administrator,and run t_zpk.exe.
    may i have something wrong?
    Last edited by exe19890522; 17-12-16 at 02:16 PM.

  5. #50
    only asm, only hardcore! lastfun is offline
    MemberRank
    Apr 2012 Join Date
    RussiaLocation
    422Posts

    Re: [RELEASE] code105 ol,server and client,but no sql

    Quote Originally Posted by exe19890522 View Post
    but when i unpack the Interface.zpk,it will unpack many files,but they are all broken,can't be open.
    no broken)
    just do not decrypted

    ===upd===
    fucking size)
    Last edited by lastfun; 18-12-16 at 12:25 AM.

  6. #51
    JScoder exe19890522 is offline
    MemberRank
    Dec 2011 Join Date
    chinaLocation
    454Posts

    Re: [RELEASE] code105 ol,server and client,but no sql

    Quote Originally Posted by lastfun View Post
    no broken)
    just do not decrypted

    ===upd===
    fucking size)
    maybe ,can you use another website to upload images?

  7. #52
    only asm, only hardcore! lastfun is offline
    MemberRank
    Apr 2012 Join Date
    RussiaLocation
    422Posts

    Re: [RELEASE] code105 ol,server and client,but no sql

    no problem, bro - give a link to your website

  8. #53
    JScoder exe19890522 is offline
    MemberRank
    Dec 2011 Join Date
    chinaLocation
    454Posts

    Re: [RELEASE] code105 ol,server and client,but no sql

    Quote Originally Posted by lastfun View Post
    no problem, bro - give a link to your website
    maybe you can use this https://imgur.com/

  9. #54
    JScoder exe19890522 is offline
    MemberRank
    Dec 2011 Join Date
    chinaLocation
    454Posts

    Re: [RELEASE] code105 ol,server and client,but no sql

    @lastfun hi friend,are you still study on code105 ??did you finish your tool to unpack .zpk files?



Page 4 of 4 FirstFirst 1234

Advertisement