目录
本文是全系列中第12 / 23篇:python学习记
- python request 使用代理服务器访问
- python request 对应的HTTP Header头
- Python request 携带cookies访问
- Python Request 请求的时候HTTP status code的响应代码是什么意思
- 这个问题好麻烦,使用了python的xmlrpc 发布数据,但是这个wordpress总会有502这个错误产生
- List of Dictionaries 是什么类型
- 这两个怎么会不一样呢,list还是dict,都是list的话又有什么区别呢
- 这种字符串到底是list还是dict,傻傻分不清怎么办?Python遇到这种List[dict]怎么取出中间的数值呢
- python遇到wordpress xmlrpc 模块的AttributeError: module 'collections' has no attribute 'Iterable'问题怎么解决
- 为什么我的python的request的结果都是不能格式化成json输出呢
- python操作文件常用到的函数
- 太恶心了,直接反编译一下再修改得了
- google翻译的API竟然还是按小时收费的,那就算了
- 简直是可以吐血身亡了,learndash本身就支持这样的api直接使用api调用就行了
- 如果是pyinstall编译过的exe程序可以直接使用这个软件反编译出来
- 使用python可以直接在selenium采集就可以了
- 搞了半天,我用pyinstall解决不了的问题用pythonautopy解决了
- woocommerce的REST API没有写这个tag怎么写入,但是我读取了一个看到这个格式其实还是这样子的。。。
- sql过滤语句测试
- python更新mysql的update语句竟然是这两个标点符号的问题
- mysql的这个sql语句为什么总是更新失败呢...
- 计划: python实现图片下载自动分类
- woocommerce直接创建一个REST API接口,太方便了。。。
DY步,把exe的程序变异成pyc
D:\Downloads\python-exe-unpacker-master>python pyinstxtractor.py 02-上传阿里云oss.exe acted D:\Downloads\python-exe-unpacker-master\pyinstxtractor.py:95: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp [*] Processing 02-上传阿里云oss.exe [*] Pyinstaller version: 2.1+ [*] Python version: 37 [*] Length of package: 14934525 bytes [*] Found 127 files in CArchive [*] Beginning extraction...please standby [!] Warning: The script is running in a different python version than the one used to build the executable Run this script in Python37 to prevent extraction errors(if any) during unmarshalling [*] Found 812 files in PYZ archive [*] Successfully extracted pyinstaller archive: 02-上传阿里云oss.exe You can now use a python decompiler on the pyc files within the extracted directory D:\Downloads\python-exe-unpacker-master>
第二部,吧解压的数据包里面程序添加一个文件头
添加一个文件头,直接找一个PYC文件吧DY行的16进制复制添加到这个没有后缀的文件上就行了
然后在吧这个文件修改成pyc结尾的
得到:上传阿里云oss.pyc
第三步,使用uncompyle6 吧这个pyc结尾的文件反编译成py文件就行了
操作:
>uncompyle6 -o . 上传阿里云oss.pyc fest 上传阿里云oss.pyc -- # Successfully decompiled file