关闭

win732位安装sulley

标签: sulley
401人阅读 评论(0) 收藏 举报
分类:

1、安装MinGW,没必要去下载get工具,一点点下载,太慢而且容易出错,直接往下下载个离线安装好了的版本即可,我是从下载吧里找到的。mingw主要是编译pydasm、pydbg、pcapy时要用。
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….

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:9224次
    • 积分:213
    • 等级:
    • 排名:千里之外
    • 原创:7篇
    • 转载:6篇
    • 译文:2篇
    • 评论:0条
    文章分类