mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:09:53 +07:00
arc: decrypt rework
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
2b4f06496e
commit
0f3c6c4092
@ -2092,7 +2092,7 @@ function decryptMenu() {
|
||||
dialog --backtitle "$(backtitle)" --colors --title "Arc Decrypt" \
|
||||
--inputbox "Enter Decryption Key for ${CONFIGSVERSION}\nKey is available in my Discord." 8 40 2>"${TMP_PATH}/resp"
|
||||
[ $? -ne 0 ] && return
|
||||
ARC_KEY=$(cat "${TMP_PATH}/resp" | tr '[:lower:]' '[:upper:]')
|
||||
ARC_KEY=$(cat "${TMP_PATH}/resp")
|
||||
if openssl enc -in "${S_FILE_ENC}" -out "${S_FILE_ARC}" -d -aes-256-cbc -k "${ARC_KEY}" 2>/dev/null; then
|
||||
dialog --backtitle "$(backtitle)" --colors --title "Arc Decrypt" \
|
||||
--msgbox "Decrypt successful: You can use Arc Patch." 5 50
|
||||
|
Loading…
Reference in New Issue
Block a user