yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] andefil:
Tried Java code

Hi, i've tried this, but it gives me those errors:

Exception in thread "main" java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa

der.java:58)

Caused by: java.security.InvalidKeyException: Illegal key size

at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1024)

at javax.crypto.Cipher.init(Cipher.java:1345)

at javax.crypto.Cipher.init(Cipher.java:1282)

at Crypt.whatsa.decrypt(whatsa.java:40)

at Crypt.whatsa.main(whatsa.java:26)

... 5 more
[Android Apps and Games] ark0n3:
you need to install Java JCE for your JRE (link provided is for Java 7) - means replacing 2 jar in your environment

http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
[Android Apps and Games] andefil:
Done

I replaced the files but the result was the same.

Does it have to do with some error on the decrypt key?

It says that the key is too long
[Android Apps and Games] andefil:
It Works!

You were right, i searched and i found that i had to replace the files into another folder too.

At first i replaced them in "C:\Program Files\Java\jre7\lib\security" and it did not work.

Then i replaced them in "C:\Program Files\Java\jdk1.7.0_45" and it worked.

Thanks
[Android Apps and Games] iSasha:
This worked with my iPhone backup, thanks a ton. I recently migrated to Android and I thought I lost all my messages :/
[Android Apps and Games] joko15:
I just started the pwncrypt5.py file with a batch (python newfile.py msgstore.db.crypt5 email) but always my cmd is stuck.

Whats wrong?

Will I have to install some new software?
[Android Apps and Games] huster12345:
The decryption routine "whatsapp.livetrack.mobi" in post 909 worked well with "msgstore.db.crypt5" data with the size of about 60 KB. Can it be, that the routine didn't work when the data is bigger than 2 MB? I always get an errormessage "Wrong file or an incorrect account name" ? The accountname is absolutely correct.
[Android Apps and Games] TripCode:
e

I have personally benchmarked it with a 600MB+ database. The upload limit I have set is 2GB.

7/10 times a failed decrypt will be because the account name supplied is incorrect. The account name is cAsE sEnSiTiVe.

2/10 timse a failed decrypt will be because of a failed upload (especially if you have slow internet and/or the file is quite large).

1/10 times a failed decrypt will be because of flushing our memory buffers. Files are all completely processed in memory.
[Android Apps and Games] demoniox12:
Hello!,

I sent you a private message, Might you revise? =)

Regards!
[Android Apps and Games] snake500:
still getting the error "file is not an encrypted android database" when i try to decrypt the chatstorage file from iphone. Any idea?
[Android Apps and Games] wibok:
my problem is just the same
[Android Apps and Games] Lucabest98:
Hi, i've got this problem

luca@luca-ThinkPad-X200:~/Scrivania/Whatsapp_Xtract$ python whatsapp_xtract.py msgstore.db -w wa.db

Python Version 2.x

Android mode!

Traceback (most recent call last):

File "whatsapp_xtract.py", line 2453, in <module>

main(sys.argv[1:])

File "whatsapp_xtract.py", line 1486, in main

curr_chat = Chatsession(chats["id"],chats["display_name"],chats["jid"],None,chats["unseen_msg_count"],chats["status"],lastmessagedate)

IndexError: No item with that key

luca@luca-ThinkPad-X200:~/Scrivania/Whatsapp_Xtract$

How can i solve it?

thank you
[Android Apps and Games] immer_wieder:
I used the Site

whatsapp.livetrack.mobi

with my new *.crypt5-File and i get a textfile which contains a few Keys.

The *.db-file inside i got too i can't open in ACCESS, i use the 2003-Version...

And in PSPad Editor it's so complicated to read - no chance to see my real Chat.

But i have installed phyton and whatsappXtract under WindowsXP.

It's perfect because after reading out the crypt-file i can read it normally in InternetExplorer / FireFox.

In the whatsapp_xtract.py-file (same Folder like WhatsAppXtract) i found the Line (Used PSPad Editor)

with the old Key which helped me to open my old msgstore.db.crypt-files.

But now, not new, theres no way to open my crypt5.

Where i must place the new Key/s in the whatsapp_xtract.py-file?

And: Can i Change it so simply?

Thanks for help.

William
[Android Apps and Games] gabriellak:
crypt5

hi to every one,

i have worked with whatsapp xtract and i will made its job !

as i saw we have the same problem with the new version on msgstore.db.crypt5 backup files

anyone have found a solution???

i tryied to look everywhere but i can't find an answer to my doubt! it's seems to be impossible to decrypt that kind of file!

