Skip to content

Commit 2456186

Browse files
committed
Fix elf regression for python3
1 parent 714ae6a commit 2456186

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pwnlib/elf/elf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ def _patch_elf_and_read_maps(self):
792792
try:
793793
with context.silent:
794794
io = process(path)
795-
data = io.recvall(timeout=2)
795+
data = context._decode(io.recvall(timeout=2))
796796
except Exception:
797797
log.warn_once("Injected /proc/self/maps code did not execute correctly")
798798
return {}

0 commit comments

Comments
 (0)