Bywalks / DarkAngel

DarkAngel 是一款全自动白帽漏洞扫描器,从hackerone、bugcrowd资产监听到漏洞报告生成、漏洞URL截屏、消息通知。
MIT License
598 stars 74 forks source link

运行python darkangel.py报错 #9

Closed LonelyBoy2005 closed 1 year ago

LonelyBoy2005 commented 1 year ago

└─# 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'

LonelyBoy2005 commented 1 year ago

我所有镜像都搞好了,到这一步就出错

Bywalks commented 1 year ago

需要在扫描器docker镜像里面运行。

LonelyBoy2005 commented 1 year ago

现在已经解决了,但是输入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
请问怎么解决

Bywalks commented 1 year ago

https://github.com/Bywalks/DarkAngel#%E5%AE%89%E8%A3%85

照着说明去安装,运行就不存在问题了。