-
Notifications
You must be signed in to change notification settings - Fork 149
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
libcli with nc #39
Comments
It can, mostly, but you need to ensure you are using CRLF as the terminators and disable line buffering. From linux this works to talk to the clitest program. stty_orig= Not sure of the windows equivalent. |
The above keeps a copy of the existing terminal characteristics, disables local echo and special character processing (and ensures chars are sent one at a time instead of line at a time), then invokes netcat with telnet prompts and CRLF line terminators, and finally restores the terminal settings when done. |
use socat: |
Can we make libcli to work with 'nc - netcat ' ? I tried connecting with nc, it connects but output is not displayed.
The text was updated successfully, but these errors were encountered: