コード例 #1
0
ファイル: cookies.py プロジェクト: zha0/mac_apt
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}")
コード例 #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)
コード例 #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)