mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
调整进度
This commit is contained in:
@@ -214,8 +214,8 @@ async def bulk_request(datas, port):
|
||||
futures = asyncio.as_completed(tasks)
|
||||
for future in tqdm.tqdm(futures,
|
||||
total=len(tasks),
|
||||
desc='Progress',
|
||||
ncols=60):
|
||||
desc='Request Progress',
|
||||
ncols=80):
|
||||
await future
|
||||
|
||||
logger.log('INFOR', f'完成异步进行子域的GET请求')
|
||||
|
||||
@@ -119,8 +119,8 @@ class Takeover(Module):
|
||||
# 设置进度
|
||||
bar = tqdm()
|
||||
bar.total = len(self.subdomains)
|
||||
bar.desc = 'Progress'
|
||||
bar.ncols = 60
|
||||
bar.desc = 'Check Progress'
|
||||
bar.ncols = 80
|
||||
while True:
|
||||
done = bar.total - self.subdomainq.qsize()
|
||||
bar.n = done
|
||||
|
||||
Reference in New Issue
Block a user