:confused::confused::confused::confused::confused::confused::confused::confused::confused:

is there a way to change something into whatsapp xtract to be able to decrypt those(****ing)crypt5 ???
[Android Apps and Games] Amon-Don:
Anyone got any idea how to make this work for new iphone files?
[Android Apps and Games] -cyNix-:
Nice work on the site! I have successfully decrypted two dbs from different dates, one .crypt, and the other .crypt5.

But, I have a dilemma now. I have one other .crypt5 that doesn't seem to work with my email. I also can't restore this important .crypt5 backup to my phone. I am wondering what account_name was used to generate this one. Brute forcing my other email accounts, mobile number and names doesn't seem to work. It takes quite some time to upload the file (43mb) over http, am wondering if you will release the script soon. Have already emailed Whatsapp support about this. Utterly pissed off with the change in encryption. Hope I don't lose 1 month's worth of messages! Or I'm screwed at work. :crying:

ps. Did they use to generate backups using the device MAC? Just wondering if it might help me find something. I am in serious need to at least decrypt this last .crypt5 for work!

UPDATE : I thought hard and remembered that I had installed Whatsapp from the site directly, when I resetted my phone. Therefore, the account_name here is "". I tried that as the argument with pwncrypt5, and indeed in decrypted properly. I then removed my google account association on the phone, restored, and voila, it works!
[Android Apps and Games] gabriellak:
???

searching on google i have found this :

pastebin.com/ yd7e4JTj

it seems a way to the crypt the new backup file but i'm not so good working with the computer. may someone can try to do that ?

it says :

//Importing various libraries

import sys

import hashlib

import StringIO

from M2Crypto import EVP

but i can't understand where i can find theese things o.o

help meeeeeeeeeeeeeeeee
[Android Apps and Games] dexter1986:
Hi, im trying to recover my logs and pictures from an icloud backup. when i try the Chatstorage database it gives me the following error:

ChatStorage.sqlite

Python Version 2.x

Android mode!

trying to repair android database...

trying to decrypt android database...

decrypted database written to ChatStorage.sqlite.plain.db

trying to repair decrypted android database...

Could not open database file. Guess it's not a valid Android or Iphone database

file.

For some reason he goes into android mode but its an iphone 7 database.

When i try the bat for iphone it gives me this message:

Python Version 2.x

Detected non-SQLite database, potentially an encrypted Android database

Trying to decrypt Android database...

Decrypted file written to ChatStorage.sqlite.plain.db

Error: File is not an encrypted Android database

Can anyone please help me?
[Android Apps and Games] huster12345:
What can I do?

I installed WhatsApp directly from the Website.

I did'nt have any GMail adress.

How can I decrypt the "msgstore.db.crypt5" data?

The routine at "whatsapp.livetrack.mobi" needs a GMail adress.

I wonder with what does WhatsApp encrypt the data.
[Android Apps and Games] Amon-Don:
The encryption has changed so whatsappextractor only works for the older versions. They guy here have managed to build a temporary decryptor for Andriod files but nothing for iPhone logs. Yet i guess. Just gonna have to wait for someone with the smarts to figure it out.
[Android Apps and Games] dexter1986:
thanks for the reply. i just have to wait ;)
[Android Apps and Games] Stevenn:
What version of python is required to run that script?

I have 3.4.0, but i keep getting syntax error on line: print 'usage %s <db> <accountname> > decrypted.db' % sys.argv[0]

on the second ' just after decrypted.db'

If i remove that statement, then it complains that StringIO can't be found (ImportError: No module named StringIO). WhatsAppXtract works fine for other files, so there is nothing wrong with my paths it would seem.
[Android Apps and Games] zym83:
Run Xtractor on Mac

Hi guys, i tried to use Xtracotor on Mac, but i'm still in trouble.

How can i run !install pyCripto.bat and whatsapp_xtract_iphone.bat.

I've put them with the permission 755 but i can't see any kind of option "run as adminstrator".

Could anyone help me please?

Thanks

S
[Android Apps and Games] DanshuP:
It's a MAC

As it's mentioned in the instructions, the RUN AS ADMINISTRATOR part only works in WINDOWS.

Hope this answers your query :o

Have fun!

Ansh
[Android Apps and Games] muplayer2000:
Thanx donated to dev team for the whatsapp.livetrack.mobi

To read the decrypted file here how to do it

Important you need the gmail address or it wont work.

Processing mode : Decrypt whatsapp Database

Account name in small letters : xxxx@gmail.com

Browse : Choose the msgstore.db.crypt5 file.

