You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to send 2 messages (which first is the password)
I've tried: wscat -c ws://127.0.0.1:33074/rcon -x "$(printf "secret\ncommand")"
But string is treated as single command. In result pong is returned as bad password.
I've also tried: wscat -c ws://127.0.0.1:33074/rcon -x $(printf "secret\ncommand")
But in result command is ignored.
wscat -c ws://127.0.0.1:33074/rcon -x $(printf "secret\n") -x $(printf "command\n")
Also returns bad password
The text was updated successfully, but these errors were encountered:
It doesn't seem to support sending two message with -x.
Why not just open the connection without -x and then send two separate messages? Or just combine two messages into single message and separate them at server side.
I need to send 2 messages (which first is the password)
I've tried:
wscat -c ws://127.0.0.1:33074/rcon -x "$(printf "secret\ncommand")"
But string is treated as single command. In result pong is returned as bad password.
I've also tried:
wscat -c ws://127.0.0.1:33074/rcon -x $(printf "secret\ncommand")
But in result
command
is ignored.wscat -c ws://127.0.0.1:33074/rcon -x $(printf "secret\n") -x $(printf "command\n")
Also returns bad password
The text was updated successfully, but these errors were encountered: