Question

I'd like to read *.db.crypt-files, preferably with PHP. The content is encoded.

Does anyone know how to decode the content or how to figure out what kind of encoding was used?

It's possible. The tool "WhatsApp Xtract" is able to do it, but it's written in python.

Était-ce utile?

La solution

$crypt = file_get_contents('msgstore.db.crypt');
$key = pack('H*', '346a23652a46392b4d73257c67317e352e3372482177652c');
$decrypt = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $crypt, MCRYPT_MODE_ECB);
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top