Comments (9)
我自己修改了一下源代码(为了实现自动补充文件头),您可以在这里查看它。(不一定普适但可以解决上述问题)
from pyinstxtractor.
Great! Thanks for your help.
from pyinstxtractor.
wut??
from pyinstxtractor.
wut??
发生甚么事了?
from pyinstxtractor.
wut??
What happened?
it would have been better if you wrote in english
from pyinstxtractor.
wut??
What happened?
it would have been better if you wrote in english
......emm I'm sorry....
from pyinstxtractor.
This code still seems to have problems with decompilation of some exe's is what it says
from pyinstxtractor.
Please check again with the latest build. This should be working now.
from pyinstxtractor.
In a Python 3.7 environment, run
$ python3.7 pyinstxtractor.py pyre.exe
[+] Processing pyre.exe
[+] Pyinstaller version: 2.1+
[+] Python version: 3.7
[+] Length of package: 5796250 bytes
[+] Found 61 files in CArchive
[+] Beginning extraction...please standby
[+] Possible entry point: pyiboot01_bootstrap.pyc
[+] Possible entry point: 1.pyc
[+] Found 133 files in PYZ archive
[+] Successfully extracted pyinstaller archive: pyre.exe
You can now use a python decompiler on the pyc files within the extracted directory
Now you can decompile 1.pyc
$ uncompyle6 pyre.exe_extracted/1.pyc
# uncompyle6 version 3.8.0
# Python bytecode 3.7.0 (3394)
# Decompiled from: Python 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:21)
# [GCC 9.4.0]
# Embedded file name: 1.py
def check():
a = input('plz input your flag:')
c = [144, 163, 158, 177, 121, 39, 58, 58, 91, 111, 25, 158, 72, 53, 152, 78, 171, 12, 53, 105, 45, 12, 12, 53, 12, 171, 111, 91, 53, 152, 105, 45, 152, 144, 39, 171, 45, 91, 78, 45, 158, 8]
if len(a) != 42:
print('wrong length')
return 0
b = 179
for i in range(len(a)):
if ord(a[i]) * 33 % b != c[i]:
print('wrong')
return
print('win')
check()
# okay decompiling pyre.exe_extracted/1.pyc
from pyinstxtractor.
Related Issues (20)
- 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
- [!] Error : Missing cookie, unsupported pyinstaller version or not a pyinstaller archive HOT 5
- [!] Error : Missing cookie, unsupported pyinstaller version or not a pyinstaller archive 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.