ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### pyinstaller打包 exe 反编译逆向 资料:https://blog.csdn.net/zjjcxy_long/article/details/127346296 资料:https://blog.csdn.net/qq_15969343/article/details/120001351?spm=1001.2014.3001.5506 资料:https://blog.csdn.net/qq_44808585/article/details/104148402 **下载PyInstxtractor** github_url:https://github.com/extremecoders-re/pyinstxtractor github加速_url:https://gitcode.net/mirrors/extremecoders-re/pyinstxtractor?utm_source=csdn_github_accelerator 然后在 exe 所在目录 打开cmd窗口输入下面指令。PyInstxtractor.py文件要和exe放一起, ``` python pyinstxtractor.py main.exe ``` ![](https://img.kancloud.cn/13/31/13314d5898b4144a403f872a563cc22f_1156x433.png) ![](https://img.kancloud.cn/95/aa/95aa238b80ae48b83b40abd17f84bb51_1649x512.png) . **反编译pyc文件 uncompyle6** uncompyle6是一个原生python的跨版本反编译器和fragment反编译器,是decompyle、uncompyle、uncompyle2等的接替者。 uncompyle6可将python字节码转换回等效的python源代码,它接受python 1.3版到3.8版的字节码,这其中跨越了24年的python版本,此外还包括Dropbox的Python 2.5字节码和一些PyPy字节码。 github项目:https://github.com/rocky/python-uncompyle6 安装 ``` pip install uncompyle6 -i https://pypi.tuna.tsinghua.edu.cn/simple ``` 验证 ``` uncompyle6 ``` ![](https://img.kancloud.cn/c6/78/c678b280dd85d679a009a605c88ca142_1415x634.png) 使用,xxx是文件名,在xxx.pyc所在的目录打开cmd窗口 ``` uncompyle6 -o xxx.py xxx.pyc ``` . **在线反编译pyc** 网站:https://tool.lu/pyc/ 没搞懂他这个在线反编译牛逼一些 ![](https://img.kancloud.cn/3c/ac/3cacc2d56ce59ee79e5995a7d999978f_1492x1031.png) . **使用pycdc反编译** 有时候无法反编译,则需要使用pycdc这个工具了 下载:https://pan.baidu.com/s/1FFgbneyM46bektofZeQrFA 提取码: g8ag 把需要反编译的pyc文件和下载的pycdc.exe打开cmd窗口输入指令就可以 ``` .\pycdc auth.pyc ``` ![](https://img.kancloud.cn/a1/de/a1de89b318d350b74d36368786a50bb7_1549x860.png) 有时候需要Winhex这个工具修改头十六进制 下载: https://pan.baidu.com/s/1tul25yhBY2Rw0t0-UtOY8A 提取码: 7sen ![](https://img.kancloud.cn/e3/b4/e3b495b7f50ad0cd0b5b4057137c10ac_1272x851.png)