Giter Site home page Giter Site logo

Comments (6)

winseros avatar winseros commented on May 28, 2024

Hi, the deobfuscation mechanism is hard to implement and easy to break. I don't have enough spare time to play the sword vs shield game against the Mikero's tools. Assuming the Mikero's tools will always be one step forward in the game and introduce new and new obfuscation features.

from pboman3.

ilbinek avatar ilbinek commented on May 28, 2024

I fully understand. It was that I just found out that right now it's just simple "move the code to a file with unorthodox name and replace the original with simple include", which Arma has no problem with.
Works for hpp, cpp and sqf files. Not sure if there's some kind of obfuscation going on for images or models.

A simple "preprocessor" implementation should do the trick

from pboman3.

winseros avatar winseros commented on May 28, 2024

But how woud you distinguish an "obfuscation include" and a "legitimate include"? How to resolve only "obfuscation includes" only and not "legitimate" ones?

from pboman3.

ilbinek avatar ilbinek commented on May 28, 2024

I see two ways.
Either let it be "manual" and let it up to the user to turn the "precompiler" on.
Or detection of obfuscated files - mainly by filenames. Containing nonstandard characters. I didn't check your code, but you have to be doing something to support the unpacking of these files. BankRev, an older PBOManager fails, might be a good starting point.

In the case of "legitimate" includes that have the files in the folder, I don't think it's a big deal if they get included in a big config.cpp. In the case of an obfuscated PBO, you usually don't care about how it was originally, you just want the data.

from pboman3.

winseros avatar winseros commented on May 28, 2024

The thing you describe looks for me as an IDE (VS Code) plugin, rather than the unpack tool feature.

from pboman3.

ilbinek avatar ilbinek commented on May 28, 2024

This feature can surely be implemented as IDE plugin, as standalone program, or simple python/bash script.
It would just make sense to me to make it a feature at "the core".

from pboman3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.