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

Create Android_Contacts2DB.smap #58

Merged
merged 1 commit into from
Oct 2, 2022
Merged
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
30 changes: 30 additions & 0 deletions SQLMap/Maps/Android_Contacts2DB.smap
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Description: Android - Contacts2.db
Author: Andrew Rathbun
Email: andrew.d.rathbun@gmail.com
Id: 60b52b68-5040-4913-bcf5-ebfb185bf6cb
Version: 1.0
CSVPrefix: Android
FileName: contacts2.db
IdentifyQuery: SELECT count(*) FROM sqlite_master WHERE type='table' AND (name='agg_exceptions' OR name='default_directory' OR name='location' OR name='phone_lookup' OR name='data_usage_stat' OR name='raw_contacts' OR name='accounts' OR name='speed_dial' OR name='' OR name='v1_settings' OR name='' OR name='visible_contacts' OR name='photo_files' OR name='presence' OR name='pre_authorized_uris' OR name='nickname_lookup' OR name='mimetypes' OR name='_sync_state' OR name='android_metadata' OR name='deleted_contacts');
IdentifyValue: 18
Queries:
-
Name: Accounts
Query: |
SELECT
accounts._id AS ID,
accounts.account_name AS AccountName,
accounts.account_type AS AccountType,
CASE

WHEN accounts.sec_supports_uploading = 0 THEN
'No'
WHEN accounts.sec_supports_uploading = 1 THEN
'Yes'
END AS "SecSupportsUploading"
FROM
accounts
BaseFileName: Contacts2DB_Accounts

# Documentation
# N/A