From a114f1391a0dda620d825d47ff29066179243588 Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 2 Jan 2024 19:24:37 +0100 Subject: [PATCH] i forgot to use the FLOOTPORT variable in flootworker() --- pixelfloot_bash.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pixelfloot_bash.sh b/pixelfloot_bash.sh index b15aacf..3573ccc 100755 --- a/pixelfloot_bash.sh +++ b/pixelfloot_bash.sh @@ -220,7 +220,7 @@ flootworker() #FLOOTSRUNNING=$((FLOOTSRUNNING+1)) #test $FLOOTSRUNNING -le $FLOOTFORKS && echo "$(shuf_xy) -${LOL[$i]}" > /dev/tcp/$IPFLOOT/1337 +${LOL[$i]}" > /dev/tcp/$IPFLOOT/$FLOOTPORT #FLOOTSRUNNING=$((FLOOTSRUNNING-1)) #echo "${LOL[$i]}" > /dev/tcp/127.0.0.1/1337 & @@ -332,6 +332,7 @@ case $1 in echo "" echo "available env vars to configure:" echo "RESIZE(int), ALPHACOLOR(hex), FLOOTFORKS(int), H(int), W(int)" + echo "IPFLOOT(string), FLOOTPORT(string)" exit 1 ;; esac