Category "netcat"

Netcat should auto reconnect on disconnection

I have a problem with network interruptions causing netcat to disconnect and then I have to rerun the script. (/usr/bin/php < dummyInput.txt textGen.php | /u

How to add title when I use xarray to plot

I use 'xarray' to read nc file and plot a figure. I achieved the figure, but I don't know how to modify the title of the figure. Please see the code below. impo

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