I remembered there was a linux software that combines socat and supervisor. I just forgot its name. It's commonly used in deploying CTF PWN. It can expose elf binary stdin and stdout to a spefific port and restart the binary once it exits.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.