示例#1
0
def analyze_native_android_browser(node, extract_deleted, extract_source):
    if node.AbsolutePath.endswith('browser2.db'):
        return base_analyze(AndroidBrowserParser, node, NATIVE,
                            VERSION_APP_VALUE, '安卓浏览器', 'Native')
    elif node.AbsolutePath.endswith('browser.db'):
        return base_analyze(AndroidOldBrowserParser, node, NATIVE,
                            VERSION_APP_VALUE, '安卓浏览器', 'Native')
示例#2
0
def analyze_oppo_browser(node, extract_deleted, extract_source):
    if node.Name == 'downloads.db':  # com.android.browser
        return base_analyze(AndroidBrowserParser, node, OPPO,
                            VERSION_APP_VALUE, 'OPPO浏览器', 'OPPO')
    elif node.Name == 'History':  # chrome
        return analyze_oppo_browser_chrome(node, extract_deleted,
                                           extract_source)
示例#3
0
def analyze_line(node, extract_deleted, extract_source):
    return base_analyze(AppleLineParser,
                        node,
                        bcp_im.CONTACT_ACCOUNT_TYPE_IM_LINE,
                        VERSION_APP_VALUE,
                        build_name='LINE',
                        db_name='LINE_i')
示例#4
0
def analyze_email(node, read_delete, extract_source):
    return base_analyze(AndroidEmailParser,
                        node,
                        bcp_mail.MAIL_TOOL_TYPE_PHONE,
                        VERSION_APP_VALUE,
                        build_name='系统邮箱',
                        db_name='AndroidEmail')
示例#5
0
def analyze_tcsecure(node, extract_deleted, extract_source):
    return base_analyze(AndroidTencentSecureParser,
                        node,
                        bcp_im.CONTACT_ACCOUNT_TYPE_IM_OTHER,
                        VERSION_APP_VALUE,
                        build_name='腾讯手机管家',
                        db_name='TCSecure_A')
示例#6
0
def analyze_sim(node, extract_deleted, extract_source):
    return base_analyze(SIMParser,
                        node,
                        bcp_basic.BASIC_SIM_INFORMATION,
                        VERSION_APP_VALUE,
                        build_name='SIM 卡',
                        db_name='AppleSIM')
示例#7
0
def analyze_neteasemail(node, extract_deleted, extract_source):
    return base_analyze(NeteaseMailParser,
                        node,
                        bcp_mail.MAIL_TOOL_TYPE_OTHER,
                        VERSION_APP_VALUE,
                        build_name='网易邮箱大师',
                        db_name='NeteaseMasterMail')
示例#8
0
def analyze_gmail(node, extract_deleted, extract_source):
    return base_analyze(GmailParser, 
                        node, 
                        bcp_mail.MAIL_TOOL_TYPE_OTHER, 
                        VERSION_APP_VALUE,
                        'Gmail',
                        'Gmail_i')
示例#9
0
def analyze_duoshan(node, extract_deleted, extract_source):
    return base_analyze(AppleDuoShanParser,
                        node,
                        bcp_im.CONTACT_ACCOUNT_TYPE_IM_OTHER,
                        VERSION_APP_VALUE,
                        build_name='多闪',
                        db_name='DuoShan_i')
示例#10
0
def analyze_cloud_12306(node, extract_deleted, extract_source):
    # node = fake_node()
    return base_analyze(Cloud12306Parser,
                        node,
                        bcp_gis.NETWORK_APP_TICKET_12306,
                        VERSION_APP_VALUE,
                        build_name='铁路12306(云勘)',
                        db_name='12306_c')
示例#11
0
def analyze_chrome(node, extract_deleted, extract_source):
    ''' Patterns:string>/Library/Application Support/Google/Chrome/Default/History$  '''
    return base_analyze(AppleChromeParser, 
                        node, 
                        bcp_browser.NETWORK_APP_CHROME, 
                        VERSION_APP_VALUE,
                        build_name='Chrome浏览器',
                        db_name='Chrome_i')
示例#12
0
def analyze_oppo_browser_chrome(node, extract_deleted, extract_source):
    if 'media' in node.AbsolutePath:
        return
    return base_analyze(OPPOBrowserParser,
                        node,
                        bcp_browser.NETWORK_APP_OPPO,
                        VERSION_APP_VALUE,
                        build_name='OPPO浏览器',
                        db_name='OPPO')
