Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Connect to Windows from Linux using NetCat

$
0
0
Hi

Need help to connect from Ubuntu to Windows using NetCat nc
I can not get my script to send new-line

Her is what I have tried
Code:

(sleep 2 ; echo user ; sleep 1; echo pass; sleep 2; echo netstat) | nc -t 10.10.10.34 23
gives this output
Code:

ÿý%ÿûÿûÿý'ÿýÿýÿûWelcome to Microsoft Telnet Service

login: user44passnetstatroot@magnus

Also tried echo "user/n"

Viewing all articles
Browse latest Browse all 16232

Latest Images

Trending Articles



Latest Images