i currently pack hex number in little endian with struct.pack() or p32() from pwnlib, i always got bytes object output.
b'\xde\xad\xbe\xef'
i tried str.decode('utf-8') but in some case there is error output.
is there a way to decode this ?
im using…
I'm creating a script which will start some threads, and run an input on a binary. The usage is python3 script.py binary input.txt. Here is a reproducible segment that encounters this error:
from pwn import *
import threading
inputFile = ""
try:
…