diff --git a/mvt/ios/modules/fs/base.py b/mvt/ios/modules/fs/base.py index 918e3ad..2306be2 100644 --- a/mvt/ios/modules/fs/base.py +++ b/mvt/ios/modules/fs/base.py @@ -56,7 +56,7 @@ class IOSExtraction(MVTModule): bak_path = f"{file_path}.bak" shutil.move(file_path, bak_path) - ret = subprocess.call(["sqlite3", bak_path, f".clone '{file_path}'"], + ret = subprocess.call(["sqlite3", bak_path, f".clone \"{file_path}\""], stdout=subprocess.PIPE, stderr=subprocess.PIPE) if ret != 0: raise DatabaseCorruptedError("Recovery of database failed")