Skip to content

Commit 746ea03

Browse files
author
YASME-Tim
committed
💊 Fix last writeup pictures
1 parent 35f69e2 commit 746ea03

File tree

1 file changed

+4
-1
lines changed
  • mma-ctf-2015/reverse/this-program-cannot-run-in-dos-mode-80

1 file changed

+4
-1
lines changed

mma-ctf-2015/reverse/this-program-cannot-run-in-dos-mode-80/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,12 @@ We quickly fix that by finding the start of the PE Header (It begins with `PE`),
6161

6262
Now we can run `pedump` or analyze the binary with `radare2` and find a string using the `V`isual flag hud of `radare2`:
6363

64+
![](./r2hud.png)
65+
66+
Jumping to the `x`ref of this string, we land in a function that calls printf("The Flag is MMA{%s}", <eaxASCIIcharacters>):
67+
6468
![](./r2func.png)
6569

66-
Jumping to the `x`ref of this string, we land in a function that calls printf("The Flag is MMA{%s}", <eaxASCIIcharacters>).
6770
We convert the ASCII characters written to the calloc buffer at `eax` and get the flag:
6871

6972
```bash

0 commit comments

Comments
 (0)