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

Make 'gs-netcat [cmd]' work like in ssh #75

Open
SkyperTHC opened this issue Jun 26, 2022 · 0 comments
Open

Make 'gs-netcat [cmd]' work like in ssh #75

SkyperTHC opened this issue Jun 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@SkyperTHC
Copy link
Member

thanks L.

Can be done as we already have an inband signaling protocol (pkt) and thus can submit command line to remote or indicate that
this is a non-tty cmd-exec shell. Will only work for versions >= 1.4.34 but without breaking backwards compatibility (can use protocol minor version indicator and flag to gsrnd to indicate command-exec shell).

Shall we use /bin/sh -c or $SHELL -c? Take a look at ssh and do it how they do it (i guess $SHELL as /bin/sh is for losers).

@SkyperTHC SkyperTHC added the enhancement New feature or request label Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant