0
I have ncat
on Windows, and typing the command ncat pwnable.kr 9000
in the command prompt results in an error
libnsock select_loop(): nsock_loop error 10038: An operation was attempted on something that is not a socket
,even though the command nc pwnable.kr
works on Linux.
Further, the command ncat pwnable.kr -p 9000
returns
Ncat: No connection could be made because the target machine actively refused it
.
I can successfully send commands using Python as in this post, but it would be more convenient to do this in the cmd. What am I doing wrong?
It appears to be an issue with this latest release (7.60) of ncat, as discussed here. From the discussion on that page it seems as if previous releases, such as 7.50, didn't have that problem. This official archive page has previous versions you can download. Uninstall the one you have and give nmap-7.50-setup.exe from that archive page a try instead.
– n8te – 2017-09-08T11:06:08.457