Execute(Command, Prompt) Failures? (wodSSH / wodSSH.NET)
I ran into a situation today where a command that used to work suddenly stopped, simply because I changed the expected prompt from a non-regex to a regex.
Before:
ssh.Execute( some command , prompt> ); // This works and outputs the results of some command.
After:
ssh.Execute( some command , regex:prompt>|other: ); // This works but displays garbage, specifically 6973657453686f770a
It seems to be correctly discovering the prompt, but my command output has been replaced by something else entirely. I'm at a loss.
Thanks,
Mike