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)
- Hi check phone
- Feature request - offline/airgap installation HOT 2
- First Test
- False Positives HOT 3
- Add support for structured levels of alerts, detections and logging
- Possible wrong suspicious app HOT 5
- Suspicious app not installed from the app store or MDM (false detection?) HOT 5
- Not dealing with the 'files' folder when check-iocs
- whatsapp module "device is busy"
- Docker permission denied; backup path not found (beginners)
- Tip: Self-check Droid via Termux and sudo HOT 1
- Binance
- Missing application.json HOT 5
- MVT disconnects mid process Samsung S23 -- SM-S911U
- Oneplus 10T Tmobile -- Cannot complete
- Error in running extraction from module WebkitSessionResourceLog
- STIX2 Files Not Fully Parsed HOT 1
- Can't download APK on Windows HOT 1
- Android keeps asking for PC permission
- adb device not found HOT 4
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.