Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Tool] WhatsApp Key/DB Extractor | CRYPT7 | NON-ROOT

OP TripCode

10th December 2014, 01:14 PM   |  #81  
Deltafox79's Avatar
Senior Member
Thanks Meter: 15
 
112 posts
Join Date:Joined: Oct 2008
More
Quote:
Originally Posted by VijayKakad

I am getting error while extracting key. Attached plz find the screen cap of error.

Same problem for me on HTC m7 GPE lollipop 5.0.1.. I have also update abe.jar package downloaded here :

http://sourceforge.net/projects/adbe...e=typ_redirect

But have the problems display in attachement..

I see the line command "bin\adb.exe backup -f tmp\whatsapp.ab -noapk com.whatsapp" produce a file whatsapp.ab of 1kb only.. maybe this is the problems but why?

Regards
Attached Thumbnails
Click image for larger version

Name:	WE.jpg
Views:	272
Size:	205.2 KB
ID:	3057089  
12th December 2014, 03:39 PM   |  #82  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Dec 2014
please help
It works just fine on my galaxy note3 and my galaxy grand 2. But i try it using my xperia z it doesn't work
The error message in the attachments

Thank you
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	234
Size:	170.4 KB
ID:	3060565  
16th December 2014, 04:47 PM   |  #83  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2014
Quote:
Originally Posted by Deltafox79

Same problem for me on HTC m7 GPE lollipop 5.0.1.. I have also update abe.jar package downloaded here :

But have the problems display in attachement..

I see the line command "bin\adb.exe backup -f tmp\whatsapp.ab -noapk com.whatsapp" produce a file whatsapp.ab of 1kb only.. maybe this is the problems but why?

Regards

The backup seems to be null, maybe whatsapp change the app folder? The com.whatsapp are empty!!

No info about crypt8?
17th December 2014, 12:38 AM   |  #84  
Junior Member
Thanks Meter: 2
 
7 posts
Join Date:Joined: Jun 2004
Quote:
Originally Posted by cfrank38

Hy are you working on crypt8 ? I didnt test that new format i found crypt8 in the newest whatsapp I hope we dont get problems

crypt8 is pretty easy to decode:
get the key from "data/data/com.whatsapp/files/key" once and latest db-backup from "sdcard/Whatsapp/Databases/msgstore.db.crypt8", then execute in bash:

hexdump -e '2/1 "%02x"' key | cut -b 253-316 > tmp/aes.txt
hexdump -e '2/1 "%02x"' key | cut -b 221-252 > tmp/iv.txt
dd if=msgstore.db.crypt8 of=tmp/msgstore.db.crypt8.nohdr ibs=67 skip=1 &> /dev/null
openssl enc -aes-256-cbc -d -nosalt -nopad -bufsize 16384 -in tmp/msgstore.db.crypt8.nohdr -K $(cat tmp/aes.txt) -iv $(cat tmp/iv.txt) > tmp/msgstore.gz
gzip -cdq tmp/msgstore.gz >msgstore.db

source: http://party3d.com/2014/12/16/nachst...eits-geknackt/
The Following User Says Thank You to cyb3r For This Useful Post: [ View ]
17th December 2014, 01:06 PM   |  #85  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2014
Quote:
Originally Posted by cyb3r

crypt8 is pretty easy to decode:
get the key from "data/data/com.whatsapp/files/key" once and latest db-backup from "sdcard/Whatsapp/Databases/msgstore.db.crypt8", then execute in bash:

hexdump -e '2/1 "%02x"' key | cut -b 253-316 > tmp/aes.txt
hexdump -e '2/1 "%02x"' key | cut -b 221-252 > tmp/iv.txt
dd if=msgstore.db.crypt8 of=tmp/msgstore.db.crypt8.nohdr ibs=67 skip=1 &> /dev/null
openssl enc -aes-256-cbc -d -nosalt -nopad -bufsize 16384 -in tmp/msgstore.db.crypt8.nohdr -K $(cat tmp/aes.txt) -iv $(cat tmp/iv.txt) > tmp/msgstore.gz
gzip -cdq tmp/msgstore.gz >msgstore.db

Nice info! But, the problem was in extracting the key file, when you did the android backup its seem to be empty! Now whatsapp its protected to android backup? Or it is impossible?

(soz bad english)
Yesterday, 08:53 AM   |  #86  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jun 2012
More
It seems that WhatsApp has opted out of the Android-Backup feature. Atleast my Helium/Carbon-Backup-App says so.
I have Version 2.11.476 installed.

At first I thought it had something todo with me installing a WhatsApp beta APK, because one of my friends send me one of these messages, that crashes WA when I open it...
Yesterday, 11:01 AM   |  #87  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Dec 2014
Hi guys, I tried to do this one a HTC M7 but using the original attachment (in OPs post) I get an "exception in thread main java.lang..."

I also tried Abinash's version from Github but I get a file not found error this time.
Ive attached the screencaps

Am I correct in assuming that on a rooted device the bat file wont do anything, as Ive tried to test this on a rooted S3 and nothing happens.
Attached Thumbnails
Click image for larger version

Name:	Whatsapp exception error.png
Views:	26
Size:	180.3 KB
ID:	3071648   Click image for larger version

Name:	WAE Abinash.png
Views:	28
Size:	53.9 KB
ID:	3071649  

Post Reply Subscribe to Thread

Tags
crypt, crypt5, crypt6, crypt7, whatsapp
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes