Skip to content

Commit

Permalink
Adds detection for various apps (#7791)
Browse files Browse the repository at this point in the history
* Adds detection for Tracker Connect
* Adds detection for Cici
* Adds detection for 360 Security
* Adds detection for XShare
* Adds detection for Visha
* Adds detection for Photo Search
  • Loading branch information
liviuconcioiu authored Aug 23, 2024
1 parent ec646fa commit 86f3aee
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Tests/Parser/Client/fixtures/mobile_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2123,3 +2123,15 @@
type: mobile app
name: QQ
version: 9.0.85.612
-
user_agent: Mozilla/5.0 (Linux; Android 11; Infinix X688B Build/RP1A.200720.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/110.0.5481.153 Mobile Safari/537.36 XShare/330003
client:
type: mobile app
name: XShare
version: ""
-
user_agent: Mozilla/5.0 (Linux; Android 12; Infinix X665E Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/118.0.0.0 Mobile Safari/537.36; VISHAAPP 4.1.1.1501
client:
type: mobile app
name: Visha
version: 4.1.1.1501
108 changes: 108 additions & 0 deletions Tests/fixtures/clienthints-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2623,3 +2623,111 @@
model: Galaxy S8
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 10; SM-J105H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Mobile Safari/537.36
headers:
http-x-requested-with: za.co.tracker.consumer
os:
name: Android
version: "10"
platform: ""
client:
type: mobile app
name: Tracker Connect
version: ""
device:
type: smartphone
brand: Samsung
model: Galaxy J1 Mini
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 12; VNE-LX3 Build/HONORVNE-L43CM; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/105.0.5195.136 Mobile Safari/537.36
headers:
http-x-requested-with: com.larus.wolf
os:
name: Android
version: "12"
platform: ""
client:
type: mobile app
name: Cici
version: ""
device:
type: smartphone
brand: Huawei
model: Honor X6
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 11; SM-A505FN Build/RP1A.200720.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/105.0.5195.79 Mobile Safari/537.36
headers:
http-x-requested-with: com.qihoo.security
os:
name: Android
version: "11"
platform: ""
client:
type: mobile app
name: 360 Security
version: ""
device:
type: smartphone
brand: Samsung
model: Galaxy A50
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 11; Infinix X688B Build/RP1A.200720.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/110.0.5481.153 Mobile Safari/537.36 XShare/330003
headers:
http-x-requested-with: com.infinix.xshare
os:
name: Android
version: "11"
platform: ""
client:
type: mobile app
name: XShare
version: ""
device:
type: smartphone
brand: Infinix
model: Hot 10 Play
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 12; Infinix X665E Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/118.0.0.0 Mobile Safari/537.36; VISHAAPP 4.1.1.1501
headers:
http-x-requested-with: com.transsion.magicshow
os:
name: Android
version: "12"
platform: ""
client:
type: mobile app
name: Visha
version: 4.1.1.1501
device:
type: smartphone
brand: Infinix
model: Hot 20i
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 10; M2007J3SG Build/QKQ1.200419.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.130 Mobile Safari/537.36
headers:
http-x-requested-with: com.bigqsys.photosearch.searchbyimage2020
os:
name: Android
version: "10"
platform: ""
client:
type: mobile app
name: Photo Search
version: ""
device:
type: smartphone
brand: Xiaomi
model: Mi 10T Pro 5G
os_family: Android
browser_family: Unknown
6 changes: 6 additions & 0 deletions regexes/client/hints/apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@
'nu.bi.moya': 'Moya'
'com.microsoft.copilot': 'Microsoft Copilot'
'com.nate.android.portalmini': 'nate'
'za.co.tracker.consumer': 'Tracker Connect'
'com.larus.wolf': 'Cici'
'com.qihoo.security': '360 Security'
'com.infinix.xshare': 'XShare'
'com.transsion.magicshow': 'Visha'
'com.bigqsys.photosearch.searchbyimage2020': 'Photo Search'

# Vpns
'org.torproject.android': 'Orbot'
Expand Down
10 changes: 10 additions & 0 deletions regexes/client/mobile_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2525,6 +2525,16 @@
name: 'Perplexity'
version: ''

# XShare
- regex: 'XShare'
name: 'XShare'
version: ''

# Visha (https://play.google.com/store/apps/details?id=com.transsion.magicshow)
- regex: 'VISHAAPP ([\d\.]+)'
name: 'Visha'
version: '$1'

# Electron generic apps
- regex: ' (?!(?:AppleWebKit|brave|Franz|Mailspring|Notion|Basecamp|Evernote|catalyst|ramboxpro|BlueMail|BeakerBrowser|TweakStyle|Colibri|Polypane|VibeMate|(?:d|LT|Glass|Sushi|Flash|OhHai)Browser|Sizzy))([a-z0-9]*)(?:-desktop|-electron-app)?/(\d+\.[\d.]+).*Electron/'
name: '$1'
Expand Down

0 comments on commit 86f3aee

Please sign in to comment.