def read_hsts_plist_file(input_file, cookies): success, plist, error = CommonFunctions.ReadPlist(input_file) if success: parse_hsts_plist(plist, cookies, '', input_file) else: log.error(f"Could not open/process plist. {error}")
def ReadSharePointsPlist(filesharing_artifacts, plist_path): success, plist, error = CommonFunctions.ReadPlist(plist_path) if success: ProcessSharePointsPlist(plist, filesharing_artifacts, plist_path) else: log.error("Could not open plist, error was : " + error)
def ParseShortcutFile(input_file, shortcuts): success, plist, error = CommonFunctions.ReadPlist(input_file) if success: ReadShortcutPlist(plist, shortcuts, input_file) else: log.error("Could not open plist, error was : " + error)