Skip to content

Shapa7276/Android-Deeplink-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Android-Deeplink-Parser

This Script can be used to Parse the AndroidManifest.xml and Strings.xml to List the all deeplinks of the android application

Alt Text

Example

     <activity android:theme="@style/Theme.lolSplashBackground" android:name="com.lol.test.LaunchActivity" android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
                <data android:scheme="@string/application_data_scheme" android:host="@string/application_data_host"/>
                <data android:scheme="@string/application_scheme" android:host="@string/application_data_host"/>
            </intent-filter>
            <intent-filter>
                <data android:scheme="@string/lol_schema" android:host="@string/lol_host"/>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
            </intent-filter>

Output

AndroidManifest.xml and Strings.xml will parsed and all deeplink will be resulted as shown below

------------------------------------com.lol.test.LaunchActivity----------------------------------------------

https://example.lol.com/test
lol://lol
word://

Installation

Install the apktool 
sudo apt-get install apktool
git clone https://github.com/Shapa7276/Android-Deeplink-Parser.git
Run below command with apk file as input 
python3 deeplinkparser.py facebook.apk

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages