Closed shloak17107 closed 3 years ago
If terminal is outputting /data/app/com.whatsapp-1/base.apk
it this meaning it sure exists, now why isn't this pulling it to laptop is concering.
Run this :
adb shell pm path com.whatsapp
adb pull <path> ./test.apk
where < path > is the output of first command. Like /data/app/com.whatsapp-1/base.apk
in your case.
➜ WhatsApp-Key-Database-Extractor git:(master) ✗ adb shell pm path com.whatsapp
package:/data/app/com.whatsapp-1/base.apk
➜ WhatsApp-Key-Database-Extractor git:(master) ✗ adb pull /data/app/com.whatsapp-1/base.apk ./test.apk
adb: error: remote object '/data/app/com.whatsapp-1/base.apk' does not exist
That is definitely a bug but not on my side. Try this.
adb shell pm path com.whatsapp
adb shell cp <path> /sdcard/temp.apk
adb pull /sdcard/temp.apk ./whatsapp.apk
Successfully pulled
➜ WhatsApp-Key-Database-Extractor git:(master) ✗ adb shell pm path com.whatsapp
package:/data/app/com.whatsapp-1/base.apk
➜ WhatsApp-Key-Database-Extractor git:(master) ✗ adb shell cp /data/app/com.whatsapp-1/base.apk /sdcard/temp.apk
➜ WhatsApp-Key-Database-Extractor git:(master) ✗ adb pull /sdcard/temp.apk ./whatsapp.apk
/sdcard/temp.apk: 1 file pulled, 0 skipped. 12.9 MB/s (32340776 bytes in 2.385s)
Find me that person who said do Computer Science LoL, committing this change.
Describe the bug Upon running
python3 wa_kdbe.py
,adb
does not find/data/app/com.whatsapp-1/base.apk
.To Reproduce Steps to reproduce the behavior:
python3 wa_kdbe.py
Screenshots
Desktop:
Smartphone: