This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
shihaoyue-yy-deploy-script/6_dot_DDoS/start_pending.py
“shihaoyue” 96107bbdcd first commit
2024-09-30 15:52:30 +08:00

20 lines
684 B
Python

import os
import argparse
import time
parser = argparse.ArgumentParser()
parser.add_argument('-n', '--n', default=3)
parser.add_argument('-round', '--round', default=5)
parser.add_argument('-wait', '--wait', default=150)
args = parser.parse_args()
stime = time.perf_counter()
round = int(args.round)
wait_time = int(args.wait)
for i in range(int(args.n)):
#print(f"python3 cve44487.py -s {i}")
os.popen(f"python att_pending_cookie.py -stime {stime} -round {round} -wait {wait_time}")
while True:
current_time = time.perf_counter()
elapsed_time = current_time - stime
print(f"经过的时间:{elapsed_time:.2f}", end="\r")
time.sleep(1) # 暂停一秒钟