Comments (6)
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.
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.
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.
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.
The thing you describe looks for me as an IDE (VS Code) plugin, rather than the unpack tool feature.
from pboman3.
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)
- Any plans on adding support for the new Windows 11 context menu? HOT 3
- Binarize option for packing HOT 5
- PBO Manager halving the file size HOT 10
- Windows 11 Navigation Pane Context Menu causing File Explorer crashes HOT 5
- No window promt when packing/unpacking PBO via context menu HOT 5
- Program crashes when opening an mangled mikero 9.11 PBO HOT 9
- Allow overwriting of existing PBO HOT 2
- New (1.5.0) junk-filter is too aggressive HOT 8
- Spelling error HOT 2
- File extraction doesn't work. HOT 4
- Unable to open some PBOs. Missions and addons HOT 4
- Option to use custom PBO file icons HOT 4
- Options Typo HOT 1
- msix build cannot install HOT 3
- Overwrite existing PBO when packing HOT 1
- Junk filter and empty files HOT 3
- Can't open a PBO HOT 2
- (Suggestion) Rename previous .pbo to .pbo.bak instead of failing to create pbo. HOT 2
- PboManager icon lingering on W11 taskbar causing issues until restart. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pboman3.