Skip to content

Commit

Permalink
move racecar scripts to CTF-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nair0lf32 committed Jan 16, 2024
1 parent 4795c89 commit eb581cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/writeups/HackTheBox/Racecar/racecar.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ categories:
- HackTheBox
---

Simple [pwn challenge](/htb/racecar/racecar) they said
Simple [pwn challenge](https://github.com/nair0lf32/CTF-Scripts/blob/master/Hackthebox/racecar/racecar) they said

```
└──╼ $file racecar
Expand Down Expand Up @@ -57,7 +57,7 @@ Dump of assembler code for function main:
```
There is a format string vulnerability in `printf()` in the `race_menu` function

the flag is right in the stack so [use this](/htb/racecar/exploit.py)
the flag is right in the stack so [use this](https://github.com/nair0lf32/CTF-Scripts/blob/master/Hackthebox/racecar/exploit.py)

```
└──╼ $python exploit.py
Expand All @@ -81,7 +81,7 @@ The Man, the Myth, the Legend! The grand winner of the race wants the whole worl
[*] Got EOF while reading in interactive
$
```
Now [decode](/htb/racecar/decode.py)
Now [decode](https://github.com/nair0lf32/CTF-Scripts/blob/master/Hackthebox/racecar/decode.py)

```
└──╼ $python decode.py
Expand Down

0 comments on commit eb581cd

Please sign in to comment.