我在Windows 7上安装Weevely时遇到错误我是Python新手:/
C:\Python27\weevely>python weevely.py generate testmypwd
Traceback (most recent call last):
File "weevely.py", line 108, in <module>
Terminal (ModHandler(genname, password), True).run_module_cmd(args_list)
File "C:\Python27\weevely\core\modules_handler.py", line 17, in __init__
self.__set_path_modules()
File "C:\Python27\weevely\core\modules_handler.py", line 42, in __set_path_modules
raise Exception( "No module directory %s found." % self.path_modules )
Exception: No module directory /modules found.有人能帮我吗?
发布于 2012-08-20 03:25:14
由于基本问题是这个模块将在Linux/Unix上运行(注意,因为weevely.py正在调用shebang行:#!/usr/bin/env python),但是,WebJuice试图在Windows上运行,我尝试将文件: C:\Python27\weevely\core\modules_handler.py的第36行和第37行更改为以下行:
root_path = os.path.dirname(current_path)
self.path_modules = os.path.join(root_path,'modules')但是,还有其他依赖模块: readline,它在Windows上是不可用的(从http://pypi.python.org/pypi/readline/可以看出),你永远不会知道是否有更多看不见的linux相关依赖。因此,我会得出结论,我们不能在Windows上运行它。
PS:我指的是我从http://cloud.github.com/downloads/epinna/Weevely/weevely-0.7.1.tar.gz下载的weevely包。但是,如果有人找到了等效的linux包,请发布该包的URL。
发布于 2013-02-02 21:29:42
从1.0版开始,Weevely正式支持Windows和MacOS环境,如本教程中所述。
https://github.com/epinna/Weevely/wiki/Tutorial
从官方网站http://epinna.github.com/Weevely/下载
https://stackoverflow.com/questions/12025346
复制相似问题