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