Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 14:11

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

Advertisement



XOR ingame

Discussion on XOR ingame within the WarRock forum part of the Shooter category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2017
Posts: 1
Received Thanks: 0
XOR ingame

Hey there,
does anybody know the latest XOR ingame?
I tried every key from 0 to 255 but it isnt working.
Thanks in advance!
player7x9x is offline  
Old 07/16/2017, 03:48   #2



 
+Yazzn's Avatar
 
elite*gold: 420
Join Date: Jan 2012
Posts: 1,082
Received Thanks: 1,000
0xC0 is the key I got from the encryption/decryption routines but from what I can see they've changed the way the packets are being encoded.
+Yazzn is offline  
Old 07/24/2017, 14:52   #3
 
Sleutel's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 748
Received Thanks: 569
Quote:
Originally Posted by znoeen View Post
Warrock stoped sending ascii packets. But sending a byte array with datatypes.
Still looking into a way to convert it to the original ascii or a way to handle these packets.
Any help would be welcome
Code:
    public static class Dump
    {
        private static string DumpToString(byte[] buffer, int bytesPerLine = 16)
        {
            if (buffer == null)
                return "<null>";

            const int firstHexColumn = 11; // 8 characters for the address & 3 spaces

            var bytesLength = buffer.Length;
            var hexChars = "0123456789ABCDEF".ToCharArray();
            var firstCharColumn = firstHexColumn
                                  + bytesPerLine * 3       // - 2 digit for the hexadecimal value and 1 space
                                  + (bytesPerLine - 1) / 8 // - 1 extra space every 8 characters from the 9th
                                  + 2;                  // 2 spaces 

            var lineLength = firstCharColumn
                             + bytesPerLine           // - characters to show the ascii value
                             + Environment.NewLine.Length; // Carriage return and line feed (should normally be 2)

            var line = (new string(' ', lineLength - Environment.NewLine.Length) + Environment.NewLine).ToCharArray();
            var expectedLines = (bytesLength + bytesPerLine - 1) / bytesPerLine;
            var result = new StringBuilder(expectedLines * lineLength);

            for (var i = 0; i < bytesLength; i += bytesPerLine)
            {
                line[0] = hexChars[(i >> 28) & 0xF];
                line[1] = hexChars[(i >> 24) & 0xF];
                line[2] = hexChars[(i >> 20) & 0xF];
                line[3] = hexChars[(i >> 16) & 0xF];
                line[4] = hexChars[(i >> 12) & 0xF];
                line[5] = hexChars[(i >> 8) & 0xF];
                line[6] = hexChars[(i >> 4) & 0xF];
                line[7] = hexChars[(i >> 0) & 0xF];

                var hexColumn = firstHexColumn;
                var charColumn = firstCharColumn;

                for (var j = 0; j < bytesPerLine; j++)
                {
                    if (j > 0 && (j & 7) == 0)
                        hexColumn++;

                    if (i + j >= bytesLength)
                    {
                        line[hexColumn] = ' ';
                        line[hexColumn + 1] = ' ';
                        line[charColumn] = ' ';
                    }
                    else
                    {
                        var b = buffer[i + j];
                        line[hexColumn] = hexChars[(b >> 4) & 0xF];
                        line[hexColumn + 1] = hexChars[b & 0xF];
                        line[charColumn] = b < 32 ? '·' : (char)b;
                    }

                    hexColumn += 3;
                    charColumn++;
                }

                result.Append(line);
            }

            return result.ToString();
        }

        [Conditional("DEBUG")]
        public static void PrintBuffer(string comment, byte[] buffer)
        {
            Console.WriteLine();
            Console.WriteLine(comment);
            Console.WriteLine(DumpToString(buffer));
        }
    }
Sleutel is offline  
Thanks
1 User
Old 07/28/2017, 17:14   #4
 
