From 5f4942c73062287b07d515b7063d5a3b9b2a9105 Mon Sep 17 00:00:00 2001 From: Lea Date: Tue, 8 Jul 2025 21:54:20 +0200 Subject: [PATCH] Small gufix in decoder --- daisy.source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daisy.source b/daisy.source index 535e9ba..bcd0b9d 100755 --- a/daisy.source +++ b/daisy.source @@ -313,7 +313,7 @@ function daisy_enc_multi() function daisy_dec() { data=$(cat ${1:-/dev/stdin} | grep -v "#" ) - echo -e "$data" | cut -d "=" -f 2- | cut -b 2- | head -c -1 | base64 -d + echo -e "$data" | cut -d "=" -f 2- | cut -b 2- | head -c -2 | base64 -d } # Will only take a file and directory, sources it to find all encoded data