Closed ajou4095 closed 4 years ago
+I tried all of integer fields, but I failed.
The user id is necessary to decrypt fields. For the friends table, the user id of the account of the app is used, so it's the same for all rows. It is retrieved from the open_profile table (SELECT user_id FROM open_profile LIMIT 1). Maybe the database schema changed and the user id is not there any more. Sorry but I cannot assist you with finding your user id now. Maybe next month.
@edicom000111 I added a script to help figuring out the user_id value.
./guess_user_id.py KakaoTalk.db
.-u
: ./kakaodecrypt.py -u user_id KakaoTalk2.db
.
I decrypted chat_logs using your code. It creates friends_dec table, However, It doesn't work.
name, nickname, and other things returns blank, blob, or null.
I think It doesn't work because user_id doesn't exist in friends table. In my case, It has these Integer fields : _id, contact_id, id, type, chat_id, brand_new, blocked, favorite, position, user_type, story_user_id, account_id, hidden, member_type, enc, created_at, new_badge_update_at, new_badge_seen_at. There are no user_id.
If you need my database, I'll send it to you.