Closed LonelyBoy2005 closed 1 year ago
我所有镜像都搞好了,到这一步就出错
需要在扫描器docker镜像里面运行。
现在已经解决了,但是输入python3 darkangel.py --nuclei-file-scan后报错
, __ _
/ _ ____/ // | __ / /
/ / / / __ `/ / /// /| | / \/ `/ \/ /
/ // / // / / / ,< / |/ / / / // / / /
//\,// //|// |// //_, /_/_/
/____/
By Bywalks | V 0.0.7
DarkAngel is a white hat scanner. Every white hat makes the Internet more secure.
Traceback (most recent call last):
File "/root/DarkAngel/darkangel.py", line 981, in
main()
File "/root/DarkAngel/darkangel.py", line 948, in main
darkAngel = DarkAngel()
File "/root/DarkAngel/darkangel.py", line 81, in init
self.xray_scan = XrayScan()
NameError: name 'XrayScan' is not defined
请问怎么解决
https://github.com/Bywalks/DarkAngel#%E5%AE%89%E8%A3%85
照着说明去安装,运行就不存在问题了。
└─# python darkangel.py
Traceback (most recent call last): File "/root/DarkAngel/darkangel.py", line 32, in
from vulscan.xray_scan import *
File "/root/DarkAngel/vulscan/xray_scan.py", line 26, in
from vcommon.ESHelper import ESHelper
File "/root/DarkAngel/vcommon/ESHelper.py", line 12, in
from elasticsearch import Elasticsearch, helpers
ModuleNotFoundError: No module named 'elasticsearch'