Click process , this will generate a zip file, in the zip file they will be a file called msgstore.db , rename that file to msgstore.db.crypt

And run the extractor to read file
[Android Apps and Games] huster12345:
But - what can I do if I have no GMail adress.

How can I decrypt the data.
[Android Apps and Games] Noob911:
Www.Google.com/mail .. I recommend getting one lol
[Android Apps and Games] saurabhvasa:
Off topic, but related to whatsapp

Hey Tripcode,

There is a software https://github.com/jberkel/sms-backup-plus ... wch use to work like a charm until the new whatsapp update. I use to backup my whatsapp on my gmail the best way ...

Is there anything you can help as it does not work now.

Looking forward for your positive reply.
[Android Apps and Games] huster12345:
Good Idea.

But how can I decrypt the crypt5 data that are saved before I have a GMail adress.

With what did WhatsApp encrypt these crypt5 files?

See also Post #941
[Android Apps and Games] AcidBurns:
-deleted-

was a stupid comment already published.
[Android Apps and Games] ILoveAndroid77:
You could use my app https://play.google.com/store/apps/details?id=org.fireblade.whatsappconverter

It converts the new crypt5 database to the old crypt database at 5am and triggers a backup by SMS Backup+ (3rd party must be activated there).
[Android Apps and Games] jigneshpatel571985:
How can I decrypt the "msgstore.db.crypt5" data?
[Android Apps and Games] denniskrol:
By reading this topic
[Android Apps and Games] Amon-Don:
Originally Posted by TripCode

I haven't had time to put this into python or anything yet, but I have built an online decrypter.

The decrypter is located at (url): whatsapp.livetrack.mobi

Originally Posted by muplayer2000 View Post

To read the decrypted file here how to do it

Important you need the gmail address or it wont work.

Processing mode : Decrypt whatsapp Database

Account name in small letters : xxxx@gmail.com

Browse : Choose the msgstore.db.crypt5 file.

Click process , this will generate a zip file, in the zip file they will be a file called msgstore.db , rename that file to msgstore.db.crypt

And run the extractor to read file
[Android Apps and Games] mangesh.gho:
Check out this link

i found this link while surfing.. writer claims that it can decrypt 'crypt5'. as i dnt understand anythng frm that, u guys have a look...

github.com/aramosf/pwncrypt5/blob/master/pwncrypt5.py
[Android Apps and Games] denniskrol:
It writes a file, but sqlitebrowser can't seem to open it.
[Android Apps and Games] Amon-Don:
Anyone got an idea how to get the new iphone files decrypted?
[Android Apps and Games] Nickolei90:
Hello all,

I have the same question. I downloaded yesterday the file "ChatStorage.sqlite" from my iCloud Account.I tried the manual on page 1. But it still not work. Now i have read a few pages ago that whatsapp has changed the encryption. Is there currently a way to open the file with whatsapp xtract?

Many thanks in advance.
[Android Apps and Games] saurabhvasa:
Hi your app is good.... but wanted realtime or frequently updated gmail .... but even this one is cool .... thanks a lot buddy ....
[Android Apps and Games] Amon-Don:
Yeah hoping for this as well...
[Android Apps and Games] jigneshpatel571985:
errer while decrypt crypt5 file

hello sir when i enter my gmail id and i press process button i got this error

"Decryption failed - perhaps you uploaded the wrong file or supplied an incorrect account name?"

so please tell me what is that problm
[Android Apps and Games] TripCode:
As the error states. The account name provided is incorrect. The account name is usually the gmail account that is linked to the device.

I have also released an Android Version of this tool. Perhaps that might be easier for you as it reads the account name automatically.

Download Here: http://whatsapp.livetrack.mobi/com.whatcrypt.apk
[Android Apps and Games] saurabhvasa:
Hey Tripcode, I have sent u a PM regarding business... please reply ASAP ....
[Android Apps and Games] thehaguerepresent:
Everything works fine, but i was wondering if i could edit the 'usage statistics'. Such as how many messages i have sent.

This would be very great if i could do this! thanks
[Android Apps and Games] Firetribe:
So, I'm sorry if this was adressed already, but I didn't find it.. is there any possibility to get my old backup converted to crypt5? I uninstalled WA in January, and now as I wanted to get my Chats back, WhatsApp doesn't realize that the old .db.crypt-file is a valid backup. Is there any way to restore that? Older versions of WA don't work, they won't start even when I set the date back to the past...
[Android Apps and Games] denniskrol:
Aren't the SD backups just encrypted copies of the 'working db' in /data/data/com.whatsapp? You could try to decrypt it with the old tool and then copy it to /data/data/com.whatsapp/databases/ You'll be missing the wa.db (contacts), but maybe whatsapp will get that data from the server.

