Update global_preferences.py

Added a warning for lockdown mode when the property is not present
This commit is contained in:
makitos666
2025-06-19 17:02:15 +02:00
committed by GitHub
parent be1fc3bd8b
commit ee34bcff92

View File

@@ -43,6 +43,9 @@ class GlobalPreferences(IOSExtraction):
self.log.warning("Lockdown mode enabled")
else:
self.log.warning("Lockdown mode disabled")
else: # If the property is not present, it is disabled by default
self.log.warning("Lockdown mode disabled")
def process_file(self, file_path: str) -> None:
with open(file_path, "rb") as handle: