修改日志输出

This commit is contained in:
shmilylty
2019-08-03 22:34:59 +08:00
parent 3635f8f0a6
commit 2f1c1fed97
6 changed files with 14 additions and 28 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ class Module(object):
"""
输出模块开始信息
"""
logger.log('DEBUG', f'开始执行{self.source}模块查询{self.domain}的子域')
logger.log('DEBUG', f'开始执行{self.source}模块收集{self.domain}的子域')
def finish(self):
"""
@@ -49,7 +49,7 @@ class Module(object):
"""
self.end = time.time()
self.elapsed = round(self.end - self.start, 1)
logger.log('DEBUG', f'结束执行{self.source}模块查询{self.domain}的子域')
logger.log('DEBUG', f'结束执行{self.source}模块收集{self.domain}的子域')
logger.log('INFOR', f'{self.source}模块耗时{self.elapsed}秒发现子域{len(self.subdomains)}')
logger.log('DEBUG', f'{self.source}模块发现{self.domain}的子域 {self.subdomains}')