From d16a333427d23e0cb5da310b8eda641f02256f31 Mon Sep 17 00:00:00 2001 From: myitinos Date: Fri, 11 Oct 2019 22:34:09 +0800 Subject: [PATCH] update --- checker.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/checker.py b/checker.py index 6b1dc47..1afa257 100644 --- a/checker.py +++ b/checker.py @@ -1,8 +1,11 @@ #! /usr/bin/env python2 -from pwn import process, remote +# from pwn import context, remote +from pwn import remote, context +from multiprocessing import pool +context.log_level = "error" HOST = "192.168.2.20" -TOTAL_TEAMS = 1 +TOTAL_TEAMS = 10 FORMAT = "SlashRootCTF" @@ -97,4 +100,4 @@ if __name__ == "__main__": r0 = poc0(HOST, (60004 + (i*100))) r1 = poc1(HOST, (60004 + (i*100))) r2 = poc2(HOST, (60004 + (i*100))) - print("Team [{}] {} {} {}" % (i, r0, r1, r2)) + print("Team [%s] %s %s %s" % (i, r0, r1, r2))