znoeen's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 58
Received Thanks: 33
Quote:
Originally Posted by Sleutel View Post
Code:
    public static class Dump
    {
        private static string DumpToString(byte[] buffer, int bytesPerLine = 16)
        {
            if (buffer == null)
                return "<null>";

            const int firstHexColumn = 11; // 8 characters for the address & 3 spaces

            var bytesLength = buffer.Length;
            var hexChars = "0123456789ABCDEF".ToCharArray();
            var firstCharColumn = firstHexColumn
                                  + bytesPerLine * 3       // - 2 digit for the hexadecimal value and 1 space
                                  + (bytesPerLine - 1) / 8 // - 1 extra space every 8 characters from the 9th
                                  + 2;                  // 2 spaces 

            var lineLength = firstCharColumn
                             + bytesPerLine           // - characters to show the ascii value
                             + Environment.NewLine.Length; // Carriage return and line feed (should normally be 2)

            var line = (new string(' ', lineLength - Environment.NewLine.Length) + Environment.NewLine).ToCharArray();
            var expectedLines = (bytesLength + bytesPerLine - 1) / bytesPerLine;
            var result = new StringBuilder(expectedLines * lineLength);

            for (var i = 0; i < bytesLength; i += bytesPerLine)
            {
                line[0] = hexChars[(i >> 28) & 0xF];
                line[1] = hexChars[(i >> 24) & 0xF];
                line[2] = hexChars[(i >> 20) & 0xF];
                line[3] = hexChars[(i >> 16) & 0xF];
                line[4] = hexChars[(i >> 12) & 0xF];
                line[5] = hexChars[(i >> 8) & 0xF];
                line[6] = hexChars[(i >> 4) & 0xF];
                line[7] = hexChars[(i >> 0) & 0xF];

                var hexColumn = firstHexColumn;
                var charColumn = firstCharColumn;

                for (var j = 0; j < bytesPerLine; j++)
                {
                    if (j > 0 && (j & 7) == 0)
                        hexColumn++;

                    if (i + j >= bytesLength)
                    {
                        line[hexColumn] = ' ';
                        line[hexColumn + 1] = ' ';
                        line[charColumn] = ' ';
                    }
                    else
                    {
                        var b = buffer[i + j];
                        line[hexColumn] = hexChars[(b >> 4) & 0xF];
                        line[hexColumn + 1] = hexChars[b & 0xF];
                        line[charColumn] = b < 32 ? '·' : (char)b;
                    }

                    hexColumn += 3;
                    charColumn++;
                }

                result.Append(line);
            }

            return result.ToString();
        }

        [Conditional("DEBUG")]
        public static void PrintBuffer(string comment, byte[] buffer)
        {
            Console.WriteLine();
            Console.WriteLine(comment);
            Console.WriteLine(DumpToString(buffer));
        }
    }
Very Nice man! Thank you so much for sharing this.
znoeen is offline  
Reply


Similar Threads Similar Threads
Xor Rohan Bot V1 First Bot For Xor Ever!!
06/11/2012 - Rohan - 13 Replies
xorrohan-bot.blogspot.com/ This Is The Site That Will Make Your Life Easer!!! Look There Is A Scan Download Picture!! Every Thing Check It Out!! Fast!!!!!!!!!!!!!!!!! The Only Xor Rohan Bot Came Up Now!!!! Its 100% Clear!!
xor modifyed exe fastrun,damage,dodge,walljump
07/09/2009 - S4 League Hacks, Bots, Cheats & Exploits - 239 Replies
Well sense eveyone is doing all this stuff now, i guess i shouldent care. I didnt want all this to be in public hands but hey. INF fastrun INF dodge INF dodge, dodge INF walljump + damage WINRAR CRC5 :0ed1a01ee9383970d49a15632279c5de
XOR Encryptor
09/22/2007 - Kal Online - 2 Replies
Hat sich erledigt! >>>DELETE/CLOSE THREAD^^



All times are GMT +1. The time now is 14:11.


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.