mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-30 16:18:54 +00:00
Changed default value for optional lists to None
This commit is contained in:
parent
ad8f455209
commit
ace965ee8a
|
@ -19,7 +19,7 @@ class CmdAndroidCheckADB(Command):
|
||||||
self,
|
self,
|
||||||
target_path: Optional[str] = "",
|
target_path: Optional[str] = "",
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
ioc_files: Optional[list] = [],
|
ioc_files: Optional[list] = None,
|
||||||
module_name: Optional[str] = "",
|
module_name: Optional[str] = "",
|
||||||
serial: Optional[str] = "",
|
serial: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
|
|
|
@ -29,7 +29,7 @@ class CmdAndroidCheckBackup(Command):
|
||||||
self,
|
self,
|
||||||
target_path: Optional[str] = "",
|
target_path: Optional[str] = "",
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
ioc_files: Optional[list] = [],
|
ioc_files: Optional[list] = None,
|
||||||
module_name: Optional[str] = "",
|
module_name: Optional[str] = "",
|
||||||
serial: Optional[str] = "",
|
serial: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
|
|
|
@ -22,7 +22,7 @@ class CmdAndroidCheckBugreport(Command):
|
||||||
self,
|
self,
|
||||||
target_path: Optional[str] = "",
|
target_path: Optional[str] = "",
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
ioc_files: Optional[list] = [],
|
ioc_files: Optional[list] = None,
|
||||||
module_name: Optional[str] = "",
|
module_name: Optional[str] = "",
|
||||||
serial: Optional[str] = "",
|
serial: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
|
|
|
@ -29,7 +29,7 @@ class DownloadAPKs(AndroidExtraction):
|
||||||
self,
|
self,
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
all_apks: Optional[bool] = False,
|
all_apks: Optional[bool] = False,
|
||||||
packages: Optional[list] = []
|
packages: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Initialize module.
|
"""Initialize module.
|
||||||
:param results_path: Path to the folder where data should be stored
|
:param results_path: Path to the folder where data should be stored
|
||||||
|
|
|
@ -39,7 +39,7 @@ class AndroidExtraction(MVTModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -26,7 +26,7 @@ class ChromeHistory(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class DumpsysAccessibility(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class DumpsysActivities(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -23,7 +23,7 @@ class DumpsysAppOps(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class DumpsysBatteryDaily(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class DumpsysBatteryHistory(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -23,7 +23,7 @@ class DumpsysDBInfo(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -20,7 +20,7 @@ class DumpsysFull(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -27,7 +27,7 @@ class DumpsysReceivers(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -32,7 +32,7 @@ class Files(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -22,7 +22,7 @@ class Getprop(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -20,7 +20,7 @@ class Logcat(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -77,7 +77,7 @@ class Packages(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -19,7 +19,7 @@ class Processes(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -19,7 +19,7 @@ class RootBinaries(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class SELinuxStatus(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -67,7 +67,7 @@ class Settings(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -52,7 +52,7 @@ class SMS(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -26,7 +26,7 @@ class Whatsapp(AndroidExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -22,7 +22,7 @@ class BackupExtraction(MVTModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -19,7 +19,7 @@ class SMS(BackupExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class Accessibility(BugReportModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class Activities(BugReportModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class Appops(BugReportModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -22,7 +22,7 @@ class BugReportModule(MVTModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class BatteryDaily(BugReportModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -21,7 +21,7 @@ class BatteryHistory(BugReportModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -23,7 +23,7 @@ class DBInfo(BugReportModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -22,7 +22,7 @@ class Getprop(BugReportModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -24,7 +24,7 @@ class Packages(BugReportModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -27,7 +27,7 @@ class Receivers(BugReportModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -18,7 +18,7 @@ class CmdCheckIOCS(Command):
|
||||||
self,
|
self,
|
||||||
target_path: Optional[str] = "",
|
target_path: Optional[str] = "",
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
ioc_files: Optional[list] = [],
|
ioc_files: Optional[list] = None,
|
||||||
module_name: Optional[str] = "",
|
module_name: Optional[str] = "",
|
||||||
serial: Optional[str] = "",
|
serial: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
|
|
|
@ -23,7 +23,7 @@ class Command:
|
||||||
self,
|
self,
|
||||||
target_path: Optional[str] = "",
|
target_path: Optional[str] = "",
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
ioc_files: Optional[list] = [],
|
ioc_files: Optional[list] = None,
|
||||||
module_name: Optional[str] = "",
|
module_name: Optional[str] = "",
|
||||||
serial: Optional[str] = "",
|
serial: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
|
|
|
@ -37,7 +37,7 @@ class MVTModule:
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Initialize module.
|
"""Initialize module.
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ class CmdIOSCheckBackup(Command):
|
||||||
self,
|
self,
|
||||||
target_path: Optional[str] = "",
|
target_path: Optional[str] = "",
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
ioc_files: Optional[list] = [],
|
ioc_files: Optional[list] = None,
|
||||||
module_name: Optional[str] = "",
|
module_name: Optional[str] = "",
|
||||||
serial: Optional[str] = "",
|
serial: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
|
|
|
@ -20,7 +20,7 @@ class CmdIOSCheckFS(Command):
|
||||||
self,
|
self,
|
||||||
target_path: Optional[str] = "",
|
target_path: Optional[str] = "",
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
ioc_files: Optional[list] = [],
|
ioc_files: Optional[list] = None,
|
||||||
module_name: Optional[str] = "",
|
module_name: Optional[str] = "",
|
||||||
serial: Optional[str] = "",
|
serial: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
|
|
|
@ -24,7 +24,7 @@ class BackupInfo(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -26,7 +26,7 @@ class ConfigurationProfiles(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -28,7 +28,7 @@ class Manifest(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -27,7 +27,7 @@ class ProfileEvents(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -26,7 +26,7 @@ class IOSExtraction(MVTModule):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
@ -139,8 +139,8 @@ class IOSExtraction(MVTModule):
|
||||||
|
|
||||||
def _find_ios_database(
|
def _find_ios_database(
|
||||||
self,
|
self,
|
||||||
backup_ids: Optional[list] = [],
|
backup_ids: Optional[list] = None,
|
||||||
root_paths: Optional[list] = []
|
root_paths: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Try to locate a module's database file from either an iTunes
|
"""Try to locate a module's database file from either an iTunes
|
||||||
backup or a full filesystem dump. This is intended only for
|
backup or a full filesystem dump. This is intended only for
|
||||||
|
|
|
@ -28,7 +28,7 @@ class Analytics(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -25,7 +25,7 @@ class AnalyticsIOSVersions(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -20,7 +20,7 @@ class CacheFiles(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -26,7 +26,7 @@ class Filesystem(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -29,7 +29,7 @@ class Netusage(NetBase):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -27,7 +27,7 @@ class SafariFavicon(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -25,7 +25,7 @@ class ShutdownLog(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -27,7 +27,7 @@ class IOSVersionHistory(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -29,7 +29,7 @@ class WebkitIndexedDB(WebkitBase):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -27,7 +27,7 @@ class WebkitLocalStorage(WebkitBase):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -27,7 +27,7 @@ class WebkitSafariViewService(WebkitBase):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -31,7 +31,7 @@ class ChromeFavicon(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -31,7 +31,7 @@ class ChromeHistory(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -27,7 +27,7 @@ class Contacts(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -29,7 +29,7 @@ class FirefoxFavicon(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -33,7 +33,7 @@ class FirefoxHistory(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -31,7 +31,7 @@ class IDStatusCache(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -29,7 +29,7 @@ class InteractionC(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -30,7 +30,7 @@ class LocationdClients(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -30,7 +30,7 @@ class Datausage(NetBase):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -30,7 +30,7 @@ class OSAnalyticsADDaily(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -31,7 +31,7 @@ class SafariBrowserState(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -35,7 +35,7 @@ class SafariHistory(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -32,7 +32,7 @@ class Shortcuts(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -30,7 +30,7 @@ class SMS(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -30,7 +30,7 @@ class SMSAttachments(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -54,7 +54,7 @@ class TCC(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -31,7 +31,7 @@ class WebkitResourceLoadStatistics(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -38,7 +38,7 @@ class WebkitSessionResourceLog(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -29,7 +29,7 @@ class Whatsapp(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
|
@ -25,7 +25,7 @@ class NetBase(IOSExtraction):
|
||||||
results_path: Optional[str] = "",
|
results_path: Optional[str] = "",
|
||||||
fast_mode: Optional[bool] = False,
|
fast_mode: Optional[bool] = False,
|
||||||
log: logging.Logger = logging.getLogger(__name__),
|
log: logging.Logger = logging.getLogger(__name__),
|
||||||
results: Optional[list] = []
|
results: Optional[list] = None
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(file_path=file_path, target_path=target_path,
|
super().__init__(file_path=file_path, target_path=target_path,
|
||||||
results_path=results_path, fast_mode=fast_mode,
|
results_path=results_path, fast_mode=fast_mode,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user