win732位安装sulley
2015-11-18 23:51
344 查看
1、安装MinGW,没必要去下载get工具,一点点下载,太慢而且容易出错,直接往下下载个离线安装好了的版本即可,我是从下载吧里找到的。mingw主要是编译pydasm、pydbg、pcapy时要用。
2、下载pydasm:http://libdasm.googlecode.com/files/libdasm-beta.zip
搞定!
注意:假如使用gcc4.0以上,请将C:\Python27\Lib\distutils\cygwincompiler.py 中所有的-mno_cygwin删除掉,应该有4到5处。
3、github上下载pydbg,直接拷贝到python27\Lib\site-packages下,注意将你编译的pydasm.pyd覆盖pydbg目录下的pydasm.pyd,否则可能会出错。
4、github上下载pycapy和
http://www.winpcap.org/install/bin/WpdPack_4_1_2.zip,解压
IF YOU ARE EXPERIENCING ISSUES BUILDING PCAPY:
You may need to install setuptools You may also need to install
MinGw’s g++ package since pcapy is compiling c++ code. Without you
will get Errors about: “No such file or directory” You may need to
modify pcapy’s setup.py with the locations of WpdPack Include and Lib
directories from “c:\devel\oss\wpdpack\Include” to
“C:\sulley_build\WpdPack\Include” (or wherever you placed yours) After
running setup.py build_ext -c mingw32, if you get an error saying
“gcc: error: file not found” you may need to copy
“C:\mingw32\lib\libw2_32.a” to “C:\sulley_build\WpdPack\Lib\” If you
still receive an error saying “gcc: error: unrecognized command line
option ‘-mno-cygwin’”, open
“C:\Python27\Lib\distutils\cygwincompiler.py” and change the line that
says “no_cygwin = ’ -mno-cygwin’” to “no_cygwin = ””. It should be
line 323 Lastly, if you receive the error “g++: error: unrecognized
command line option ‘–output-lib’”, open
“C:\Python27\Lib\distutils\cygwincompiler.py” and comment out the line
that says “extra_preargs.extend([“–output-lib”, lib_file])”. Should
be line 225
5、安装winpcap
6、下载Impacket,不用编译,直接进去setup.py install。OK!start funzzing….
2、下载pydasm:http://libdasm.googlecode.com/files/libdasm-beta.zip
C:\....\libdasm-1.5\pydasm>setup.py -build_ext -c mingw32 C:\.....\libdasm-1.5\pydasm>setup.py install
搞定!
注意:假如使用gcc4.0以上,请将C:\Python27\Lib\distutils\cygwincompiler.py 中所有的-mno_cygwin删除掉,应该有4到5处。
3、github上下载pydbg,直接拷贝到python27\Lib\site-packages下,注意将你编译的pydasm.pyd覆盖pydbg目录下的pydasm.pyd,否则可能会出错。
4、github上下载pycapy和
http://www.winpcap.org/install/bin/WpdPack_4_1_2.zip,解压
C:\....\pcapy-0.10.5>python setup.py build_ext -c mingw32 -I "C:\sulley_build\WpdPack\Include" -L "C:\sulley_build\WpdPack\Lib" C:\....\pcapy-0.10.5>python setup.py install
IF YOU ARE EXPERIENCING ISSUES BUILDING PCAPY:
You may need to install setuptools You may also need to install
MinGw’s g++ package since pcapy is compiling c++ code. Without you
will get Errors about: “No such file or directory” You may need to
modify pcapy’s setup.py with the locations of WpdPack Include and Lib
directories from “c:\devel\oss\wpdpack\Include” to
“C:\sulley_build\WpdPack\Include” (or wherever you placed yours) After
running setup.py build_ext -c mingw32, if you get an error saying
“gcc: error: file not found” you may need to copy
“C:\mingw32\lib\libw2_32.a” to “C:\sulley_build\WpdPack\Lib\” If you
still receive an error saying “gcc: error: unrecognized command line
option ‘-mno-cygwin’”, open
“C:\Python27\Lib\distutils\cygwincompiler.py” and change the line that
says “no_cygwin = ’ -mno-cygwin’” to “no_cygwin = ””. It should be
line 323 Lastly, if you receive the error “g++: error: unrecognized
command line option ‘–output-lib’”, open
“C:\Python27\Lib\distutils\cygwincompiler.py” and comment out the line
that says “extra_preargs.extend([“–output-lib”, lib_file])”. Should
be line 225
5、安装winpcap
6、下载Impacket,不用编译,直接进去setup.py install。OK!start funzzing….
相关文章推荐
- utf8_unicode_ci与utf8_general_ci的区别
- javaweb
- Linux基础
- UIKit Framework Reference
- KVO与KVC
- 位运算陷阱(位运算符的优先级)
- hdu4333 扩展kmp
- 【C语言】【面试题】【笔试题】模拟实现数据库中memcpy函数
- Java中的final关键字
- AngularJS--学习笔记(一)
- mysql找回root用户登录密码
- Java 注释
- 南大软院大神养成计划——第三天
- Python IDLE快捷键一览
- 南大软院大神养成计划-第三天
- Java 注释
- Java 注释
- 做自己的事情,让别人去bb
- Essential Linux Device Drivers (翻译)第七章
- 分层构建项目