mirror of
https://github.com/frankwxu/mobile-pii-discovery-agent.git
synced 2026-04-10 12:13:44 +00:00
limit to US phone number
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
db_files = [
|
||||
# "test2.db",
|
||||
# "users.db",
|
||||
# "A1_commerce.db",
|
||||
# "A1_msgstore.db",
|
||||
# "A1_wa.db",
|
||||
# "A2_core.db",
|
||||
# "A2_journal.db",
|
||||
# "A2_main.db",
|
||||
# "A3_account1cache4.db",
|
||||
# "A3_account2cache4.db",
|
||||
# "A3_account3cache4.db",
|
||||
# "A4_gmm_myplaces.db",
|
||||
# "A4_gmm_storage.db",
|
||||
# "A4_peopleCache_sharononeil368@gmail.com_com.google_14.db",
|
||||
# "A5_SBrowser.db",
|
||||
# "A5_SBrowser2.db",
|
||||
"A1_commerce.db",
|
||||
"A1_msgstore.db",
|
||||
"A1_wa.db",
|
||||
"A2_core.db",
|
||||
"A2_journal.db",
|
||||
"A2_main.db",
|
||||
"A3_account1cache4.db",
|
||||
"A3_account2cache4.db",
|
||||
"A3_account3cache4.db",
|
||||
"A4_gmm_myplaces.db",
|
||||
"A4_gmm_storage.db",
|
||||
"A4_peopleCache_sharononeil368@gmail.com_com.google_14.db",
|
||||
"A5_SBrowser.db",
|
||||
"A5_SBrowser2.db",
|
||||
"A5_searchengine.db",
|
||||
"I1_CallHistory.sqlite",
|
||||
"I1_ChatStorage.sqlite",
|
||||
@@ -35,9 +35,9 @@ PII_CONFIG = {
|
||||
"desc": "a unique identifier for a destination to which electronic mail (email) can be sent and received over the internet or a private network"
|
||||
},
|
||||
"PHONE": {
|
||||
"type":"phone number",
|
||||
"type":"US phone number",
|
||||
"regex": r"\+?[0-9]{1,4}[- .]?\(?[0-9]{1,3}?\)?[- .]?[0-9]{1,4}[- .]?[0-9]{1,4}[- .]?[0-9]{1,9}",
|
||||
"desc": "a unique sequence of digits assigned to a specific telephone line or mobile device within a public or private telephone network"
|
||||
"desc": "a US phone number is a 10-digit NANP number (area code + exchange + line) that may be written as 2023133725, 202-313-3725, (202) 313-3725, 202.313.3725, +1 202 313 3725, or 1-202-313-3725"
|
||||
},
|
||||
"USERNAME": {
|
||||
"type":"username",
|
||||
|
||||
Reference in New Issue
Block a user