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

Error executing cmd with gs-netcat v1.4.42dev2 #102

Open
mrbluecoat opened this issue Mar 31, 2024 · 0 comments
Open

Error executing cmd with gs-netcat v1.4.42dev2 #102

mrbluecoat opened this issue Mar 31, 2024 · 0 comments

Comments

@mrbluecoat
Copy link

I'm using the binary https://github.com/hackerschoice/gsocket/releases/download/v1.4.42dev2/gs-netcat_linux-aarch64 on my server and running it via your systemd service. I'm then using the binary https://github.com/hackerschoice/gsocket/releases/download/v1.4.42dev2/gs-netcat_linux-x86_64 on my Ubuntu 22.04 client and can connect just fine via interactive TTY. However, -e <cmd> attempts throw this error:

$ gs-netcat -s redactedpassword -e "id"
4_gs-netcat.c:1579:my_getopt() ASSERT(gopt.port != 0) Client listening port is 0 but wants multiple peers.
 Exiting...

Same behavior if I remove the double-quotes from the command. Is my argument format wrong?

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