Small gufix in decoder

This commit is contained in:
Lea 2025-07-08 21:54:20 +02:00
parent a6667d0b63
commit 5f4942c730

View file

@ -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