Send input from a file into a single netcat connection via a Bash script
0
votes
3
answers
177
views
I have tried the following to no avail, the script just stops after the first input.
filename="..."
while IFS="" read -r line; do
echo "$line" | nc
done "$PIPE"
sleep 0.5
done
Is there an issue with netcat in Bash scripts?
Asked by Jarrett GXZ
(101 rep)
Jan 30, 2025, 04:27 AM
Last activity: Jan 31, 2025, 04:11 PM
Last activity: Jan 31, 2025, 04:11 PM