[TOOL] Whatsapp Viewer For PC

Search This thread

husen4u

Senior Member
Feb 17, 2012
1,185
1,512
Kuwait
Whatsapp Viewer
V1.3

WhatsApp Viewer​


Small tool to display chats from the Android msgstore.db.crypt5 database.

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.

Changelog :

v1.3
BUGFIX: App doesn't crash anymore if column order differs
BUGFIX: Exceptions are now displayed correctly to the user
BUGFIX: Smilies caused messages to be displayed incorrectly
Smoother scrolling: Improved rendering speed of very long chat messages (clipping)
Show chats ordered by last message timestamp
Chat list can be sorted now by clicking the column header

v1.2
Improved SQLite error handling
Bugfix: Memory Leak (68b8421)

Screenshots :

algmmq.jpg

2ahcsbb.jpg

2l6k4j.jpg


Credits:
All Credit To andreas-mausch Original Developer Of This Tool (https://github.com/andreas-mausch/whatsapp-viewer/releases)
Whatsapp Xtract pwncrypt5.py https://github.com/aramosf/pwncrypt5/blob/master/pwncrypt5.py SQLite MD5 http://bobobobo.wordpress.com/2010/10/17/md5-c-implementation/ UTF8 http://utfcpp.sourceforge.net/ AES https://polarssl.org/aes-source-code
 
Last edited:

doenso

New member
Apr 24, 2014
3
0
question

Hi,

I decrypted msgstore.db.crypt5 with "WhatsApp Viewer" and now I have a decrypted file: msgstore.decrypted.db So I would like to know how could I encrypt to crypt5 file again.

Sorry for my english.
 
Last edited:

bocatasinpan

Member
Feb 11, 2009
21
0
Could not load

Hi, I tried with an android database and returns me the next error: "could not load chat list sqlite error 11 database disk image is malformed"
¿Is there any solution to this problem? Thanks!
 

andreasmausch

Member
Mar 24, 2014
21
10
First, decrypt your database file to plain msgstore.db.

Then, you could try to "repair" your database file:
Code:
echo .dump | sqlite3 msgstore.db > temp.sql
echo .quit | sqlite3 -init temp.sql repaired.db
You need SQLite installed on your computer.
Try to open repaired.db in WhatsApp Viewer.

Hope this works for you.
 

bocatasinpan

Member
Feb 11, 2009
21
0
First, decrypt your database file to plain msgstore.db.

Then, you could try to "repair" your database file:
Code:
echo .dump | sqlite3 msgstore.db > temp.sql
echo .quit | sqlite3 -init temp.sql repaired.db
You need SQLite installed on your computer.
Try to open repaired.db in WhatsApp Viewer.

Hope this works for you.

Worked for me! Thanks a lot!:)
 

w.tell

New member
May 18, 2014
1
0
WhatsApp Viewer enhancements planned?

Hi all,

I downloaded the latest 1.5 version of WhatApp viewer and it worked straight away. Very useful tool. Thank you very much!

Are some enhancements planned like

- html style for chats?
- export of chats as html?
- display of user names instead of phone numbers?
- support for crypt7 chats?
- search function inside chats?

I am not sure, but is the WhatsApp db storing deleted chats as well? And I think there is a bug in the Viewer. Try looking at characters that have a & in front of them...

Cheers!
 

andreasmausch

Member
Mar 24, 2014
21
10
Hi all,

I downloaded the latest 1.5 version of WhatApp viewer and it worked straight away. Very useful tool. Thank you very much!

Are some enhancements planned like

- html style for chats?
- export of chats as html?
- display of user names instead of phone numbers?
- support for crypt7 chats?
- search function inside chats?

I am not sure, but is the WhatsApp db storing deleted chats as well? And I think there is a bug in the Viewer. Try looking at characters that have a & in front of them...

Cheers!

Hi. Thanks for your suggestions, I had some of them on my list already. Crypt7 should work with 1.5 but you need root. I will take a look at the &-bug. I don't know about deleted chats, sorry.

Andreas
 

superta5

New member
Jun 20, 2014
1
0
First, decrypt your database file to plain msgstore.db.

Then, you could try to "repair" your database file:
Code:
echo .dump | sqlite3 msgstore.db > temp.sql
echo .quit | sqlite3 -init temp.sql repaired.db
You need SQLite installed on your computer.
Try to open repaired.db in WhatsApp Viewer.

Hope this works for you.

the same sqlite error 11

I tried to repair the database but at the last step it returns 0 KB repaired database file, while its original size is 12,960 KB

sql file size is 14,813

where could be the problem
 

Jibreil

Senior Member
Jan 11, 2007
1,551
284
Mumbai
Whenever I load the crypt7 file and enter the correct account email, it says "Could not decrypt block"

What am I doing wrong? Do I need the .key file?
 

andreasmausch

Member
Mar 24, 2014
21
10
Whenever I load the crypt7 file and enter the correct account email, it says "Could not decrypt block"

What am I doing wrong? Do I need the .key file?

Hi Jibreil,

yes in order to decrypt crypt7 you need the key file.
You can access it on your phone if you have root access: http://andreas-mausch.github.io/whatsapp-viewer/
Or you can use developer mode: http://xdaforums.com/showthread.php?t=2770982

The interface is not very clear, I will try to rework it in future versions.

Andreas
 

rojocapo

Senior Member
Dec 11, 2011
223
56
Buenos Aires

Hi, this tool worked fine decrypting and showing my .crypt7 backup.

Do you know if it would be possible to read deleted chat messages from the main sqlite database? Maybe the sqlite lib does not physically delete the chat message records, they are only marked as available record space inside the db file until it is shrunk and unused space is recovered. Just thinking outloud here.

It would be interesting to try to scan available flash space for old sqlite db pages and try to recover deleted messages.

Regards
 

andreasmausch

Member
Mar 24, 2014
21
10
Hi, this tool worked fine decrypting and showing my .crypt7 backup.

Do you know if it would be possible to read deleted chat messages from the main sqlite database? Maybe the sqlite lib does not physically delete the chat message records, they are only marked as available record space inside the db file until it is shrunk and unused space is recovered. Just thinking outloud here.

It would be interesting to try to scan available flash space for old sqlite db pages and try to recover deleted messages.

Regards

Hi, I don't know how SQLite works internally, but you might give a general restore tool a try, like this one: http://pldaniels.com/undark/
Andreas
 

Top Liked Posts