From be29595c089cf173ceaf5948d9d19dd46707d453 Mon Sep 17 00:00:00 2001 From: CPol Date: Sat, 20 Mar 2021 09:27:53 +0000 Subject: [PATCH] GitBook: [master] one page modified --- misc/basic-python/rop-pwn-template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/basic-python/rop-pwn-template.md b/misc/basic-python/rop-pwn-template.md index 71cc0708..99d536a7 100644 --- a/misc/basic-python/rop-pwn-template.md +++ b/misc/basic-python/rop-pwn-template.md @@ -82,7 +82,7 @@ def get_addr(func_name): #Parse leaked address recieved = p.recvline().strip() - leak = u64(recieved.ljust(8, "\x00")) + leak = u64(recieved.ljust(8, b"\x00")) log.info("Leaked libc address, "+func_name+": "+ hex(leak)) #If not libc yet, stop here if libc != "":