pwntools

Remove bytes from list of bytestrings

Remove bytes from list of bytestrings Question: I have this simple code: from pwn import * e = ELF(r’/home/user/Documents/pwnexercise’) print("Found hex:n" + hex(e.symbols.main)) read_only_data = e.section(‘.rodata’).split(b’x00′) print(read_only_data) for i in read_only_data: print(i.decode()) Which gives me this output: [*] ‘/home/user/Documents/pwnexercise’ Arch: amd64-64-little RELRO: Partial RELRO Stack: Canary found NX: NX enabled PIE: No PIE (0x400000) Found …

Total answers: 1