Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decompilers fails on complex files #1

Open
Mixaill opened this issue Jul 15, 2017 · 7 comments
Open

Decompilers fails on complex files #1

Mixaill opened this issue Jul 15, 2017 · 7 comments

Comments

@Mixaill
Copy link

Mixaill commented Jul 15, 2017

Decompilers still fail to decompile .pyc even after bytecode_simplifier if original file was huge and complex.

Tested decompilers: uncompyle2, uncompyle6, pycdc.

test.zip

@ghost
Copy link

ghost commented Jul 15, 2017

@Mixaill, есть хоть какой-то смысл заменить marshal на xdis в этом проекте?
Ну и скопировать сюда opcode.py из Python2.7.7 ?

@extremecoders-re
Copy link
Owner

@Mixaill The script is protected using "Exec only in WOT" mode. This means BigWorld, BattleReplay etc modules from WOT must be present in PYTHONPATH.

Else the script would fail to import the module and consequently not all layers would be unwrapped. Unwrapping all the layers is very important. Bytecode simplifier works on the final layer.

At the moment, I am working on providing a fake BigWorld module to bypass this check.

@homyzere
Copy link

Maybe you could explain the method to put WOT modules in the PYTHONPATH to make your tool working as intended, do we need to decompress the pkg file that contains python files, etc ...
And keep up the good work ;)

@Stabmeqt
Copy link

@extremecoders-re any luck on fake BigWorld?

@extremecoders-re
Copy link
Owner

@Stabmeqt I am afraid there hasn't been any progress on this.

@Stabmeqt
Copy link

@extremecoders-re That's unfortunate. Anyway, thank you for all the good work. Hope to see how you defeated WOT mode protection one day :)

@fawdlstty
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants