Questions tagged [pwntools]

pwntools is a CTF framework and exploit development library.

pwntools is a CTF framework and exploit development library.

77 questions
-2
votes
1 answer

How to to remove b or byte object prefix after packing hex in little endian?

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…
-2
votes
1 answer

OSError: [Errno 24] when multithreading pwntools

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: …
maxphat
  • 37
  • 5
1 2 3 4 5
6