📝 Added simple nc tutorial script

This commit is contained in:
z3rOR0ne 2022-12-15 22:49:13 -08:00
parent 8181ab865d
commit 335af55be5

6
scripts/netcat_tut.sh Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
while :
do
echo -e "HTTP/1.1 200 OK\n\n$(echo '<h1>Hi there</h1>')" | nc -l -k -p 8080 -q 1
done