Category "netcat"

EOF command not working with netcat python program

I tested below code with kali and ubuntu and am getting the same error where CTRL-D is not recognized as EOF, this is following the book black hat python 2nd ed

Linux script executing from C++ code with execv fails

I've a very basic Linux script (/home/scripts/script.sh): #!/bin/bash echo 'a' | /bin/netcat -vv 10.10.10.1 3333 echo "done" > /tmp/result When I try to r

Netcat localhost command not working on WSL 2.0 Ubuntu

I'm using netcat to practise my network lessons' exercises. I need to access to my localhost port 7777 using the following command on the prompt: nc localhost 7