Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support exec mode #7

Open
rossica opened this issue Apr 9, 2022 · 0 comments
Open

Support exec mode #7

rossica opened this issue Apr 9, 2022 · 0 comments

Comments

@rossica
Copy link
Owner

rossica commented Apr 9, 2022

"Exec mode" behaves exactly as -e does in netcat, in that is spawns a subprocess and uses the stdin and stdout pipes to read/write traffic to the network.
On the server, each new connection (if keep-open is used) would spawn a new subprocess, and when the process exits the connection closes, or the connection closes, the subprocess exits.

Need to either write my own OS-abstraction layer here, or use a library, since there's no STL way to do this, it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant