X-Git-Url: https://git.josue.xyz/?p=oneliner%2F.git;a=blobdiff_plain;f=oneliner.sh;fp=oneliner.sh;h=9083f3482514ec79d77d3a5005f9d83e352cbf53;hp=0000000000000000000000000000000000000000;hb=c4a6e67880a9bced55cc90afe9f7555e0fdf52e8;hpb=f3a2e536018282e3a8f7032a7ede984df7b536e1 diff --git a/oneliner.sh b/oneliner.sh new file mode 100644 index 0000000..9083f34 --- /dev/null +++ b/oneliner.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# This is the only important line, its inside this file just because. As a matter of fact, is also in the readme. +while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; sh test.sh; } | nc -l 1234 -q 1; done &