Comments (11)
Can you check you do have a Manifest.db
file inside the backup folder and that it is not empty?
from mvt.
A quick fix is to use a password without special characters
from mvt.
have you tried to put it into quotes?
from mvt.
have you tried to put it into quotes?
Getting the same error, tried single and double quotes but no positive result
from mvt.
Try running it with a trailing (and empty) -p
flag. That should prompt for a password.
from mvt.
Try running it with a trailing (and empty)
-p
flag. That should prompt for a password.
Modified to print the password entered, it seems to be displaying it correctly, but still saying wrong password. Tried with two different files and Iphones, resetting settings and setting a new encryption password still no luck.
Can the extract-key PR help out with this issue?
Attached is the Typerror shown in console.
Thanks for the help great proyect!
❯ mvt-ios decrypt-backup2 --password "123456" -d ../../backups/rmg ../../backups/00008101-000C08303498001E
12:52:40 INFO [mvt.ios.decrypt] Decrypting iOS backup at path ../../backups/00008101-000C08303498001E with password
12:52:45 ERROR [mvt.ios.decrypt] b'KEY'
Traceback (most recent call last):
File "/Users/rmg/.local/share/virtualenvs/mvt-4CIRQtEM/lib/python3.9/site-packages/mvt/ios/decrypt.py", line 75, in decrypt_with_password
self._backup = iOSbackup(udid=os.path.basename(self.backup_path),
File "/Users/rmg/.local/share/virtualenvs/mvt-4CIRQtEM/lib/python3.9/site-packages/iOSbackup/__init__.py", line 190, in __init__
self.getManifestDB()
File "/Users/rmg/.local/share/virtualenvs/mvt-4CIRQtEM/lib/python3.9/site-packages/iOSbackup/__init__.py", line 1037, in getManifestDB
key = self.unwrapKeyForClass(manifest_class, manifest_key)
File "/Users/rmg/.local/share/virtualenvs/mvt-4CIRQtEM/lib/python3.9/site-packages/iOSbackup/__init__.py", line 1150, in unwrapKeyForClass
ck = self.classKeys[protection_class][b"KEY"]
KeyError: b'KEY'
CRITICAL [mvt.ios.decrypt] Failed to decrypt backup. Did you provide the correct passwords? 123456
Exception ignored in: <function iOSbackup.__del__ at 0x1091951f0>
Traceback (most recent call last):
File "/Users/rmg/.local/share/virtualenvs/mvt-4CIRQtEM/lib/python3.9/site-packages/iOSbackup/__init__.py", line 132, in __del__
self.close()
File "/Users/rmg/.local/share/virtualenvs/mvt-4CIRQtEM/lib/python3.9/site-packages/iOSbackup/__init__.py", line 138, in close
os.remove(self.manifestDB)
TypeError: remove: path should be string, bytes or os.PathLike, not NoneType
from mvt.
Can the extract-key PR help out with this issue?
Possibly. Give it a try!
Attached is the Typerror shown in console.
Yeah, the underlying library is not very graceful about handling errors. I will investigate this further.
Also, I'll double check how MVT processes special characters, as I've seen some issues when attempting to quote parameter values.
from mvt.
have you tried to put it into quotes?
Yes
from mvt.
Can you check you do have a
Manifest.db
file inside the backup folder and that it is not empty?
It is present and it is not empty.
from mvt.
A quick fix is to use a password without special characters
Unfortunately this was my temporary solution. 😵💫👍🏻
from mvt.
As of the latest version you can now pass a password by command line, by environment var or by prompt. Surely one option would work for you.
I'm closing this ticket as resolved.
from mvt.
Related Issues (20)
- MVT-Android check-adb didn't extract the packages HOT 7
- [mvt.android.modules.adb.chrome_history] Running module ChromeHistory... HOT 7
- zsh:command not found HOT 1
- Getting python's error when trying to check with stix2 HOT 5
- Missing file configuration_profiles.json HOT 1
- Error when running check-backup command. I don't see any FAQ guide? I have the latest python3 build and sqlite3. HOT 11
- LocationdClients Module : error "'int' object does not support item assignment " HOT 3
- Target device hard-reset when connecting MVT adb session HOT 3
- Addition of a timer to virustotal checks
- Add command completion HOT 1
- [Bug] in Line 87 of net_base.py - Check is done for the wrong row[10] instead of [11] HOT 1
- sysdiagonse files HOT 1
- 2 Filesystem tests fail on macOS only HOT 2
- Errors when running mvt-ios check-backup HOT 20
- Error when serializing data from module SMS: Circular reference detected HOT 4
- mvt-android check-adb (Ubuntu 20.04) stop execution at Running module Getprop... 18:13:47 INFO [mvt.android.modules.adb.getprop]. Device is malwared
- Can not upgrade MTV HOT 3
- Mobile Verification Toolkit
- MVT on openSUSE Linux? HOT 1
- SSL error when running mvt-ios urllib3 v2 only supports OpenSSL 1.1.1+ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mvt.