fix: update attachments

This commit is contained in:
2023-10-21 10:46:08 +08:00
parent c93308391a
commit 9e7ca73d31
3 changed files with 21 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ first_flag = b''
wordlist = b'0123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM{}_'
for i in range(16):
for j in wordlist:
r = remote("172.20.14.117", 65311)
r = remote("172.20.14.117", 59250)
payload = b'0'*(16-5) + b'0' * (15 - i)\
+ first_flag + j.to_bytes() + \
b'0' * (15 - i)
@@ -20,7 +20,7 @@ for i in range(16):
last_flag = b''
for i in range(21-16):
for j in wordlist:
r = remote("172.20.14.117", 65311)
r = remote("172.20.14.117", 59250)
payload = b'0' * 11 + j.to_bytes() + \
last_flag + b'0' * 27
r.sendline(payload)
@@ -31,4 +31,4 @@ for i in range(21-16):
last_flag = j.to_bytes() + last_flag
break
print(first_flag + last_flag)
print(first_flag + last_flag)