Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
Packet Encrypt
#1
Hi,
anyone know how are now encrypted the packets on the latest client (Point Blank Beyonds Limits)?

Thanks in advance.

@Awiion @PROGRAMMATOR
Ответ
#2
ManuelDev Написал:Hi,
anyone know how are now encrypted the packets on the latest client (Point Blank Beyonds Limits)?

Thanks in advance.

@Awiion @PROGRAMMATOR

I use this to decrypt packet, but it work just sometimes and not everytime. Sad

Код:
static int Key { get; set; }
        static int GetKey { get { return 29890; } }
        static int GetId { get { return 5404; } }
        static void SetShiftSize(int _key) { Key = _key; }
        static int GetShiftSize { get { return Key; } }

        internal static byte[] Decrypt(byte[] _packet)
        {
            int id = GetId, key = GetKey, shiftSize = GetShiftSize;
            if (shiftSize == 0 || shiftSize == -1)
            {
                shiftSize = ((id + GetKey) % 7) + 1;
                SetShiftSize(shiftSize);
            }
            byte[] bytes = UntangleBuffer(_packet, shiftSize);
            return bytes;
        }

        internal static byte[] UntangleBuffer(byte[] _buffer, int _shiftsize)
        {
            int size = _buffer.Length - 1;
            byte lastByte = _buffer[size];//ultimo byte
            for (int ii = size; ii > 0; ii--)
            {
                _buffer[ii] = (byte)(_buffer[ii] / 2);
            }
            _buffer[0] = (byte)(_buffer[0] / 2);
            return _buffer;
        }
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Encrypt/Decript Strings vinista 0 877 09-18-2023, 12:45 AM
Последний пост: vinista
  Help encrypt/decrypt strings C# vinista 0 791 09-14-2023, 05:23 AM
Последний пост: vinista
  how to descrypt packet pb client version current bmzproject 6 2,127 03-04-2019, 04:17 AM
Последний пост: bmzproject
  How to fix Packet Ping Opcode 97 Udp 3 BallDev 0 1,451 11-28-2018, 08:42 PM
Последний пост: BallDev
  UDP3 Send-back packet ManuelDev 3 1,944 06-29-2018, 12:18 PM
Последний пост: ManuelDev
  Help with encrypt/decrypting binary file nikolen 0 1,482 06-13-2018, 08:44 AM
Последний пост: nikolen
  Need Packet Structure Lastest Client garsia 0 1,178 06-07-2018, 01:43 AM
Последний пост: garsia
  Request Code Encrypt Udp 3 BallDev 1 2,094 06-03-2018, 01:17 PM
Последний пост: Sojang
  Help me UDP3 Before send packet to player bmzproject 0 1,190 05-14-2018, 02:26 PM
Последний пост: bmzproject
  Point Blank unknown packet AlikoD 10 3,298 03-21-2017, 09:30 PM
Последний пост: ManuelDev

Перейти к форуму:


Пользователи, просматривающие эту тему: 1 Гость(ей)