ExportHunter is a tool that extracts exported activities from an APK and allows users to initiate am start commands with specified intent values. It also generates code to build an APK that triggers the exported activity with predefined intent and bundle parameters.
This tool is ideal for testing and automating interactions with exported components.
python3 ExportHunter.py
- Extract Exported Activities – Detects and lists all exported activities, including those requiring permissions.
- Java Code Analysis – Highlights intent-related methods in the selected activity’s Java code, identifying potential extra values.
- Modify Intent Extras & Bundles –
- Supports data types such as
--es,--ez,--ei, etc. - Use the Configure button to add extra values inside a bundle.
- Supports data types such as
- Launch via ADB – Execute the selected activity directly on a connected device.
- Generate & Launch APK Code –
- Generates APK code for launching the exported activity.
- Automatically initiates the call to the exported activity upon launch.
- No Root Required – Works seamlessly on non-rooted Android devices.
- Demo APK Included – A sample
Demo.apkis provided for user familiarization.
- Browse an APK – Load an APK to retrieve its exported activities.
- Select an Activity – Double-click an activity to view its Java code.
- Modify Intent Data – Add Action (-a), Data (-d), Extras and/or Bundles.
- Launch via ADB – Execute the selected activity on a device.
- Generate & Deploy APK – Automatically create and launch an APK for testing.
- Launch Using ADB (Secret 1)
ADB_Edited.mp4
- Launch Using APK (Secret 2)
APK_Edited.mp4
Ensure the following tools are installed and available in your system PATH:
- ADB
- scrcpy
- apktool
- Java –
openJDK@21or later - Android SDK 34 or later (Recommended: Android Studio installed)
- Requires an OS with a
/tmpfolder.