You need openssl binaries.
Copy "C:\Program Files (x86)\Samsung\Samsung TV SDK(3.5.2)\Emulator\Emulator2012_v3.5\commonlib" to your location and then run decryptall.cmd
Code: Select all
-- decryptsmk.cmd ---
set INFILE=%1
set OUTFILE=%~dpn1
set OPENSSL=C:\openssl-win64\bin\openssl.exe
"%OPENSSL%" aes-128-cbc -d -K 84AA59959849F6DDD4823B90F7913902 -iv 1DA76DE2A0EE55C0DBCCEDA772E3684D -nopad -in "%INFILE%" -out "%OUTFILE%"
-- decryptsmk.cmd ---
Code: Select all
--- decryptall.cmd ---
set DSMK=%~dp0decryptsmk.cmd
for /R %%f in (*.smk) do "%DSMK%" "%%f"
--- decryptall.cmd ---
Decrypted files have padding at the end. Count of bytes to be stripped from the end inside the last byte of decrypted file.
cmk files are encrytped with RSA. private RSA key inside the TV somewhere inside exeDSP.
need to go there and dig for it.