tqdm配置

This commit is contained in:
shmilylty
2019-08-19 19:45:11 +08:00
parent 9b99b9fd35
commit b60d86fdc3
4 changed files with 19 additions and 9 deletions
+4 -2
View File
@@ -242,8 +242,10 @@ class AIOBrute(Module):
= detect_wildcard(domain)
tasks = self.gen_tasks(domain)
logger.log('INFOR', f'正在爆破{domain}的域名')
for task in tqdm.tqdm(tasks, desc='Progress',
smoothing=1.0, ncols=True):
for task in tqdm.tqdm(tasks,
desc='Progress',
smoothing=1.0,
ncols=True):
async with aiomp.Pool(processes=self.process,
initializer=init_worker,
childconcurrency=self.coroutine) as pool: