您的位置:首页 > 编程语言 > Python开发

python黑帽子 pydasm 配置

2016-02-11 11:41 751 查看
1.安装mingw32

mingw32-base - Base Package
mingw32-gcc-g++ - C++ Compiler
mingw32-gcc-objc - Objective-C Compiler


2.安装git

3.下载libasm源码

https://github.com/gdbinit/pydbg64/tree/master/libdasm-beta

4.checkoyt pydbg

git clone https://github.com/Fitblip/pydbg.git

5.build pydbg

python setup.py install

6.libdasm install

从VC++中打开命令行 Tools>Visual Studio Command Prompt

设置环境变量

set DISTUTILS_USE_SCK=1

set MSSdk=1

编译,安装

python setup.py build_ext –compiler=mingw32

python setup.py install

7.test

C:\Users\test\Desktop\pydbg64\libdasm-beta\pydasm>python
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC v.1500 32 bit (
Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydbg
>>>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: