Bywalks/DarkAngel

输入python3 darkangel.py --scan-new-domain后报错

Closed this issue · 2 comments

Traceback (most recent call last):
File "/root/DarkAngel-main/DarkAngel-main/darkangel.py", line 44, in
from subdomain.oneforall.subdomain_run import SubDomain
File "/root/DarkAngel-main/DarkAngel-main/subdomain/oneforall/subdomain_run.py", line 10, in
from subdomain.oneforall.oneforall import OneForAll as OneForAll
File "/root/DarkAngel-main/DarkAngel-main/subdomain/oneforall/oneforall.py", line 14, in
import export
File "/root/DarkAngel-main/DarkAngel-main/subdomain/oneforall/export.py", line 13, in
from common import utils
File "/root/DarkAngel-main/DarkAngel-main/subdomain/oneforall/common/utils.py", line 21, in
from common.database import Database
File "/root/DarkAngel-main/DarkAngel-main/subdomain/oneforall/common/database.py", line 8, in
from config.log import logger
File "/root/DarkAngel-main/DarkAngel-main/subdomain/oneforall/config/init.py", line 17, in
settings = Settings()
File "/root/DarkAngel-main/DarkAngel-main/subdomain/oneforall/config/init.py", line 12, in init
setting = importlib.import_module(setting_module)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'config.setting'

搞了好久...网上找不到解决办法

重新拉取一下源代码,代码已更新。

已解决

image