Tags: format-string rev 

Rating:

# format

**Category:** Binary Exploitation
**Points:** 120
**Solves:** 374
**Description:**

Go to `/problems/format` on the shell server and tell me what is in `flag.txt`.

[File](format)

## Write-up

![screen_0_format](screen_0_format.png)
![screen_1_format](screen_1_format.png)

By trial and error, we found that we need enter %p 7 times.
![screen_2_format](screen_2_format.png)
![screen_3_format](screen_3_format.png)

Flag is: **easyctf{p3sky_f0rm4t_s7uff}**

Original writeup (https://github.com/KosBeg/ctf-writeups/blob/master/EasyCTF_IV/format/README.md).