OP18 March, 2021 - 12:54 AM(This post was last modified: 18 March, 2021 - 12:57 PM by ProjectTrauma.)
Reply
PythonUnpacking
Since many people requested me to show a brief explaination on how I extract Python Executables Sourcecode,
I figured why not make it available for everybody. Python itself, can be easy to Unpack, but tricky to deobfuscate
that's why I will only be featuring the general unpacking process,
but no actual deobfusacting processes.
I learned this shit through Roberth himself, sadly, he's been banned quite a while ago,
so I thought why not post my variation on it.
Step Eight:
After that, drag the main-file into HxD, after that, the __init__.pyc and then aliases.pyc file.
Step Nine:
Now you need to follow my steps exactly.
First, copy the __init__.pyc 's first line of hexadecimals.
Then, copy the aliases.pyc 's first line of hexadecimals.
Now look at them both, you will go from left to right when looking at them.
The first few pairs (A2, C9 etc.) will look the same, if not, you did something wrong
The first pair that is not identical to the other one, will be where you start your selection.
Select that pair, and select the rest on the right as well.
Now, replace them all with 00.
After that, copy that line of hexadecimals, and open the main-file tab in HxD
{ Note. Magic Numbers (first 4 hex characters) will vary depending on the Python version used.}
Then, for the last step, paste your newly created line into the first row.
[ If you need help on this one, watch the gif I made below: ]
Step Eleven:
Open the CMD in your main-folder by using this simple trick:
Step Twelve: Type: uncompyle6 - o unpacked Tutorial.pyc | Replace "Tutorial" with your main-file name!
Open the "unpacked" Folder
Here you will have your Unpacked file with the entire Sourcecode!
If you encounter any type of errors, when doing Step Twelve that means that your Software is either compiled using later
versions of PyInstaller, since some may bug out the process.
Or your didn't install something properly