lidl-gateway-freedom icon indicating copy to clipboard operation
lidl-gateway-freedom copied to clipboard

lidl_auskey_decode.py do not run

Open raveit65 opened this issue 1 year ago • 1 comments

The script always give me the error message.

[rave@satellite Downloads]$ python3 lidl_auskey_decode-new.py 
Enter KEK hex string line>80000000:	FFFFFFFF	FFFFFFFF	FFFFFFFFFFFFFFFF
Encoded aus-key as hex string line 1>80000000:	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF
Encoded aus-key as hex string line 2>80000010:	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF
Traceback (most recent call last):
  File "/home/rave/Downloads/lidl_auskey_decode-new.py", line 65, in <module>
    print("Auskey:", auskey.decode("ascii"))
                     ^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 0: ordinal not in range(128)
[rave@satellite Downloads]$

System is fedora 40 with python3-3.12.3-2.fc40.x86_64

I am also wondering about the output of kek and auskey in serial console.

<RealTek>FLR 80000000 401802 16
Flash read from 00401802 to 80000000 with 00000016 bytes	?
(Y)es , (N)o ? --> y
Flash Read Successed!
<RealTek>DW 80000000 4
80000000:	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF
<RealTek>
<RealTek>FLR 80000000 402002 32
Flash read from 00402002 to 80000000 with 00000032 bytes	?
(Y)es , (N)o ? --> y
Flash Read Successed!
<RealTek>DW 80000000 8
80000000:	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF
80000010:	FFFFFFFF	FFFFFFFF	FFFFFFFF	FFFFFFFF
<RealTek>

I post this in public because i think the output is wrong. Can you help me please to get the root password of my lidl gateway?

raveit65 avatar Jul 11 '24 09:07 raveit65