示例#13
0
def analyze_samsung_browser(node, extract_deleted, extract_source):
    if 'media' in node.AbsolutePath:
        return
    return base_analyze(SamsungBrowserParser,
                        node,
                        bcp_browser.NETWORK_APP_OTHER,
                        VERSION_APP_VALUE,
                        build_name='三星浏览器',
                        db_name='Samsung')
示例#14
0
def analyze_chrome(node, extract_deleted, extract_source):
    ''' android: com.android.chrome/databases/WXStorage$ 
        apple:   /Library/Application Support/Google/Chrome/Default/History$
        Patterns:string>/Library/Application Support/Google/Chrome/Default/History$ 
    '''
    return base_analyze(AndroidChromeParser,
                        node,
                        bcp_browser.NETWORK_APP_CHROME,
                        VERSION_APP_VALUE,
                        build_name='Chrome浏览器',
                        db_name='Chrome_A')
示例#15
0
def analyze_yixin(root, extract_deleted, extract_source):
    if root.AbsolutePath == '/data/media/0/Android/data/im.yixin/mobidroid.sqlite':
        return
    pr = ParserResults()
    _pr = base_analyze(AndroidYiXinParser,
                       root,
                       bcp_im.CONTACT_ACCOUNT_TYPE_IM_YIXIN,
                       VERSION_APP_VALUE,
                       build_name='易信',
                       db_name='yixin_i')
    gc.collect()
    pr.Add(_pr)
    return pr
示例#16
0
def analyze_sim(node, extract_deleted, extract_source):
    """
        android 小米 SIM (user_de/0/com.android.providers.telephony/databases/telephony.db)
        user_de/0/com.android.providers.telephony/databases$
    """
    node_path = node.AbsolutePath
    tp(node.AbsolutePath)
    _Parser = SIMParser

    if node_path.endswith('sim/sim.db'):
        _Parser = SIMParser_no_tar
    elif node_path.endswith(
            'com.android.providers.telephony/databases/telephony.db'):
        _Parser = SIMParser
    elif node_path.endswith('simcardmanagement.db'):
        _Parser = OldSamsungSIMParser

    return base_analyze(_Parser,
                        node,
                        bcp_basic.BASIC_SIM_INFORMATION,
                        VERSION_APP_VALUE,
                        build_name='SIM 卡',
                        db_name='AndroidSIM')
示例#17
0
def analyze_lenovo_browser(node, extract_deleted, extract_source):
    return base_analyze(AndroidBrowserParser, node, LENOVO, VERSION_APP_VALUE,
                        '联想浏览器', 'Lenovo')
示例#18
0
def analyze_smartcare(node, extract_deleted, extract_source):
    return base_analyze(HuaweiSmartcare, node,
                        bcp_gis.NETWORK_APP_TICKET_OTHER, VERSION_APP_VALUE,
                        '华为情景智能', 'HUAWEISmartCare_A')
示例#19
0
def analyze_gmail(node, extract_deleted, extract_source):
    if 'es_recycle_content' in node.AbsolutePath:
        return ParserResults()
    return base_analyze(AndroidGmailParser, node,
                        bcp_mail.MAIL_TOOL_TYPE_OTHER, VERSION_APP_VALUE,
                        'Gmail', 'Gmail_A')
示例#20
0
def analyze_12306(node, extract_deleted, extract_source):
    if 'es_recycle_content' in node.AbsolutePath:
        return ParserResults()
    return base_analyze(Apple12306Parser, node,
                        bcp_gis.NETWORK_APP_TICKET_12306, VERSION_APP_VALUE,
                        '12306', '12306_A')
示例#21
0
def analyze_xiaomi_browser(node, extract_deleted, extract_source):
    return base_analyze(AndroidBrowserParser, node, XIAOMI, VERSION_APP_VALUE,
                        '小米浏览器', 'Xiaomi')
示例#22
0
def analyze_meizu_browser(node, extract_deleted, extract_source):
    return base_analyze(AndroidBrowserParser, node, MEIZU, VERSION_APP_VALUE,
                        '魅族浏览器', 'Meizu')
示例#23
0
def analyze_vivo_browser(node, extract_deleted, extract_source):
    return base_analyze(AndroidBrowserParser, node, VIVO, VERSION_APP_VALUE,
                        'VIVO浏览器', 'VIVO')