Secure Tools against modded PS3Lib!

Discussion dans 'Programmation' créé par D@rk, 12 Février 2015.

  1. D@rk

    D@rk Membre

    Inscrit:
    1 Février 2015
    Messages:
    1
    J'aime reçus:
    2
    Points:
    2 273
    TES7d4gBlBpBBRzymPTz3r3fclE2_Ikk.png
    Theres a new modded ps3lib which can log all the bytes your write and read. To get around this issue there are several things you can do.
    Add this code inside your Form Load event.

    Method 1: (Best Method)
    Check the MD5 Hash of the PS3Lib to make sure it matches either 2.50, or 2.60.
    Code:
    Code:
    try
                {
                    byte[] M250 = new byte[] { 0x7B, 0xE3, 0xDB, 0x9B, 0x76, 0x08, 0xCB, 0x05, 0xCC, 0xF5, 0x6C, 0x5C, 0x60, 0x6E, 0xBD, 0x60 };
                    byte[] M260 = new byte[] { 0xF0, 0xE0, 0x4E, 0xFE, 0x7B, 0x2A, 0xA4, 0x77, 0x11, 0x53, 0x59, 0x15, 0xE2, 0xB1, 0xA1, 0xAB };
                    byte[] MD5Result;
                    using (var md5 = MD5.Create())
                    {
                        MD5Result = md5.ComputeHash(File.ReadAllBytes(Directory.GetCurrentDirectory() + @"\PS3Lib.dll"));
                        string PsLib = ASCIIEncoding.ASCII.GetString(MD5Result);
                        string PsLib250 = ASCIIEncoding.ASCII.GetString(M250);
                        string PsLib260 = ASCIIEncoding.ASCII.GetString(M260);
                        if (PsLib != PsLib250 && PsLib != PsLib260)
                        {
                            Application.Exit();
                        }
                    }
                }
                catch
                {
                    Application.Exit();
                }

    Method 2:
    Check the file version (Modded Lib is 9.9.9.9) then automatically exit if it is not 4.3 or 4.4.
    I'll write something up for this soon, you can always add both in too TES7d4gBlBpBBRzymPTz3r3fclE2_Ikk.gif
     
    Dernière édition par un modérateur: 11 Mars 2017
    4 personnes aiment ça.
  2. MsKx-

    MsKx- Premium

    Inscrit:
    31 Mai 2015
    Messages:
    16
    J'aime reçus:
    2
    Points:
    1 283
    Crédits : NextGenUpdate.
     

Partager cette page

  1. Ce site utilise des cookies. En continuant à utiliser ce site, vous acceptez l'utilisation des cookies.
    Rejeter la notice