Skip to content

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

@mrbluecoat

Description

@mrbluecoat

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions