This commit is contained in:
Jing Ling
2020-04-06 18:11:19 +08:00
parent 7d39ebb014
commit 7b6fb65d93
+2 -1
View File
@@ -9,6 +9,7 @@ OneForAll子域爆破模块
""" """
import json import json
import time import time
import stat
import queue import queue
import asyncio import asyncio
import random import random
@@ -191,7 +192,7 @@ def get_massdns_path(massdns_dir):
else: else:
massdns_dir = massdns_dir.joinpath('windows', 'x84') massdns_dir = massdns_dir.joinpath('windows', 'x84')
path = massdns_dir.joinpath(name) path = massdns_dir.joinpath(name)
path.chmod(0o744) path.chmod(stat.S_IXUSR)
if not path.exists(): if not path.exists():
logger.log('FATAL', '暂无该系统平台及架构的massdns') logger.log('FATAL', '暂无该系统平台及架构的massdns')
logger.log('INFOR', '请尝试自行编译massdns并在配置里指定路径') logger.log('INFOR', '请尝试自行编译massdns并在配置里指定路径')