Page 1 of 1

Python Error during Decrypting Firmware

Posted: Sun Aug 05, 2012 8:29 pm
by MarkV
Im trying to decrypt firmware to have a look and learn from it, but python gives a error.
Its my first time decrypting and my firsttime python, and also my first time with firmware..

Python says:

SamyGO Firmware Decrypter

Firmware: T-ECPAKUC v1031.0

No image\appdata.* files found in directory 'image'
Decrypting 'image\exe.img.sec'

Decrypted result will be here: 'image\exe.img'

AES Encrypted CI+ firmware detected.
Decrypting with AES...
secret key : ***********************************************
Decrypting AES...

Decrypting with XOR Key :
Crypto package found, using fast XOR engine.

Traceback (most recent call last):
File "E:\Downloads\Samsung\T-ECPAKUC\SamyGO.py", line 232, in <module>
SamyGO("exe")
File "E:\Downloads\Samsung\T-ECPAKUC\SamyGO.py", line 185, in SamyGO
decfile,md5digg,xorkey = xor( encfile )
File "E:\Downloads\Samsung\T-ECPAKUC\SamyGO.py", line 68, in xor
cip_xor = XOR.new( keyData )
ValueError: XOR key cannot be the null string (0 bytes long)
>>>

What is going wrong and what do i have to do???

I want to learn more about firware, because id like to have the new smarthub layout and allshare play on my UE55D8000.
Plus i want to see if i can make more video files work, like trying to implement codecs.

Re: Python Error during Decrypting Firmware

Posted: Fri Aug 10, 2012 4:57 pm
by juusso
SamyGO.py decrypt_all ./T-ECPAKUC

viewtopic.php?p=34094#p34094