summaryrefslogtreecommitdiffstats
path: root/docs/writeups
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2021-07-30 00:55:02 -0400
committerMalfurious <m@lfurio.us>2021-08-01 18:41:37 -0400
commit17592e720a70a5ce6ce3ab3c02ba7ec07558840b (patch)
tree9d1ba2b78991e348fbbb3f6daf51bf8ac16264da /docs/writeups
parentff011e4759a4fb9cf761b1a344f560e7d0403614 (diff)
downloadlib-des-gnux-17592e720a70a5ce6ce3ab3c02ba7ec07558840b.tar.gz
lib-des-gnux-17592e720a70a5ce6ce3ab3c02ba7ec07558840b.zip
Fix typos
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'docs/writeups')
-rw-r--r--docs/writeups/ImaginaryCTF_2021/Speedrun.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/writeups/ImaginaryCTF_2021/Speedrun.txt b/docs/writeups/ImaginaryCTF_2021/Speedrun.txt
index a7b8283..4bbbf16 100644
--- a/docs/writeups/ImaginaryCTF_2021/Speedrun.txt
+++ b/docs/writeups/ImaginaryCTF_2021/Speedrun.txt
@@ -62,7 +62,7 @@ This prooved very difficult given our limited access to machine code in the
main binary. There was one useful gadget found in the binary near the end of
code under the __libc_csu_init symbol, at address 0x40120b; that being:
- 5f pop $rdi
+ 5f pop %rdi
c3 ret
The randomness to the main() function's buffer didn't affect the offset of these
@@ -120,7 +120,7 @@ does this by decoding and disassembling the data it receives on start-up.
This just _happens_ to work in this case because the first lea instruction
encountered in the binary is the one used to grab the buffer address for gets().
-From there I use a regex to grap the '120' offset value. This is the offset
+From there I use a regex to grab the '120' offset value. This is the offset
(in hex) from the start of the buffer to the base of the stack frame and is used
later for payload generation.