Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorter paths #292

Merged
merged 1 commit into from
Oct 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Shorther paths
Eliminated the /data/data/ pathing prefix. Unnecessary.
  • Loading branch information
abrignoni committed Oct 1, 2022
commit d72aa2d23ae9aa253779fffbcf56fee4e2f00618
2 changes: 1 addition & 1 deletion scripts/artifacts/AVG.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,6 @@ def get_AVG(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"AVG": (
"Encrypting Media Apps",
('*/data/data/com.antivirus/shared_prefs/PinSettingsImpl.xml', '*/Vault/*'),
('*/com.antivirus/shared_prefs/PinSettingsImpl.xml', '*/Vault/*'),
get_AVG)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/BashHistory.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ def get_BashHistory(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Bash History": (
"Bash History",
('**/.bash_history'),
('*/.bash_history'),
get_BashHistory)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/ChessComAccount.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_ChessComAccount(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChessComAcct": (
"Chess.com",
('*/data/data/com.chess/shared_prefs/com.chess.app.login_credentials.xml', '*/data/data/com.chess/shared_prefs/com.chess.app.session_preferences.xml'),
('*/com.chess/shared_prefs/com.chess.app.login_credentials.xml', '*/data/data/com.chess/shared_prefs/com.chess.app.session_preferences.xml'),
get_ChessComAccount)
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/artifacts/ChessComFriends.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_ChessComFriends(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChessComFriends": (
"Chess.com",
('*/data/data/com.chess/databases/chess-database*'),
('*/com.chess/databases/chess-database*'),
get_ChessComFriends)
}

2 changes: 1 addition & 1 deletion scripts/artifacts/ChessComGames.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_ChessComGames(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChessComGames": (
"Chess.com",
('*/data/data/com.chess/databases/chess-database*', '*/data/data/com.chess/shared_prefs/com.chess.app.session_preferences.xml'),
('*/com.chess/databases/chess-database*', '*/data/data/com.chess/shared_prefs/com.chess.app.session_preferences.xml'),
get_ChessComGames)
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/artifacts/ChessComMessages.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_ChessComMessages(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChessComMessages": (
"Chess.com",
('*/data/data/com.chess/databases/chess-database*'),
('*/com.chess/databases/chess-database*'),
get_ChessComMessages)
}

