Ellingson

I’m going to try asking a question without any spoil. I have a working “exploit” for the interesting binary, using the pwn library. I’m trying to get this running on the target, and to do that I’m trying to convert this to something standalone or that can be run with very basic tool. I’m able to feed the binary the stage1 using cat, but I’m not sure what to do for stage2. If someone can provide hints back here or through a PM it would be great. Thanks!
Digging into subprocess as my main source of hope!

Edit: I think pty is the way. Digging into this one