Assuming you have root, else you can ignore this post :P
[Android Apps and Games] Firetribe:
I do have root, so I'm gonna try... thanks! I'll let you know if it worked :)
[Android Apps and Games] bultar:
Does anyone can write python code for new crypt5 to decrypt it on pc ?
[Android Apps and Games] Firetribe:
Actually, it worked like a charm.... :) You have to set up WhatsApp one time, just make sure to disable all internet connections right after the comfirmation SMS, because otherwise without database or restorable backup you'll get kicked out of all existing groups. Now, when you can see the chat overview, you have to close WhatsApp, really close it, and then you can copy the "msgstore.plain.db" which was extracted to databases, rename it to "msgstore.db", overwrite the existing one, set the permissions to "read" and "write" for "user" and you're good to go :) Was kind of a hassle to figure it out, but I've got my chats back. Thanks [MENTION=437829]denniskrol[/MENTION] :)
[Android Apps and Games] andreasmausch:
WhatsApp Viewer

Hi I wrote a little tool to display WhatsApp messenges on PC. I was only able to test it against a very small database file, but you can try if this one works for you.

After opening a database, the decrypted file is located at your temp directory (C:\Users\xxx\AppData\Local\Temp\WAV?????.tmp) until the program is terminated.

hxxps://github.com/andreas-mausch/whatsapp-viewer/releases

(I am not allowed to post links yet, replace hxxps with https please)

How to use:

1. Download msgstore.db.crypt5 from your Android phone (located at /sdcard/WhatsApp/Databases)

2. Open WhatsApp Viewer

3. File -> Open -> Select file

4. Enter account name. This must be the same Google account name used on your phone. If you have more than one account, try the first one. Make sure you enter the whole email address as account name. If you have trouble, sometimes leaving the account name empty is known to work.

5. Click on a chat to show the messages.

Currently only text and image messages are supported (no audio, gps).

You cannot see bigger images because only thumbnails are stored in the database.

You see cryptic phone numbers because account names or details are not stored in the database (no support for wa.db yet).

This release is not stable and known to crash sometimes. Sorry.
[Android Apps and Games] Amon-Don:
I guess there isn't even the slightest chance anyone is working on a version for iphone logs right?
[Android Apps and Games] buttgi:
whatsapp extract not working now for me now? Help plz asap.

I used it few months back it worked fine but now .Is it due to the updated whatsapp

My version 2.11.186.

There must be another way

Please reply.
[Android Apps and Games] dragonzee:
Sounds Great :)
[Android Apps and Games] TripCode:
Just an update to let people know that I have updated my online decrypter to include an exporter. The template I designed for the exporter is based on WhatsApp so users can get a real interpretation of the data and how it was originally displayed. It includes support for broadcasts, groups, gps, audio, video, images as well as chats. I'm currently working on a native Android app that will include this exporter. I will post more info here when that happens.

Export Example: http://whatsapp.livetrack.mobi/wa_chat-export-demo.html

Decypter/Exporter: http://whatsapp.livetrack.mobi/ (Also now based on the design of WhatsApp)
[Android Apps and Games] Amon-Don:
Yes it is because of the update. Looks like version 2.11.186 is for Android so you can still get the logs decrypted thanks to TrIpCode.

http://whatsapp.livetrack.mobi/ Just follow the steps as described. This only works for Android though all other OS seem to be "safe".
[Android Apps and Games] joko15:
With which cmd code can I start the python file and convert this then in a html file for my browser?
[Android Apps and Games] red de0392:
Could not find the Python directory. Please make sure that ActivePython is insta

lled in either C:\Program Files (x86)\Python27 or C:\Program Files (x86)\Python3

2

_

Press any key to continue . . .

I'm Getting this error after running install pycrypto.bat

I'm on windows 8.1

Please help !!
[Android Apps and Games] red de0392:
How do I open the file which i get after decryption ??
[Android Apps and Games] ztedd:
du bist ein guter Stresstest für den Code ;)

Ich sehe wo's hakt.

Werde es heut abend fixen.
[Android Apps and Games] valek07:
Support for blackberry messageStore.db

I got it from the microSD card, so I guess as you mentioned in another post that it's encrypted.

I also noticed that you mentioned to connect the blackberry to the PC and then "mount" the SD, however I don't know how to do this.

I'm not sure the process of handling the database works the same in BB as it does on Android, so I don't know how to get the file without the strong blackberry encryption. Any ideas?

