优化无解析结果处理

This commit is contained in:
Jing Ling
2020-04-28 20:23:34 +08:00
parent e16916dc94
commit 99af838fcb
3 changed files with 4 additions and 6 deletions
+1
View File
@@ -257,6 +257,7 @@ class Module(object):
"""
logger.log('DEBUG', f'正在生成最终结果')
if not len(self.subdomains): # 该模块一个子域都没有发现的情况
logger.log('DEBUG', f'{self.source}模块收集结果为空')
result = {'id': None,
'type': self.type,
'alive': None,