Compare commits

..

1 Commits

Author SHA1 Message Date
Nikolaos Tosis
efdc26e54b
Merge 75f956de0b into b7df87a62f 2023-12-31 12:24:51 +01:00
8 changed files with 8 additions and 16 deletions

View File

@ -72,7 +72,7 @@ def version():
is_flag=True,
help="Extract all packages installed on the phone, including system packages",
)
@click.option("--virustotal", "-V", is_flag=True, help="Check packages on VirusTotal")
@click.option("--virustotal", "-v", is_flag=True, help="Check packages on VirusTotal")
@click.option(
"--output",
"-o",

View File

@ -12,7 +12,7 @@ from .base import AndroidQFModule
class DumpsysAccessibility(DumpsysAccessibilityArtifact, AndroidQFModule):
"""This module analyses dumpsys accessibility"""
"""This module analyse dumpsys accessbility"""
def __init__(
self,

View File

@ -10,7 +10,7 @@ from .version import MVT_VERSION
def check_updates() -> None:
# First we check for MVT version updates.
# First we check for MVT version udpates.
mvt_updates = MVTUpdates()
try:
latest_version = mvt_updates.check()

View File

@ -3,4 +3,4 @@
# Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/
MVT_VERSION = "2.5.0"
MVT_VERSION = "2.4.5"

View File

@ -964,10 +964,6 @@
"version": "16.7.3",
"build": "20H232"
},
{
"version": "16.7.4",
"build": "20H240"
},
{
"version": "17.0",
"build": "21A327"
@ -1011,9 +1007,5 @@
{
"version": "17.2",
"build": "21C62"
},
{
"version": "17.2.1",
"build": "21C66"
}
]

View File

@ -44,7 +44,7 @@ class SMS(IOSExtraction):
def serialize(self, record: dict) -> Union[dict, list]:
text = record["text"].replace("\n", "\\n")
sms_data = f"{record['service']}: {record['guid']} \"{text}\" from {record['phone_number']} ({record['account']})"
records = [
sms_data = [
{
"timestamp": record["isodate"],
"module": self.__class__.__name__,
@ -54,7 +54,7 @@ class SMS(IOSExtraction):
]
# If the message was read, we add an extra event.
if record["isodate_read"]:
records.append(
sms_data.append(
{
"timestamp": record["isodate_read"],
"module": self.__class__.__name__,
@ -62,7 +62,7 @@ class SMS(IOSExtraction):
"data": sms_data,
}
)
return records
return sms_data
def check_indicators(self) -> None:
for message in self.results:

View File

@ -17,7 +17,7 @@ class TestSMSModule:
m = SMS(target_path=get_ios_backup_folder())
run_module(m)
assert len(m.results) == 1
assert len(m.timeline) == 2
assert len(m.timeline) == 1
assert len(m.detected) == 0
def test_detection(self, indicator_file):