Comments (5)
Thank you very much! You are a professional in your field
from pyinstxtractor.
from pyinstxtractor.
Custom PyInstaller with magic AAA\014\013\012\013\016
instead of the standard MEI\014\013\012\013\016
.
Crypto key is c132414b20084f12
and hidden in pyimod01_archive.pyc
Can use the above info in pyinstxtractor-ng to extract.
from pyinstxtractor.
Interesting, thanks for the help! The only thing I wanted to clarify is how you identified the modified magic
and discovered the new one. And also what instructions the user brought when he modified PyInstaller. Anyway, thanks a lot again.
from pyinstxtractor.
The only thing I wanted to clarify is how you identified the modified magic and discovered the new one.
For this specific file going through the hex dump was enough to figure the modified magic. The magic is located towards the end of the executable. You can load any standard pyinstaller exe and compare it with this one.
About the crypto key which is modified too regarding to where it is stored. In a standard exe, the crypto key is in a file with a name of the form XX_crypto_key.pyc. Here the key is inlined in the pyimod01_archive.pyc file and as a result automatic decryption in pyinstxtractor-ng doesn't work out of the box. The key can be recovered with a hex editor if you are familiar with pyc file structure and with decompiling/disassembling otherwise.
And also what instructions the user brought when he modified PyInstaller.
Simple modifications to pyinstaller can always be done. Like to use a different magic you have to go through pyinstaller source code and replace all instances of it. For the crypto key part, the key can be hardcoded here instead of loading it from another file. Small changes but gets the job done.
from pyinstxtractor.
Related Issues (20)
- Can you commit it to PyPi HOT 1
- How to patch a .pyc file in existing pyinstaller build? HOT 6
- Missing cookie, unsupported pyinstaller version or not a pyinstaller archive HOT 9
- Missing cookie, unsupported pyinstaller HOT 1
- Missing cookie, unsupported pyinstaller version or not a pyinstaller archive HOT 9
- PYZ-00.pyz cannot decrypt. I have tried many ways, but I cannot extract them HOT 2
- Missing cookie, unsupported pyinstaller version or not a pyinstaller archive HOT 5
- [!] Error : Missing cookie, unsupported pyinstaller version or not a pyinstaller archive HOT 2
- Missing cookie, unsupported pyinstaller version or not a pyinstaller archive HOT 3
- [!] Error : Missing cookie, unsupported pyinstaller version or not a pyinstaller archive HOT 4
- Not working HOT 1
- Decompile incomplete HOT 1
- Missing cookie HOT 2
- Doesn't Support python3.11
- how to use? HOT 14
- [!] Error: Could not open run.exe
- No pyc file generated HOT 2
- Unsupported opcode: MAKE_CELL pass # WARNING: Decompyle incomplete HOT 1
- is there anyway to pack extract folder to exe again ? HOT 1
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 pyinstxtractor.