In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fw_decrypt.sh line 8:
eval $(cat $p/keysuit)
^---------------^ SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fw_decrypt.sh line 9:
openssl aes-256-cbc -k $key -iv $iv -S $salt -d -in $p/$target.aes -out "$2" || ret=1
^--^ SC2154 (warning): key is referenced but not assigned.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-^ SC2154 (warning): iv is referenced but not assigned.
^-^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---^ SC2154 (warning): salt is referenced but not assigned.
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
openssl aes-256-cbc -k "$key" -iv "$iv" -S "$salt" -d -in $p/"$target".aes -out "$2" || ret=1
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fw_decrypt.sh line 10:
chmod u+x $2
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod u+x "$2"
For more information:
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
https://www.shellcheck.net/wiki/SC2154 -- iv is referenced but not assigned.
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...