What is the Windows equivalent of the command "nc [server_name] [port]"?

On linux, one can connect to a server by typing nc pwnable.kr 9000 on a terminal.

On windows, this does not work in Powershell nor cmd, and also Putty when using Telnet looks at first like it connected, and then whenever I enter something it exits, which is not the behaviour on Linux. So what is the correct way to access this server on Windows and send commands to it?


Solution 1:

You may download a portable version of ncat from this site: https://nmap.org/ncat/ It's a beta version (http://nmap.org/dist/ncat-portable-5.59BETA1.zip). If you prefer, you may also use the nmap command for windows provided on this site too.