jiru / kakaodecrypt

Decrypt chat history from the local database of Kakaotalk’s Android app
Do What The F*ck You Want To Public License
64 stars 26 forks source link

Unsupported encoding type 30 #11

Closed HumanKR closed 3 years ago

HumanKR commented 3 years ago

잘 진행되다가 갑자기 뻗더라고요 복호화가 완료된건가요? 아니면 오류인가요?

Traceback (most recent call last):
  File "kakaodecrypt.py", line 20, in genSalt
    salt = prefixes[encType] + str(user_id)
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "kakaodecrypt.py", line 215, in <module>
    KakaoDbDecrypt.run(args.db_file, enc_table, dec_table, enc_fields, args.p, args.u)
  File "kakaodecrypt.py", line 177, in run
    contents = KakaoDecrypt.decrypt(user_id, enc_type, contents)
  File "kakaodecrypt.py", line 92, in decrypt
    salt = KakaoDecrypt.genSalt(user_id, encType)
  File "kakaodecrypt.py", line 23, in genSalt
    raise ValueError('Unsupported encoding type %i' % encType)
ValueError: Unsupported encoding type 30
jiru commented 3 years ago

감사합니다! Please try with the latest HEAD, it should work now.