Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法配置扫描引擎和爬虫引擎 #111

Closed
imklever opened this issue Jun 22, 2017 · 4 comments
Closed

无法配置扫描引擎和爬虫引擎 #111

imklever opened this issue Jun 22, 2017 · 4 comments

Comments

@imklever
Copy link

如题,无法选择配置引擎,统计处两个引擎为x号
scan.log报错:
'NoneType' object has no attribute 'getitem'
vul.log报错:
'NoneType' object has no attribute 'getitem'
Traceback (most recent call last):
File "./vulscan/VulScan.py", line 260, in
PASSWORD_DIC, THREAD_COUNT, TIMEOUT, WHITE_LIST = get_config()
TypeError: 'NoneType' object is not iterable
数据应该导入了:

db.stats()
{
"db" : "xunfeng",
"collections" : 2,
"objects" : 61,
"avgObjSize" : 361.327868852459,
"dataSize" : 22041,
"storageSize" : 40960,
"numExtents" : 0,
"indexes" : 2,
"indexSize" : 36864,
"ok" : 1
}
还请ysrc的童鞋协助看看

@ihacku
Copy link
Member

ihacku commented Jun 22, 2017

看下你的python版本

@imklever
Copy link
Author

imklever commented Jun 23, 2017

python版本是2.7.13,操作系统是centos 6.5

@ywolf
Copy link
Collaborator

ywolf commented Jun 23, 2017

数据库问题,mongodb 要求 >=3.2,重新导入一下。

@imklever
Copy link
Author

确实是数据没导进去,把readme的参考命令里的. 改为绝对路径就导入成功了,感谢各位

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants