MarcoG3 / WhatsDump

Extract WhatsApp private key from any non-rooted Android device (Android 7+ supported)
https://plainsec.org
GNU Lesser General Public License v3.0
269 stars 57 forks source link

Error in extracting msgstore.db #39

Open Simlo808 opened 4 years ago

Simlo808 commented 4 years ago

I keep on getting this error when trying to verify through sms, but whatsapp is installed in the phone indeed:

[INFO] Using WhatsApp verification method: SMS

Continue? (y/n): y [INFO] Extracting msgstore.db.crypt from phone to output/33XXXXXXXX/ ... [INFO] Extracting msgstore database from path: /system/bin/sh: head: not found ls: Unknown option '-t'. Aborting. [INFO] Extracting msgstore database from path: /system/bin/sh: head: not found ls: Unknown option '-t'. Aborting. [ERROR] Could not find/extract msgstore database from device (is WhatsApp installed?)

Kohado commented 4 years ago

The whatsapp database (msgstore.db) is on a partition that is only available with root. This script exploited a vulnerability that was fixed.