This commit is contained in:
workingreact 2021-12-02 18:31:07 +01:00
parent 74f9db2bf2
commit 11d1a3dcee

View File

@ -41,7 +41,7 @@ class ConfigurationProfiles(IOSExtraction):
conf_plist["LastPushTokenHash"] = b64encode(conf_plist["LastPushTokenHash"])
if "PayloadContent" in conf_plist:
for x in range(len(conf_plist["PayloadContent"])):
if "PERSISTENT_REF" in conf_plist["PayloadContent"]:
if "PERSISTENT_REF" in conf_plist["PayloadContent"][x]:
conf_plist["PayloadContent"][x]["PERSISTENT_REF"] = b64encode(conf_plist["PayloadContent"][x]["PERSISTENT_REF"])
self.results.append({
@ -51,4 +51,4 @@ class ConfigurationProfiles(IOSExtraction):
"plist": conf_plist,
})
self.log.info("Extracted details about %d configuration profiles", len(self.results))
self.log.info("Extracted details about %d configuration profiles", len(self.results))