From 6d478f94cdf2858b90ebaa2a8bc7a569c88558a3 Mon Sep 17 00:00:00 2001 From: bfu4 Date: Tue, 29 Mar 2022 13:32:52 +0000 Subject: [PATCH] (fix): close the comment --- bof.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bof.s b/bof.s index 5a64c17..deee69c 100644 --- a/bof.s +++ b/bof.s @@ -54,7 +54,7 @@ # since the binary is little endian (LSB), when we want to overwrite the memory, our input will have to # # follow that format. Instead of writing {0x40, 0x10, 0x47} to stdin, we will write {0x47, 0x10, 0x40} to # # be able to write 0x401047 (the address we want to jump to). # -# +# # # This allows us to craft the final payload: "aaaaaaaaaaaaaaaa\x47\x10\x40". # #---------------------------------------------------------------------------------------------------------------# # Execution: bash -c 'printf "aaaaaaaaaaaaaaaa\x47\x10\x40" | ./bof.elf' #