#Whatsapp-Xtract
A copy of the script available at http://forum.xda-developers.com/showthread.php?t=1583021
I am not the author of this script. All credit goes to the authors below.
===============
WhatsApp Xtract v2.3
- WhatsApp Backup Messages Extractor for Android and iPhone
Released on April 25th, 2018
(C)opyright 2012 Fabio Sangiacomo fabio.sangiacomo@digital-forensics.it
(C)opyright 2018 Martina Weidner martina.weidner@freenet.ch
Released under MIT licence
Tested with Whatsapp (Android) 2.18.46
Tested with Whatsapp (iPhone) 2.5.1
HOW TO USE
(see also the thread at xda-dev: http://forum.xda-developers.com/showthread.php?p=24603294 )
- You need a copy of the whatsapp database and (if no root) get your key.
a) if your Android phone is rooted:
get these files:
/data/data/com.whatsapp/databases/msgstore.db and wa.db
(for this you need root access. detailed instructions in the bottom of this file.
The advantage of having wa.db is that the corresponding contact names of phone numbers will be displayed.)
b) if you have a normal Android (not rooted):
you need this to get the key:
[Tool] WhatsApp Key/DB Extractor | CRYPT6-12 | NON-ROOT
https://forum.xda-developers.com/showthread.php?t=2770982
then you need the .crypt12 database from /sdcard/WhatsApp/Databases/
then you need a tool like Whatsapp Viewer to decrypt the database file:
Whatsapp Viewer
http://andreas-mausch.de/whatsapp-viewer/
https://forum.xda-developers.com/showthread.php?t=2719741
The decrypted database can already be viewed in Whatsapp Viewer. If you want the output style from Whatsapp xtract then you can continue with the decrypted file.
c) On IPhone, get this file (don’t know if it still works in 2018):
net.whatsapp.WhatsApp/Documents/ChatStorage.sqlite
(You can use an Iphone Backup Tool to get the file, e.g. I-Twin or Iphone Backup Extractor. Make sure to create an unencrypted backup with Itunes, as these tools can’t handle encrypted backups. Another possibility are forensic tools like UFED Physical Analyzer.)
-
Extract this archive (Whatsapp_Xtract….zip) to a certain folder on your computer, e.g. C:WhatsApp.
-
Copy the database(s) to e.g. C:WhatsApp (on Android, you simply copy the whole folder WhatsApp on SD card to your computer e.g. to C:WhatsApp and then copy the database file from C:WhatsAppDatabases to C:WhatsApp)
-
You need Python
https://www.python.org/downloads/
- Now run whatsapp_xtract_android.bat or whatsapp_xtract_iphone.bat
OR simply drag and drop the database file(s) to whatsapp_xtract_drag’n’drop_database(s)_here.bat
OR run whatsapp_xtract_console.bat and then manually specify the input file with one of these commands:
COMMAND LINE OPTIONS:
For Android DB:
python whatsapp_xtract.py msgstore.db -w wa.db
OR (if wa.db is unavailable)
python whatsapp_xtract.py msgstore.db
For iPhone DB: (-w option is ignored)
python whatsapp_xtract.py ChatStorage.sqlite
Once finished, your browser will open and show the chats.
The resulting file size of the .html file will be slightly bigger than the size of the .db.crypt12 database.
RECENT BUGSFIXES
- some
CHANGELOG
v2.3 (updated by ztedd — Apr 25, 2018)
- fixed image preview to work with new Whatsapp database format
- some minor fixes
v2.2 (updated by Martina Weidner — Nov 17, 2012)
- now supports new emoji smileys
- (Android Version) hotfix for TypeError in b64encode
- (Android Version) decoded file won’t be deleted even if it can’t be opened
v2.1 (updated by Fabio Sangiacomo and Martina Weidner — May 7th, 2012)
- improved install pyCrypto.bat
- added easy drag and drop possibility with whatsapp_xtract_drag’n’drop_database(s)_here.bat
- (Android Version) added support to fix corrupted android whatsapp database (needs sqlite3, for windows sqlite3.exe is contained in the archive)
- (Android Version) removed wrong extraction of owner in android version
- (Iphone Version) information from Z_METADATA table will be printed to shell
- (Iphone Version) fixed bug in support of older Iphone whatsapp databases
v2.1-bugsfixed-4:
- fixed .bat files again to support script execution from each external directory
- fixed .bat files if error «python» not found occurs (if you get that error, run install pyCrypto.bat first; rightclick on it and choose «run as administrator»)
- updated compatibility for newer android whatsapp versions to show media files with thumbnails correctly
V2.0 (updated by Fabio Sangiacomo and Martina Weidner — Apr 28, 2012)
- supports WhatsApp DBs coming from both Android and iPhone platforms
- (Android Version) wa.db is optional
- (Android Version) now also crypted msgstore.db.crypt from the SD card can be imported
- chat list is sorted by the last sent message
- fixed some bugs (e.g. that the script didn’t work with python 3)
V1.3 (updated by Martina Weidner — Apr 17, 2012)
- corrected linking of offline files (now linking according to media file size)
V1.2 (updated by Martina Weidner — Apr 5, 2012)
- media files also linked to offline files
- corrected hyperlinks
V1.1 (updated by Martina Weidner — Apr 5, 2012)
- changed database structure, Android only
- show contact names
- show smileys
- show images
- link / popup for images, video, audio, gps
- clickable links
V1.0 (created by Fabio Sangiacomo — Dec 10, 2011)
- first release, iPhone only:
it takes in input the file «ChatStorage.sqlite»,
extracts chat sessions and the bare text - sortable js allows table sorting to make chat sessions easily readable
Wishlist
Feel free to take the code and improve it. So maybe we could include some code from this different version which is able to export separate htmls for each chat:
BurakDev/hotoloti#10
Some Additional Information
SQLITE Editor
You also can open the «msgstore.db» and «wa.db» using SQLite Database Browser ( http://sqlitebrowser.sourceforge.net/ ).
However it is much more confusing and the messages are ordered by date, not by conversations. Also you won’t see the smileys and media files…
MEDIA FILES
If you want to watch the videos, audios and images, you can click on the thumbnails and media links. Popups should open displaying the media.
However, online media files are available only for the last ~ 3 weeks.
But you still can open the offline media files, they are linked as well.
For this it is necessary to copy the folder «Media» from /sdcard/Whatsapp (Android) or net.whatsapp.WhatsApp (Iphone) to the certain folder of your computer where this tool is installed.
ROOT ACCESS TO UNENCRYPTED WHATSAPP DATABASE (Android version only)
If you want to have the contact names displayed and not only phone numbers, then (Android version only) you need the file wa.db from the internal storage.
For that you need to get access to the folder
/data/data/com.whatsapp/databases
For that you need root access.
For rooting, the tool Superoneclick Root might be useful:
http://forum.xda-developers.com/showthread.php?t=803682
Then you can copy the files «msgstore.db» and «wa.db» to your computer by
- using the App RootExplorer (first copy to SD, then mount phone to computer)
- or using adb: open cmd and type «adb pull /data/data/com.whatsapp/databases/msgstore.db C:Whatsapp» (replace C:Whatsapp by the location of the certain folder of your computer)
- or using the app Titanium Backup. Use Titanium Backup to backup the full whatsapp application together with its data, copy the backup from the folder «TitaniumBackup» on the SD card to your PC, then extract the files «wa.db» and «msgstore.db» that you will find inside the Titanium Backup archive «com.whatsapp-[Date]-[some digits].tar.gz» to the certain folder.
- or using some app like AirDroid or Webkey to access files over wifi using the PC webbrowser
Letzte Änderungen
WhatsApp Xtract
wurde zuletzt am
19.03.2013
aktualisiert und steht Ihnen hier
in der Version
2.2
zum Download zur Verfügung.
Mit «WhatsApp Xtract» lesen Sie WhatsApp Backups von Ihrem Android-Smartphone oder iPhone auf Ihrem PC ein.
Für Links auf dieser Seite zahlt der Händler ggf. eine Provision, z.B. für mit oder grüner Unterstreichung gekennzeichnete.
Mehr Infos.
Mit «WhatsApp Xtract» können Sie WhatsApp Backups auf Ihrem PC betrachten. Dafür benötigen Sie die Datei «msgstore.db.crypt» unter Android oder «ChatStorage.sqlite» unter iOS. Wie Sie diese erhalten, zeigen wir Ihnen in unserem Artikel WhatsApp Backup: Nachrichten & Verlauf sichern. Kopieren Sie diese Datei in den Ordner, in den Sie auch «WhatsApp Xtract» entpackt haben.
Aus Datenschutzgründen verschlüsselt WhatsApp die Dateien unter Android seit einiger Zeit im Crypt7- oder Crypt8-Format. Um solche Dateien auszulesen, müssen Sie den Chatverlauf vorab mit der App Whatsapp Crypt — DB Converter umwandeln. Beachten Sie aber, dass Sie dafür Root-Zugriff auf Ihrem Smartphone benötigen.
Installieren Sie jetzt die Software ActivePython (auch bei 64-Bit-Systemen die 32-Bit-Version) und starten Sie anschließend die Datei «!install pyCrypto.bat». Beenden Sie das Fenster durch das Drücken einer beliebigen Taste.
Starten Sie jetzt «whatsapp_xtract_android.bat» oder «whatsapp_xtract_iphone.bat». Anschließend öffnet sich Ihr Browser und zeigt die Chatverläufe an. Ihre Logs werden als HTML-Dateien im Xtract-Ordner abgelegt, um auch später noch darauf zugreifen zu können.
Fazit: Dank «WhatsApp Xtract» können Sie mit Ihrem WhatsApp Backup auch am PC etwas anfangen. Sollte es zu Fehlermeldungen kommen, finden Sie Hilfe im entsprechenden XDA-Thread.
Hinweis: Wenn der Vorgang bei Ihnen mit der Fehlermeldung «IndexError: No item with that key» abbricht, behelfen Sie sich mit diesem Workaround.
Whatsapp Xtract информация
Каждое программное обеспечение использует файлы в разных форматах. Некоторые из этих файлов используются в качестве исходных файлов или файлов конфигурации, необходимых для правильного запуска программы Whatsapp Xtract. Вторая категория — это форматы файлов, в которых программа может сохранять результат своей работы.
Ниже вы найдете список расширений файлов, поддерживаемых и используемых программой Whatsapp Xtract. Файлы с расширениями, перечисленными ниже, могут содержать настройки, конфигурации или другие входные данные программы Whatsapp Xtract, а также проекты или данные, которые программа Whatsapp Xtract может отображать или редактировать.
Расширения файлов, относящиеся к Whatsapp Xtract
Whatsapp Xtract скачать
Если вам нужна дополнительная информация о Whatsapp Xtract или вы ищете безопасный источник для загрузки программы, посетите веб-сайт производителя.
кликните сюда
In Softonic we scan all the files hosted on our platform to assess and avoid any potential harm for your device. Our team performs checks each time a new file is uploaded and periodically reviews files to confirm or update their status. This comprehensive process allows us to set a status for any downloadable file as follows:
- Clean
-
It’s extremely likely that this software program is clean.
What does this mean?
We have scanned the file and URLs associated with this software program in more than 50 of the world’s leading antivirus services; no possible threat has been detected.
- Warning
-
This software program is potentially malicious or may contain unwanted bundled software.
Why is the software program still available?
Based on our scan system, we have determined that these flags are possibly false positives.
What is a false positive?
It means a benign program is wrongfully flagged as malicious due to an overly broad detection signature or algorithm used in an antivirus program.
- Blocked
-
It’s highly probable this software program is malicious or contains unwanted bundled software.
Why is this software program no longer available in our Catalog?
Based on our scan system, we have determined that these flags are likely to be real positives.
Здравствуйте! Есть необходимость прочитать историю…
Здравствуйте! Есть необходимость прочитать историю переписки, хранящейся в телефоны в программе Whatsapp, файл имеет расширение db.crypt. Вроде как есть программа для чтения и открытия таких файлов Whatsapp_Xtract, но у меня ничего не выходит. Кто может помочь? Может кто сталкивался?
|
||||||||
|
||||||||
|
||||||||
|
||||||||
|
||||||||
По мнению автора лучший ответ отсутствует.
Посмотреть всех экспертов из раздела Технологии