Tags: stackoverflow formatstring rce 

Rating:

https://github.com/phieulang1993/ctf-writeups/tree/master/2018/pragyan/aes_enc_unbf
Remote code execution by format string and stack overflow to get shell then steal key + iv

```
$ ls
core
iv.aes
key.aes
x.out
$ cat *.aes
IV{212&5^V!-!}IV
BEGIN-KEY{4x@$^%`w~d##*9}END-KEY
```

Original writeup (https://github.com/phieulang1993/ctf-writeups/tree/master/2018/pragyan/aes_enc_unbf).