Jump to content

UltimateProtection by FrankieCommando


Recommended Posts

  • Premium

Hello guys !

I want to write a clean code using Frankie Commando release ( I think it's best free protection at this moment).

Some help to remove encrypted syntaxes?

Encryption functions:

Spoiler

#include "stdafx.h"

std::string FromHex(const std::string& in) {
    std::string output;
    if ((in.length() % 2) != 0) {
        FILE *f=fopen("HackShield.Config.Error.txt", "w");
        fputs("[HackShield] Error while decrypting this text: ", f);
        fputs(in.c_str(), f);
        fputs("\n", f);
        fclose(f);
        exit(-1);
        return "";
    }
    size_t cnt = in.length() / 2;
    for (size_t i = 0; cnt > i; ++i) {
        unsigned long int s = 0;
        std::stringstream ss;
        ss << std::hex << in.substr(i * 2, 2);
        ss >> s;
        output.push_back(static_cast<unsigned char>(s));
    }
    return output;
}

std::string UltimateCipher(std::string Str) {
    char Key[3] = { 'A', 'B', 'C' };
    std::string Encrypted = Str;
    for (unsigned int i = 0; i<Str.size(); i++) Encrypted = Str ^ Key[i % (sizeof(Key) / sizeof(char))];
    return Encrypted;
}

std::string UltimateDecrypt(std::string MyString) {
    return UltimateCipher(FromHex(MyString));
}

 

Example of encypted part code:

UltimateDecrypt("122d242e371c1511051e170a")

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • 7 months later...
  • 2 months later...
  • 6 months later...
  • 6 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      I just implemented some costumes and they are not visible

    2. 0

      Skill Tree Problem

    3. 97

      Ulthar SF V2 (TMP4 Base)

    4. 5

      Client Crashes through Offline Shop (Ikarus)

    5. 5

      VIVY-WORLD2 - FARM TO THE TOP

    6. 0

      ToolTip Bug?

    7. 0

      Skill tree build erorr

    8. 0

      Visual Bug | How to fix this visual bug inside the Special Storage feature?

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.