In this example the settings file has been renamed in "settings.exp", it is not mandatory to rename the settings file.
Under the Terminal application, run:
base64 -d -i settings.exp | sed 's/&/\n/g' > config.txt
base64 command will decode the settings.exp file into config.txt file.
-file--kA1VN0000000EXg0AM-0EMVN00000Enufh.jpg)
The command has not output, but if no errors are displayed means that the conversion succedeed.
Now, in the same directory of the settings file the file "config.txt" has been generated. -file--kA1VN0000000EXg0AM-0EMVN00000Enufj.jpg)
The file contains the decrypted settings.-file--kA1VN0000000EXg0AM-0EMVN00000Enufg.jpg)
Open the settings file with Notepad++ and reach the end of the file.
Here there are two && that must be deleted.
-file--kA1VN0000000EXg0AM-0EMVN00000Enufk.jpg)
Remove the two && and save the file.
-file--kA1VN0000000EXg0AM-0EMVN00000Enuft.jpg)
Then open a Command Prompt (CMD) issuing the command:certutil -decode "sonicwall-TZ 470-SonicOS 7.1.2-7019-R6288-2025-01-02T18_19_52.499Z.exp" settings.txt
certutil command will decode the "sonicwall-TZ 470-SonicOS 7.1.2-7019-R6288-2025-01-02T18_19_52.499Z.exp" file into settings.txt file. -file--kA1VN0000000EXg0AM-0EMVN00000Enufs.jpg)
Open the geneated settings.txt file with Notepad++
Hit CTRL+F to open the Find Popup and on "Replace" TAB select "Extended" in Search Mode.
Then, insert in "Find what" & and in "Replace with" \n
Finally click on Replace All.-file--kA1VN0000000EXg0AM-0EMVN00000Enufq.png)
During the replacement action Notepad++ may be unresponsive. Wait for the operation to finish.
After a while Notepad++ will show tje number of all the replaced occurrences.-file--kA1VN0000000EXg0AM-0EMVN00000Enufp.jpg)
Settings file is now in a readable format.-file--kA1VN0000000EXg0AM-0EMVN00000Enufr.jpg)