Compare commits

...

3 Commits

Author SHA1 Message Date
DonnchaC
e25d20e586 Add new iOS versions and build numbers 2024-01-03 18:04:45 +00:00
Christian Clauss
5d2ff32e3a
dumpsys_accessibility.py: Spell accessibility correctly (#441)
* dumpsys_accessibility.py: Spell accessibility correctly

* Fix typo
2024-01-03 18:59:06 +01:00
Rory Flynn
2838bac63f
Circular reference in SMS module serialization (#444)
* Fix circular reference in SMS module serialization
* Modify SMS test artifact to include date_read
2024-01-03 18:55:32 +01:00
6 changed files with 14 additions and 6 deletions

View File

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

View File

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

View File

@ -964,6 +964,10 @@
"version": "16.7.3",
"build": "20H232"
},
{
"version": "16.7.4",
"build": "20H240"
},
{
"version": "17.0",
"build": "21A327"
@ -1007,5 +1011,9 @@
{
"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']})"
sms_data = [
records = [
{
"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"]:
sms_data.append(
records.append(
{
"timestamp": record["isodate_read"],
"module": self.__class__.__name__,
@ -62,7 +62,7 @@ class SMS(IOSExtraction):
"data": sms_data,
}
)
return sms_data
return records
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) == 1
assert len(m.timeline) == 2
assert len(m.detected) == 0
def test_detection(self, indicator_file):