- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试扫描我的服务器是否存在漏洞,我正在使用 Wapiti 来执行此操作。奇怪的是,当我运行它时,我收到此错误。怎么了?
root@server [~/wapiti-2.3.0/bin]# python wapiti http://my.ip.address.here
Traceback (most recent call last):
File "wapiti", line 41, in <module>
lan.configure()
File "/root/wapiti-2.3.0/wapitiCore/language/language.py", line 58, in configure
lang = langCounty[:2] # en
TypeError: 'NoneType' object is unsubscriptable
root@server [~/wapiti-2.3.0/bin]#
最佳答案
您正在使用最新版本。
但是,current source有一个固定版本:
if lang is None:
# if lang is not specified, default language is used
def_locale = locale.getdefaultlocale()
langCounty = def_locale[0] # en_UK
if not langCounty is None:
lang = langCounty[:2] # en
这是a bug , fixed on 2013-10-21 。
关于python - 类型错误 : 'NoneType' object is unsubscriptable with Wapiti,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32521935/
如何将朴素贝叶斯预测的句子类别表示为 CRF++ 或 Wapiti 中的特征? 例如,如果Tumblr merges with Yahoo.这个句子被分类为Business,那么在为crf编写训练文件
我正在尝试扫描我的服务器是否存在漏洞,我正在使用 Wapiti 来执行此操作。奇怪的是,当我运行它时,我收到此错误。怎么了? root@server [~/wapiti-2.3.0/bin]# pyt
我遵循了以下步骤: 安装 Python27 并下载 wapiti,将其放在 c:\wapiti-2.2.1 中。 为 python 设置环境变量(var name : c:\python27)。 打开
我想用 Wapiti 测试我们的 Web 应用程序扫描器。在我的场景中,我假设攻击者是经过身份验证的用户。如何配置 Wapiti 以在我们的登录表单上使用特定的用户名和密码,以便我可以测试其背后的页面
这是马鹿的一张扫描图。我注意到当我上传图片时(用户可以上传),我在 Launching module crlf 之前遇到了崩溃.因此,只需使用我网站的一个新实例,我就运行了它并得到了下面的结果。 我的
我是一名优秀的程序员,十分优秀!