def collect_data(extract_options, session_name): print('Options to parse are : ', extract_options) print('Session name : ', session_name) print('Extracting all common databases ...') dbm.start_download_databases(session_name) print('databases extraction completed...') for option in extract_options: key = option.lower().strip() if key in FUNC_MAP: FUNC_MAP[key](session_name) print(REPORT)
def apiExtractMedia(case_name): dbm.start_download_databases(case_name) store_media_data(case_name)
def apiExtractLocation(case_name): dbm.start_download_databases(case_name) store_location_data(case_name)
def apiExtractBluetooth(case_name): dbm.start_download_databases(case_name) store_bluetooth_data(case_name)
def apiExtractPhone(case_name): dbm.start_download_databases(case_name) store_phone_data(case_name)
def apiExtractSMS(case_name): dbm.start_download_databases(case_name) store_sms_data(case_name)
def apiExtractBrowser(case_name): dbm.start_download_databases(case_name) store_browser_history_data(case_name)
def apiExtractWa(case_name): dbm.start_download_databases(case_name) store_wa_data(case_name)
def apiExtractFb(case_name): dbm.start_download_databases(case_name) store_fb_data(case_name)