I downloaded and ran SQLite DB but am unable to open the messageStore.db file. It states that the "File is not a SQlite 3 database" - I'm guessing this is because it's encrypted.

I had already found these two options in google as well and tried them but they are not working. I guess it's all because that messageStore.db file is encrypted.

What we need to figure out is how to get that damn messageStore.db file when it's unencrypted and that's the problem that I don't know how to do this. :confused:

Please if you have any ideas let me know as it would be a great addition to this wonderful program you created. :)
[Android Apps and Games] ztedd:
So, hab es gefixt. Mal sehen was jetzt als nächstes kommt :P
[Android Apps and Games] Mayn:
The good news is, there has been generated a html-file now ;).

The bad news:
[Android Apps and Games] oscargpes:
Great, works

1 Download whatsaap Xtract, and unzip to a folder. I have put it on the desktop for quick reference.

2 From my smartphone copy the file (msgstore.db.crypt) in the folder where you unzipped whatsaap Xtract

3 Download and Install Active Python

4 º Run install pyCrypto.bat (Contained in the tool archive) wait till pycrypto module is installed.

Alternatively: go to windows start menu, Then folder "ActiveState ActivePython" Then run "Python Package Manager (PyPM)"

5 In the Opened DOS window, type: install pypm pycrypto

6 Python and PyCrypto should be installed. After this you can use the tool.

7 th Run whatsapp_xtract_crypted.bat

8 th Great. It works perfect.

I hope that following these steps everyone works for you.

I have worked with Python 2.7 (32 bit) and version 2.0 of Xtract whatsaap

Steps 3, 4, 5 and 6, I copied the post written by ztedd 54. Thank you.

Para los que no hablan inglés pero sí español...

1º Descargo whatsaap xtract, y lo descomprimo en una carpeta. Yo la he puesto en el escritorio para tenerla a mano.

2º Desde mi smartphone copio el archivo msgstore.db.crypt en la carpeta donde se ha descomprimido whatsaap xtract

3º Descargo e instalo Active Python

4º Ejecuto pyCrypto.bat (contenido en el directorio tool), después de un momento PyCrypto module is installed.

Alternativa: Una vez instalado Python, en la ventana del menú de inicio, escribir "Python Package Manager (PyPM)"

5º En la ventana que se abra de DOS, escribir: pypm install pycrypto

6º Ahora Python and PyCrypto están instalados. Después de esto, tu puedes utilizar whatsaap Xtract.

7º Ejecutar whatsapp_xtract_crypted.bat (pinchar 2 veces)

8º Fantástico. Funciona perfecto.

Espero que siguiendo estos pasos a todo el mundo le funcione.

Yo he trabajado con Python 2.7 (32 bits) y la version 2.0 de whatsaap xtract

Los pasos 3, 4, 5 y 6, los he copiado del post 54 escrito por ztedd. Gracias.

---------- Post added at 08:04 PM ---------- Previous post was at 07:57 PM ----------

1 Downloade Whatsapp Xtract (siehe Startbeitrag) und entpacke es in einen Ordner. Ich habe es auf den Desktop gelegt für schnellen Zugriff.

2 Von der SD Karte des Android Handys kopiere die Datei msgstore.db.crypt (im Ordner WhatsApp/Databases) in den Ordner wo du Whatsapp Xtract entpackt hast.

3 Downloade und Installiere Active Python (Link siehe Startbeitrag)

4 Führe die install pyCrypto.bat aus (enthalten im Whatsapp Xtract Archiv), warte bis das pycrypto module installiert ist.

5 (Alternativ zu 4: Öffne das Startmenü, dann "ActiveState ActivePython", dann starte "Python Package Manager (PyPM)", im geöffneten DOS fenster, gib ein: install pypm pycrypto )

6 Python und PyCrypto sollten installiert sein. Danach kannst du das Tool Whatsapp Xtract benutzen.

7 Starte die whatsapp_xtract_crypted.bat

8 Super, es geht perfekt.

Ich habe mit Python 2.7 (32 bit) und Version 2.0 von Xtract whatsaap gearbeitet

Die Schritte 3, 4, 5 und 6, kopierte ich die Post durch ztedd 54 geschrieben. Danke
[Android Apps and Games] oscargpes:
I need support to recover whatsaap talks a Nokia phone with Symbian

I do not know if they can recover, but if so, I wonder where are the files on your phone, and how I can copy them.

And once you have the necessary files, if I can open database with Whatsaap Xtract.

Thank you very much