Another BusyBox-based fixed
This commit is contained in:
parent
84f29acbba
commit
55e1e973fb
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ function daisy_enc_multi()
|
||||||
function daisy_dec()
|
function daisy_dec()
|
||||||
{
|
{
|
||||||
data=$(cat ${1:-/dev/stdin} | sed -e 's/.*=\"//g' | grep -v "#" | tr -d '\"' | tr -d "'" | tr '-' '\n' )
|
data=$(cat ${1:-/dev/stdin} | sed -e 's/.*=\"//g' | grep -v "#" | tr -d '\"' | tr -d "'" | tr '-' '\n' )
|
||||||
decoded=$(echo -e "$data" | cut -d "=" -f 1 | base64 --decode)
|
decoded=$(echo -e "$data" | cut -d "=" -f 1 | base64 -d)
|
||||||
printf "$decoded"
|
printf "$decoded"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue