[+] Starting local process './messageb0x': pid 124
[*] '/mnt/c/Users/123/Desktop/messageb0x'
Arch: i386-32-little
RELRO: Partial RELRO
Stack: No canary found
NX: NX enabled
PIE: No PIE (0x8048000)
Traceback (most recent call last):
File "messageb0x.py", line 19, in <module>
write_addr = u32(r.recv()[0:4])
File "/usr/local/lib/python2.7/dist-packages/pwnlib/context/__init__.py", line 1392, in setter
return function(*a)
File "/usr/local/lib/python2.7/dist-packages/pwnlib/util/packing.py", line 334, in routine
("big", False): bu}[endian, signed](number)
File "/usr/local/lib/python2.7/dist-packages/pwnlib/util/packing.py", line 299, in routine
return ops[op](fmt,data)
File "/usr/local/lib/python2.7/dist-packages/pwnlib/util/packing.py", line 284, in <lambda>
ops = {'p': struct.pack, 'u': lambda *a: struct.unpack(*a)[0]}
struct.error: unpack requires a string argument of length 4
[*] Stopped process './messageb0x' (pid 124)
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)