Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nmap-ncat seem to have weird bugs in that the received data is only printed on stdout when there is a no data on stdin, not stdin because the returns EOF when it gets read and if there is any data then ncat fails as well as it cannot write it to the remote[1]... So just try to emulate like how it works in a terminal by creating an anonymous pipe that contains no data so ncat is happy and prints our test string as expected. [1] nmap/nmap#2829 Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information