Skip to content

Commit

Permalink
Merge pull request #17 from WithSecureLabs/whats-a-bundle-identifier-…
Browse files Browse the repository at this point in the history
…anyway

Additional `Activity` aliases and intent filters
  • Loading branch information
nyaalex authored Jul 31, 2024
2 parents 61fb929 + cfff755 commit e2e4e0b
Showing 1 changed file with 81 additions and 12 deletions.
93 changes: 81 additions & 12 deletions agent/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,10 @@
<activity
android:name="com.WithSecure.dz.activities.MainActivity"
android:label="@string/title_activity_main"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
android:exported="true" />
<activity
android:name="com.WithSecure.dz.activities.StartBroadcastActivity"
android:exported="true"
/>
android:exported="true" />
<activity
android:name="com.WithSecure.dz.activities.EndpointActivity"
android:label="@string/title_activity_endpoint" />
Expand All @@ -44,15 +37,89 @@
android:label="@string/title_activity_settings" />
<activity
android:name="com.WithSecure.dz.helpers.IntentProxyToContentProvider"
android:exported="true"
/>

android:exported="true" />

<activity-alias
android:name=".activities.AboutActivity"
android:label="@string/title_about"
android:targetActivity="com.WithSecure.dz.activities.AboutActivity" />
<activity-alias
android:name=".activities.MainActivity"
android:targetActivity="com.WithSecure.dz.activities.MainActivity"
android:label="@string/title_activity_main"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:name=".activities.StartBroadcastActivity"
android:targetActivity="com.WithSecure.dz.activities.StartBroadcastActivity"
android:exported="true" />
<activity-alias
android:name=".activities.EndpointActivity"
android:targetActivity="com.WithSecure.dz.activities.EndpointActivity"
android:label="@string/title_activity_endpoint" />
<activity-alias
android:name=".activities.EndpointSettingsActivity"
android:targetActivity="com.WithSecure.dz.activities.EndpointSettingsActivity"
android:label="@string/endpoint_new" />
<activity-alias
android:name=".activities.ServerActivity"
android:targetActivity="com.WithSecure.dz.activities.ServerActivity"
android:label="@string/title_activity_server" />
<activity-alias
android:name=".activities.SettingsActivity"
android:targetActivity="com.WithSecure.dz.activities.SettingsActivity"
android:label="@string/title_activity_settings" />
<activity-alias
android:name=".helpers.IntentProxyToContentProvider"
android:targetActivity="com.WithSecure.dz.helpers.IntentProxyToContentProvider"
android:exported="true" />

<activity-alias
android:name="com.withsecure.dz.activities.AboutActivity"
android:label="@string/title_about"
android:targetActivity="com.WithSecure.dz.activities.AboutActivity" />
<activity-alias
android:name="com.withsecure.dz.activities.MainActivity"
android:targetActivity="com.WithSecure.dz.activities.MainActivity"
android:label="@string/title_activity_main"
android:exported="true" />
<activity-alias
android:name="com.withsecure.dz.activities.StartBroadcastActivity"
android:targetActivity="com.WithSecure.dz.activities.StartBroadcastActivity"
android:exported="true" />
<activity-alias
android:name="com.withsecure.dz.activities.EndpointActivity"
android:targetActivity="com.WithSecure.dz.activities.EndpointActivity"
android:label="@string/title_activity_endpoint" />
<activity-alias
android:name="com.withsecure.dz.activities.EndpointSettingsActivity"
android:targetActivity="com.WithSecure.dz.activities.EndpointSettingsActivity"
android:label="@string/endpoint_new" />
<activity-alias
android:name="com.withsecure.dz.activities.ServerActivity"
android:targetActivity="com.WithSecure.dz.activities.ServerActivity"
android:label="@string/title_activity_server" />
<activity-alias
android:name="com.withsecure.dz.activities.SettingsActivity"
android:targetActivity="com.WithSecure.dz.activities.SettingsActivity"
android:label="@string/title_activity_settings" />
<activity-alias
android:name="com.withsecure.dz.helpers.IntentProxyToContentProvider"
android:targetActivity="com.WithSecure.dz.helpers.IntentProxyToContentProvider"
android:exported="true" />

<receiver
android:name="com.WithSecure.dz.receivers.StartServiceReceiver"
android:exported="true"
android:process=":remote">
<intent-filter>
<action android:name="com.mwr.dz.PWN"/>
<action android:name="com.WithSecure.dz.PWN"/>
<action android:name="com.withsecure.dz.PWN"/>
</intent-filter>
</receiver>

Expand All @@ -62,6 +129,8 @@
android:process=":remote">
<intent-filter>
<action android:name="com.boops.boops.START"/>
<action android:name="com.withsecure.dz.START"/>
<action android:name="com.WithSecure.dz.START"/>
</intent-filter>
</receiver>

Expand Down

0 comments on commit e2e4e0b

Please sign in to comment.