Exemplo n.º 1
0
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}")
Exemplo n.º 2
0
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)
Exemplo n.º 3
0
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)