Skip to content

deepLink is a python script allowing to list and verify deeplinks from Android apps using an ADB access or an APK file. It can also list some potential deeplinks handling in code samples using pattern matches.

Notifications You must be signed in to change notification settings

mathis2001/deepLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

deepLink

deepLink is a python script allowing to list and verify deeplinks from Android apps using an ADB access or an APK file.

Prerequisites

  • Python3
  • Apktool
  • argparse
  • re
  • tabulate
  • colorama
  • requests
  • adb

Install

$ git clone https://github.com/mathis2001/deepLink
$ cd deepLink
$ chmod +x deepLink.py

Usage

$ ./deepLink.py [-h] (--adb | --apk APK | -l LAUNCH | -c CODE_SEARCH) [-p PACKAGE] [-s SERIAL] [-v]

List Deeplinks using ADB

$ ./deepLink.py --adb -p com.example.xyz [--verify]

List Deeplinks from an APK

$ ./deepLink.py --apk /path/to/app.apk [--verify]

Open a specific deeplink

$ ./deepLink.py -l app://deeplink.xyz

Search for potential deeplinks handling in Java / Kotlin code

$ ./deepLink.py -c /path/to/project

Options

options:
  -h, --help            show this help message and exit
  --adb                 ADB Analyze
  --apk APK             APK analyze
  -l LAUNCH, --launch LAUNCH
                        Launch a deeplink
  -c CODE_SEARCH, --code-search CODE_SEARCH
                        Search for potential deeplink handling in JAVA / Kotlin code
  -p PACKAGE, --package PACKAGE
                        Package Name (ex: com.example.xyz)
  -s SERIAL, --serial SERIAL
                        Device/Emulator to use
  -v, --verify          Verify Assets Links

Screenshots

Static Search from APK

DeepLink-APK-Check

Dynamic Search from ADB

DeepLink-ADB-Check

Code search by patterns

DeepLink-Code-Search

Launching a deeplink (insecure deeplink handling to webview hijacking example)

DeepLink-Launch

About

deepLink is a python script allowing to list and verify deeplinks from Android apps using an ADB access or an APK file. It can also list some potential deeplinks handling in code samples using pattern matches.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages