from pwn import *
from Crypto.PublicKey import RSA


p=process('./run.sh')
p.recvuntil("n: ")

e=65537L
n=long(p.recvline().strip())

p.recvuntil("d: ")

d=long(p.recvline().strip())

key=RSA.construct((n,e,d))

p.interactive()



