Merge branch 'main' of github.com:mvt-project/mvt into feature/hashes

This commit is contained in:
tek 2023-02-21 14:14:13 -05:00
commit 97623d6920
155 changed files with 271 additions and 186 deletions

View File

@ -1,4 +1,4 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/
@ -31,6 +31,7 @@ LOG_FORMAT = "[%(name)s] %(message)s"
logging.basicConfig(level="INFO", format=LOG_FORMAT, handlers=[ logging.basicConfig(level="INFO", format=LOG_FORMAT, handlers=[
RichHandler(show_path=False, log_time_format="%X")]) RichHandler(show_path=False, log_time_format="%X")])
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
#============================================================================== #==============================================================================
@ -52,7 +53,8 @@ def version():
#============================================================================== #==============================================================================
# Command: download-apks # Command: download-apks
#============================================================================== #==============================================================================
@cli.command("download-apks", help="Download all or only non-system installed APKs") @cli.command("download-apks", help="Download all or only non-system installed APKs",
context_settings=CONTEXT_SETTINGS)
@click.option("--serial", "-s", type=str, help=HELP_MSG_SERIAL) @click.option("--serial", "-s", type=str, help=HELP_MSG_SERIAL)
@click.option("--all-apks", "-a", is_flag=True, @click.option("--all-apks", "-a", is_flag=True,
help="Extract all packages installed on the phone, including system packages") help="Extract all packages installed on the phone, including system packages")
@ -101,7 +103,8 @@ def download_apks(ctx, all_apks, virustotal, output, from_file, serial):
#============================================================================== #==============================================================================
# Command: check-adb # Command: check-adb
#============================================================================== #==============================================================================
@cli.command("check-adb", help="Check an Android device over adb") @cli.command("check-adb", help="Check an Android device over adb",
context_settings=CONTEXT_SETTINGS)
@click.option("--serial", "-s", type=str, help=HELP_MSG_SERIAL) @click.option("--serial", "-s", type=str, help=HELP_MSG_SERIAL)
@click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True, @click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True,
default=[], help=HELP_MSG_IOC) default=[], help=HELP_MSG_IOC)
@ -131,7 +134,8 @@ def check_adb(ctx, serial, iocs, output, fast, list_modules, module):
#============================================================================== #==============================================================================
# Command: check-bugreport # Command: check-bugreport
#============================================================================== #==============================================================================
@cli.command("check-bugreport", help="Check an Android Bug Report") @cli.command("check-bugreport", help="Check an Android Bug Report",
context_settings=CONTEXT_SETTINGS)
@click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True, @click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True,
default=[], help=HELP_MSG_IOC) default=[], help=HELP_MSG_IOC)
@click.option("--output", "-o", type=click.Path(exists=False), @click.option("--output", "-o", type=click.Path(exists=False),
@ -162,7 +166,8 @@ def check_bugreport(ctx, iocs, output, list_modules, module, bugreport_path):
#============================================================================== #==============================================================================
# Command: check-backup # Command: check-backup
#============================================================================== #==============================================================================
@cli.command("check-backup", help="Check an Android Backup") @cli.command("check-backup", help="Check an Android Backup",
context_settings=CONTEXT_SETTINGS)
@click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True, @click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True,
default=[], help=HELP_MSG_IOC) default=[], help=HELP_MSG_IOC)
@click.option("--output", "-o", type=click.Path(exists=False), @click.option("--output", "-o", type=click.Path(exists=False),
@ -191,7 +196,8 @@ def check_backup(ctx, iocs, output, list_modules, backup_path):
#============================================================================== #==============================================================================
# Command: check-androidqf # Command: check-androidqf
#============================================================================== #==============================================================================
@cli.command("check-androidqf", help="Check data collected with AndroidQF") @cli.command("check-androidqf", help="Check data collected with AndroidQF",
context_settings=CONTEXT_SETTINGS)
@click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True, @click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True,
default=[], help=HELP_MSG_IOC) default=[], help=HELP_MSG_IOC)
@click.option("--output", "-o", type=click.Path(exists=False), @click.option("--output", "-o", type=click.Path(exists=False),
@ -222,7 +228,8 @@ def check_androidqf(ctx, iocs, output, list_modules, module, hashes, androidqf_p
#============================================================================== #==============================================================================
# Command: check-iocs # Command: check-iocs
#============================================================================== #==============================================================================
@cli.command("check-iocs", help="Compare stored JSON results to provided indicators") @cli.command("check-iocs", help="Compare stored JSON results to provided indicators",
context_settings=CONTEXT_SETTINGS)
@click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True, @click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True,
default=[], help=HELP_MSG_IOC) default=[], help=HELP_MSG_IOC)
@click.option("--list-modules", "-l", is_flag=True, help=HELP_MSG_LIST_MODULES) @click.option("--list-modules", "-l", is_flag=True, help=HELP_MSG_LIST_MODULES)
@ -243,7 +250,8 @@ def check_iocs(ctx, iocs, list_modules, module, folder):
#============================================================================== #==============================================================================
# Command: download-iocs # Command: download-iocs
#============================================================================== #==============================================================================
@cli.command("download-iocs", help="Download public STIX2 indicators") @cli.command("download-iocs", help="Download public STIX2 indicators",
context_settings=CONTEXT_SETTINGS)
def download_indicators(): def download_indicators():
ioc_updates = IndicatorsUpdates() ioc_updates = IndicatorsUpdates()
ioc_updates.update() ioc_updates.update()

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,4 +1,4 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/
@ -83,12 +83,13 @@ class Files(AndroidExtraction):
cmd = f"find '{folder}' -type f -printf '%T@ %m %s %u %g %p\n' 2> /dev/null" cmd = f"find '{folder}' -type f -printf '%T@ %m %s %u %g %p\n' 2> /dev/null"
output = self._adb_command(cmd) output = self._adb_command(cmd)
if output.strip() == "":
return
for file_line in output.splitlines(): for file_line in output.splitlines():
file_info = file_line.rstrip().split(" ", 5)
if len(file_line) < 6:
self.log.info("Skipping invalid file info - %s", file_line.rstrip())
continue
[unix_timestamp, mode, size, [unix_timestamp, mode, size,
owner, group, full_path] = file_line.rstrip().split(" ", 5) owner, group, full_path] = file_info
mod_time = convert_unix_to_iso(unix_timestamp) mod_time = convert_unix_to_iso(unix_timestamp)
self.results.append({ self.results.append({

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) - Private # Mobile Verification Toolkit (MVT) - Private
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# This file is part of MVT Private and its content is confidential. # This file is part of MVT Private and its content is confidential.
# Please refer to the project maintainers before sharing with others. # Please refer to the project maintainers before sharing with others.

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# See the file 'LICENSE' for usage and copying permissions, or find a copy at # See the file 'LICENSE' for usage and copying permissions, or find a copy at
# https://github.com/mvt-project/mvt/blob/main/LICENSE # https://github.com/mvt-project/mvt/blob/main/LICENSE

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,4 +1,4 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/
@ -35,6 +35,7 @@ log = logging.getLogger(__name__)
# Set this environment variable to a password if needed. # Set this environment variable to a password if needed.
MVT_IOS_BACKUP_PASSWORD = "MVT_IOS_BACKUP_PASSWORD" MVT_IOS_BACKUP_PASSWORD = "MVT_IOS_BACKUP_PASSWORD"
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
#============================================================================== #==============================================================================
@ -56,7 +57,8 @@ def version():
#============================================================================== #==============================================================================
# Command: decrypt-backup # Command: decrypt-backup
#============================================================================== #==============================================================================
@cli.command("decrypt-backup", help="Decrypt an encrypted iTunes backup") @cli.command("decrypt-backup", help="Decrypt an encrypted iTunes backup",
context_settings=CONTEXT_SETTINGS)
@click.option("--destination", "-d", required=True, @click.option("--destination", "-d", required=True,
help="Path to the folder where to store the decrypted backup") help="Path to the folder where to store the decrypted backup")
@click.option("--password", "-p", cls=MutuallyExclusiveOption, @click.option("--password", "-p", cls=MutuallyExclusiveOption,
@ -116,7 +118,8 @@ def decrypt_backup(ctx, destination, password, key_file, hashes, backup_path):
#============================================================================== #==============================================================================
# Command: extract-key # Command: extract-key
#============================================================================== #==============================================================================
@cli.command("extract-key", help="Extract decryption key from an iTunes backup") @cli.command("extract-key", help="Extract decryption key from an iTunes backup",
context_settings=CONTEXT_SETTINGS)
@click.option("--password", "-p", @click.option("--password", "-p",
help="Password to use to decrypt the backup (or, set " help="Password to use to decrypt the backup (or, set "
f"{MVT_IOS_BACKUP_PASSWORD} environment variable)") f"{MVT_IOS_BACKUP_PASSWORD} environment variable)")
@ -153,7 +156,8 @@ def extract_key(password, key_file, backup_path):
#============================================================================== #==============================================================================
# Command: check-backup # Command: check-backup
#============================================================================== #==============================================================================
@cli.command("check-backup", help="Extract artifacts from an iTunes backup") @cli.command("check-backup", help="Extract artifacts from an iTunes backup",
context_settings=CONTEXT_SETTINGS)
@click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True, @click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True,
default=[], help=HELP_MSG_IOC) default=[], help=HELP_MSG_IOC)
@click.option("--output", "-o", type=click.Path(exists=False), @click.option("--output", "-o", type=click.Path(exists=False),
@ -185,7 +189,8 @@ def check_backup(ctx, iocs, output, fast, list_modules, module, hashes, backup_p
#============================================================================== #==============================================================================
# Command: check-fs # Command: check-fs
#============================================================================== #==============================================================================
@cli.command("check-fs", help="Extract artifacts from a full filesystem dump") @cli.command("check-fs", help="Extract artifacts from a full filesystem dump",
context_settings=CONTEXT_SETTINGS)
@click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True, @click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True,
default=[], help=HELP_MSG_IOC) default=[], help=HELP_MSG_IOC)
@click.option("--output", "-o", type=click.Path(exists=False), @click.option("--output", "-o", type=click.Path(exists=False),
@ -217,7 +222,8 @@ def check_fs(ctx, iocs, output, fast, list_modules, module, hashes, dump_path):
#============================================================================== #==============================================================================
# Command: check-iocs # Command: check-iocs
#============================================================================== #==============================================================================
@cli.command("check-iocs", help="Compare stored JSON results to provided indicators") @cli.command("check-iocs", help="Compare stored JSON results to provided indicators",
context_settings=CONTEXT_SETTINGS)
@click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True, @click.option("--iocs", "-i", type=click.Path(exists=True), multiple=True,
default=[], help=HELP_MSG_IOC) default=[], help=HELP_MSG_IOC)
@click.option("--list-modules", "-l", is_flag=True, help=HELP_MSG_LIST_MODULES) @click.option("--list-modules", "-l", is_flag=True, help=HELP_MSG_LIST_MODULES)
@ -238,7 +244,8 @@ def check_iocs(ctx, iocs, list_modules, module, folder):
#============================================================================== #==============================================================================
# Command: download-iocs # Command: download-iocs
#============================================================================== #==============================================================================
@cli.command("download-iocs", help="Download public STIX2 indicators") @cli.command("download-iocs", help="Download public STIX2 indicators",
context_settings=CONTEXT_SETTINGS)
def download_iocs(): def download_iocs():
ioc_updates = IndicatorsUpdates() ioc_updates = IndicatorsUpdates()
ioc_updates.update() ioc_updates.update()

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,4 +1,4 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/
@ -9,7 +9,7 @@ import plistlib
from typing import Optional from typing import Optional
from mvt.common.module import DatabaseNotFoundError from mvt.common.module import DatabaseNotFoundError
from mvt.ios.versions import get_device_desc_from_id, latest_ios_version from mvt.ios.versions import get_device_desc_from_id, is_ios_version_outdated
from ..base import IOSExtraction from ..base import IOSExtraction
@ -63,7 +63,4 @@ class BackupInfo(IOSExtraction):
self.results[field] = value self.results[field] = value
if "Product Version" in info: if "Product Version" in info:
latest = latest_ios_version() is_ios_version_outdated(info["Product Version"], log=self.log)
if info["Product Version"] != latest["version"]:
self.log.warning("This phone is running an outdated iOS version: %s (latest is %s)",
info["Product Version"], latest['version'])

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/
@ -152,7 +152,6 @@ class IOSExtraction(MVTModule):
If a module requires to process multiple databases or files, If a module requires to process multiple databases or files,
you should use the helper functions above. you should use the helper functions above.
:param backup_id: iTunes backup database file's ID (or hash).
:param root_paths: Glob patterns for files to seek in filesystem dump. :param root_paths: Glob patterns for files to seek in filesystem dump.
(Default value = []) (Default value = [])
:param backup_ids: Default value = None) :param backup_ids: Default value = None)

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

View File

@ -1,5 +1,5 @@
# Mobile Verification Toolkit (MVT) # Mobile Verification Toolkit (MVT)
# Copyright (c) 2021-2022 Claudio Guarnieri. # Copyright (c) 2021-2023 Claudio Guarnieri.
# Use of this software is governed by the MVT License 1.1 that can be found at # Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/

Some files were not shown because too many files have changed in this diff Show More