2022-06-16 13:18:50 +00:00
|
|
|
# Mobile Verification Toolkit (MVT)
|
|
|
|
# Copyright (c) 2021-2022 Claudio Guarnieri.
|
|
|
|
# Use of this software is governed by the MVT License 1.1 that can be found at
|
|
|
|
# https://license.mvt.re/1.1/
|
|
|
|
|
|
|
|
import logging
|
|
|
|
|
|
|
|
from mvt.common.command import Command
|
|
|
|
|
|
|
|
from .modules.fs import FS_MODULES
|
|
|
|
from .modules.mixed import MIXED_MODULES
|
|
|
|
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
|
2022-06-16 13:24:43 +00:00
|
|
|
class CmdIOSCheckFS(Command):
|
2022-06-16 13:18:50 +00:00
|
|
|
|
|
|
|
name = "check-fs"
|
|
|
|
modules = FS_MODULES + MIXED_MODULES
|
|
|
|
|
2022-06-17 20:30:46 +00:00
|
|
|
def __init__(self, target_path: str = None, results_path: str = None,
|
|
|
|
ioc_files: list = [], module_name: str = None, serial: str = None,
|
|
|
|
fast_mode: bool = False):
|
2022-06-16 13:18:50 +00:00
|
|
|
super().__init__(target_path=target_path, results_path=results_path,
|
|
|
|
ioc_files=ioc_files, module_name=module_name,
|
|
|
|
serial=serial, fast_mode=fast_mode, log=log)
|
2022-06-22 15:54:03 +00:00
|
|
|
|
|
|
|
def module_init(self, module):
|
|
|
|
module.is_fs_dump = True
|