2 changes: 1 addition & 1 deletion scripts/artifacts/ChessWithFriends.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ def get_ChessWithFriends(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChessWithFriends": (
"Chats",
('*/data/data/com.zynga.chess.googleplay/databases/wf_database.sqlite', '*/data/data/com.zynga.chess.googleplay/db/wf_database.sqlite'),
('*/com.zynga.chess.googleplay/databases/wf_database.sqlite', '*/data/data/com.zynga.chess.googleplay/db/wf_database.sqlite'),
get_ChessWithFriends)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/DocList.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ def get_DocList(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"DocList'": (
"Google Drive",
('*/data/data/com.google.android.apps.docs/databases/DocList.db*'),
('*/com.google.android.apps.docs/databases/DocList.db*'),
get_DocList)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/WhatsApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,6 @@ def get_WhatsApp(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"WhatsApp": (
"WhatsApp",
('*/com.whatsapp/databases/*.db*','**/com.whatsapp/shared_prefs/com.whatsapp_preferences_light.xml','*/WhatsApp Images/*.*','*/WhatsApp Video/*.*'),
('*/com.whatsapp/databases/*.db*','*/com.whatsapp/shared_prefs/com.whatsapp_preferences_light.xml','*/WhatsApp Images/*.*','*/WhatsApp Video/*.*'),
get_WhatsApp)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/accounts_ce.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ def process_accounts_ce(folder, uid, report_folder):
__artifacts__ = {
"Accounts_ce": (
"Accounts_ce",
('*/data/system_ce/*/accounts_ce.db'),
('*/system_ce/*/accounts_ce.db'),
get_accounts_ce)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/accounts_ce_authtokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ def process_accounts_ce_authtokens(folder, uid, report_folder):
__artifacts__ = {
"Accounts_ce authtokens": (
"Accounts_ce",
('*/data/system_ce/*/accounts_ce.db'),
('*/system_ce/*/accounts_ce.db'),
get_accounts_ce_authtokens)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/accounts_de.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ def process_accounts_de(folder, uid, report_folder):
__artifacts__ = {
"Accounts_de": (
"Accounts_de",
('*/data/system_de/*/accounts_de.db'),
('*/system_de/*/accounts_de.db'),
get_accounts_de)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/adb_hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ def get_adb_hosts(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"adb hosts": (
"Adb Hosts",
('*/data/misc/adb/adb_keys'),
('*/misc/adb/adb_keys'),
get_adb_hosts)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/airGuard.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ def get_airGuard(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"AirGuard": (
"AirTags",
('*/data/de.seemoo.at_tracking_detection.release/databases/attd_db'),
('*/de.seemoo.at_tracking_detection.release/databases/attd_db'),
get_airGuard)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/appLockerfishingnetpat.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ def get_appLockerfishingnetpat(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"App Locker Pat": (
"Encrypting Media Apps",
('*/data/com.hld.anzenbokusufake/shared_prefs/share_privacy_safe.xml'),
('*/com.hld.anzenbokusufake/shared_prefs/share_privacy_safe.xml'),
get_appLockerfishingnetpat)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/appicons.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ def get_appicons(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"App Icons": (
"Installed Apps",
('*/data/com.google.android.apps.nexuslauncher/databases/app_icons.db*'),
('*/com.google.android.apps.nexuslauncher/databases/app_icons.db*'),
get_appicons)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/appopSetupWiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ def get_appopSetupWiz(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"appopSetupWiz": (
"Wipe & Setup",
('*/data/system/appops.xml'),
('*/system/appops.xml'),
get_appopSetupWiz)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/appops.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ def get_appops(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"appops": (
"Permissions",
('*/data/system/appops.xml'),
('*/system/appops.xml'),
get_appops)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/atrackerdetect.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ def get_atrackerdetect(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"atrackerdetect": (
"AirTags",
('*/data/com.apple.trackerdetect/shared_prefs/com.apple.trackerdetect_preferences.xml'),
('*/com.apple.trackerdetect/shared_prefs/com.apple.trackerdetect_preferences.xml'),
get_atrackerdetect)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/battery_usage_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ def get_battery_usage_v4(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"battery_usage_v4": (
"Settings Services",
('**/com.google.android.settings.intelligence/databases/battery-usage-db-v4*'),
('*/com.google.android.settings.intelligence/databases/battery-usage-db-v4*'),
get_battery_usage_v4)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/bluetoothConnections.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ def get_bluetoothConnections(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Bluetooth Connections": (
"Bluetooth Connections",
('*/data/misc/bluedroid/bt_config.conf'),
('*/misc/bluedroid/bt_config.conf'),
get_bluetoothConnections)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/browserlocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_browserlocation(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Browser Location": (
"GEO Location",
('**/com.android.browser/app_geolocation/CachedGeoposition.db'),
('*/com.android.browser/app_geolocation/CachedGeoposition.db'),
get_browserlocation)
}

2 changes: 1 addition & 1 deletion scripts/artifacts/calllog.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ def get_calllog(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Call logs ": (
"Call Logs",
('*/data/com.android.providers.contacts/databases/calllog.db'),
('*/com.android.providers.contacts/databases/calllog.db'),
get_calllog)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/calllogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ def get_calllogs(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Call Logs":(
"Call Logs",
('**/com.android.providers.contacts/databases/contact*', '**/com.sec.android.provider.logsprovider/databases/logs.db*'),
('*/com.android.providers.contacts/databases/contact*', '*/com.sec.android.provider.logsprovider/databases/logs.db*'),
get_calllogs)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/cashApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_cashApp(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Cash App": (
"Cash App",
('*/data/data/com.squareup.cash/databases/cash_money.db*'),
('*/com.squareup.cash/databases/cash_money.db*'),
get_cashApp)
}

2 changes: 1 addition & 1 deletion scripts/artifacts/chrome.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,6 @@ def get_chrome(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Chrome": (
"Chromium",
('*/data/data/*/app_chrome/Default/History*', '*/data/data/*/app_sbrowser/Default/History*', '*/data/data/*/app_opera/History*'),
('*/app_chrome/Default/History*', '*/app_sbrowser/Default/History*', '*/app_opera/History*'),
get_chrome)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromeAutofill.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@ def get_chromeAutofill(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChromeAutofill": (
"Chromium",
('*/data/data/*/app_chrome/Default/Web Data*', '*/data/data/*/app_sbrowser/Default/Web Data*', '*/data/data/*/app_opera/Web Data*'),
('*/app_chrome/Default/Web Data*', '**/app_sbrowser/Default/Web Data*', '*/data/data/*/app_opera/Web Data*'),
get_chromeAutofill)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromeBookmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ def get_chromeBookmarks(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChromeBookmarks": (
"Chromium",
('*/data/data/*/app_chrome/Default/Bookmarks*', '*/data/data/*/app_sbrowser/Default/Bookmarks*', '*/data/data/*/app_opera/Bookmarks*'),
('*/app_chrome/Default/Bookmarks*', '*/app_sbrowser/Default/Bookmarks*', '*/app_opera/Bookmarks*'),
get_chromeBookmarks)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromeCookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ def get_chromeCookies(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChromeCookies": (
"Chromium",
('*/data/data/*/app_chrome/Default/Cookies*', '*/data/data/*/app_sbrowser/Default/Cookies*', '*/data/data/*/app_opera/Cookies*'),
('*/app_chrome/Default/Cookies*', '*/app_sbrowser/Default/Cookies*', '*/app_opera/Cookies*'),
get_chromeCookies)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromeLoginData.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ def get_chromeLoginData(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChromeLoginData": (
"Chromium",
('*/data/data/*/app_chrome/Default/Login Data*', '*/data/data/*/app_sbrowser/Default/Login Data*', '*/data/data/*/app_opera/Login Data*'),
('*/app_chrome/Default/Login Data*', '*/app_sbrowser/Default/Login Data*', '*/app_opera/Login Data*'),
get_chromeLoginData)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromeMediaHistory.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ def get_chromeMediaHistory(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChromeMediaHistory": (
"Chromium",
('*/data/data/*/app_chrome/Default/Media History*','*/data/data/*/app_sbrowser/Default/Media History*', '*/data/data/*/app_opera/Media History*'),
('*/app_chrome/Default/Media History*','*/app_sbrowser/Default/Media History*', '*/app_opera/Media History*'),
get_chromeMediaHistory)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromeNetworkActionPredictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ def get_chromeNetworkActionPredictor(files_found, report_folder, seeker, wrap_te
__artifacts__ = {
"ChromeNetworkActionPredictor": (
"Chromium",
('*/data/data/*/app_Chrome/Default/Network Action Predictor*','*/data/data/*/app_sbrowser/Default/Network Action Predictor*', '*/data/data/*/app_opera/Network Action Predicator*'),
('*/app_Chrome/Default/Network Action Predictor*','*/app_sbrowser/Default/Network Action Predictor*', '*/app_opera/Network Action Predicator*'),
get_chromeNetworkActionPredictor)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromeOfflinePages.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ def get_chromeOfflinePages(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChromeOfflinePages": (
"Chromium",
('*/data/data/*/app_chrome/Default/Offline Pages/metadata/OfflinePages.db*', '*/data/data/*/app_sbrowser/Default/Offline Pages/metadata/OfflinePages.db*'),
('*/app_chrome/Default/Offline Pages/metadata/OfflinePages.db*', '*/app_sbrowser/Default/Offline Pages/metadata/OfflinePages.db*'),
get_chromeOfflinePages)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/chromeTopSites.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ def get_chromeTopSites(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ChromeTopSites": (
"Chromium",
('*/data/data/*/app_chrome/Default/Top Sites*', '*/data/data/*/app_sbrowser/Default/Top Sites*', '*/data/*/app_opera/Top Sites*'),
('*/app_chrome/Default/Top Sites*', '*/app_sbrowser/Default/Top Sites*', '*/app_opera/Top Sites*'),
get_chromeTopSites)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/clipBoard.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ def get_clipBoard(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"ClipBoard": (
"Clipboard",
('*/data/*clipboard/*/*'),
('*/*clipboard/*/*'),
get_clipBoard)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/contacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ def get_contacts(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Contacts": (
"Contacts",
('**/com.android.providers.contacts/databases/contact*', '**/com.sec.android.provider.logsprovider/databases/logs.db*'),
('*/com.android.providers.contacts/databases/contact*', '*/com.sec.android.provider.logsprovider/databases/logs.db*'),
get_contacts)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/discreteNative.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ def get_discreteNative(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"DiscreteNative": (
"Privacy Dashboard",
('*/data/system/appops/discrete/*'),
('*/system/appops/discrete/*'),
get_discreteNative)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/emulatedSmeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,6 @@ def get_emulatedSmeta(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"EmulatedSmeta'": (
"Emulated Storage Metadata",
('*/data/data/com.google.android.providers.media.module/databases/external.db*'),
('*/com.google.android.providers.media.module/databases/external.db*'),
get_emulatedSmeta)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/errp.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ def get_errp(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Errp": (
"Wipe & Setup",
('*/data/system/users/service/eRR.p'),
('*/system/users/service/eRR.p'),
get_errp)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/factory_reset.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ def get_factory_reset(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Factory_reset": (
"Wipe & Setup",
('*/data/misc/bootstat/factory_reset'),
('*/misc/bootstat/factory_reset'),
get_factory_reset)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,6 @@ def get_firefox(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"Firefox": (
"Firefox",
('*/data/data/org.mozilla.firefox/files/places.sqlite*'),
('*/org.mozilla.firefox/files/places.sqlite*'),
get_firefox)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/firefoxCookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ def get_firefoxCookies(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"FirefoxCookies": (
"Firefox",
('*/data/data/org.mozilla.firefox/files/mozilla/*.default/cookies.sqlite*'),
('*/org.mozilla.firefox/files/mozilla/*.default/cookies.sqlite*'),
get_firefoxCookies)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/firefoxDownloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ def get_firefoxDownloads(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"FirefoxDownloads": (
"Firefox",
('*/data/data/org.mozilla.firefox/databases/mozac_downloads_database*'),
('*/org.mozilla.firefox/databases/mozac_downloads_database*'),
get_firefoxDownloads)
}
2 changes: 1 addition & 1 deletion scripts/artifacts/firefoxFormHistory.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ def get_firefoxFormHistory(files_found, report_folder, seeker, wrap_text):
__artifacts__ = {
"FirefoxFormHistory": (
"Firefox",
('*/data/data/org.mozilla.firefox/files/mozilla/*.default/formhistory.sqlite*'),
('*/org.mozilla.firefox/files/mozilla/*.default/formhistory.sqlite*'),
get_firefoxFormHistory)
}
Loading