From c4a6e67880a9bced55cc90afe9f7555e0fdf52e8 Mon Sep 17 00:00:00 2001 From: Oscar J Rodriguez Date: Tue, 5 Jan 2021 23:12:24 -0500 Subject: [PATCH] Created oneliner.sh --- oneliner.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 oneliner.sh 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 & -- 2.25.1