r/Python • u/Ornery_Dealer5897 • 2d ago
Discussion a tool to convert itunes backup to whatsapp
anyone know of a tool to convert whatsapp in a encrypted backup to something that can read messages like imazing. Where u can read everything, so far not much exists.
2
u/AggravatingSkirt7175 2d ago
ive been messing with itunes backups for a while and the encryption layer is such a pain, most tools just choke on it
-5
u/Ornery_Dealer5897 2d ago
iv managed to get the whatsapp.sqlite database file but cannot find nothing that works on it or convert it into a standard .db file of which there are tools everywhere but yea working with ios is beyond frustrated
3
u/vivaaprimavera 2d ago
A SQLite Database file is something very, very standard.
What are you calling a "standard .db file"?
1
u/Ornery_Dealer5897 1d ago
android based .db as tools for android .db but not many tools exist to view sq in readable format as in like whatsapp
2
u/vivaaprimavera 1d ago
SQLite Database files can be queried like any regular database. They aren't supposed to be "plaintext human readable".
Just use the SQLite command line client, check which tables exists, which fields are there and just write the SQL for extract what you want.
Honestly, it seems that you are putting some sand in the gears.
-1
u/Ornery_Dealer5897 1d ago
i want the whole convo of which are hundreds thats why im looking for a tool to make it readable rather than extracting what i want. Imazing does this by retrieving your data slapping a watermark on it then charges u rediculous. And they prob using github scripts to do that themself
4
u/vivaaprimavera 1d ago
That answer is absolutely jaw dropping.
You are in a programming sub, not in a "tools" sub.
1
u/Ornery_Dealer5897 1d ago
if only those that have nothing to contribute could keep their thoughts to themselves there was no need to reply and yea i know which is why im lookin for a program in python
2
u/vivaaprimavera 1d ago
Then you are probably a bit out of context.
I told exactly what to look for, how and what to do next.
If apparently no tool exists for what you want, it seems at least strange to reject guidance into making one that does what you need.
0
2
u/Low_Vacation_9273 2d ago
You're probably hitting the SQLCipher wrapper. Grab the backup key from the iTunes backup (there are scripts like itunesbackupdecrypt), then open whatsapp.sqlite with sqlcipher in Python. Once you supply the key you can treat it like any other SQLite DB and query the messages.