Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
PAPIMonitor — Frida-based runtime API monitor for Android apps that logs invoked APIs, parameters, return values, and call origins across predefined or custom categories. | Kitploit
Tools/GitHubGitHub/0xdad0/papimonitor
Android SecurityDynamic Analysis (Sandboxing)Mobile SecurityAPI Security
GitHub0xdad0/papimonitor

PAPIMonitor

Frida-based runtime API monitor for Android apps that logs invoked APIs, parameters, return values, and call origins across predefined or custom categories.

View Repository
87112 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Logo

Python Version License

PAPIMonitor (Python API Monitor for Android apps) is a python tool based on Frida for monitoring user-select APIs during the app execution. The app should be installed within an emulator already connected through ADB to the pc host. The user can choose to monitor a predefined list of APIs divided into several categories (e.g., Device Data, Device Info, SMS) or a custom list of APIs passed through the command line to the script. The tool stores the invoked API, the parameters, the return value, and the line and file from where it was called.

Below is an example of output:

root@kitploit:~
{   
    "category": "Custom", 
    "class": "com.dave.popupre.MainActivity", 
    "method": "getText", 
    "args": [], 
    "calledFrom": "com.dave.popupre.MainActivity$1.onClick(MainActivity.java:26)", 
    "returnValue": "Hello Toast!", 
    "time": "03/09/2021, 14:43:06"
}

⚠️ Warning with Google Emulator

Google EmulatorUbuntuWindowsMacOS
7.x x86✔️✔️✔️
8.x x86✔️✔️✔️
9.0 x86✔️✔️✔️
10.0 x86✔️✔️✔️
11.0 x86✔️✔️✔️
12.0 x86✔️✔️✔️

⚠️ Frida seems broken on Android 11-12 (x86_64) (Google Emulatore).

  • issue-1917
  • issue-1977
  • issue-1982

Installation

General requirements:

root@kitploit:~
sudo apt-get install libjpeg-dev zlib1g-dev

Installation with pyenv and virtualenv

  • Install pyenv and pyenv-virtualenv
root@kitploit:~
pyenv install 3.8.0
pyenv virtualenv 3.8.0 papi-monitor
pyenv activate 3.8.0/envs/papi-monitor
pip3 install -r requirements

Installation with virtualenv

  • install virtualenv
root@kitploit:~
sudo apt-get install python3-virtualenv
  • activate virtualenv
root@kitploit:~
virtualenv env
source env/bin/activate
  • install requirements
root@kitploit:~
pip install -r requirements
  • Download frida-server in resources/frida-server/

Post Installation

  • adb in path file
  • emulator/device already running and connect

Usage

root@kitploit:~
python papi_monitor.py --package-name com.package.name --filter "Crypto"
python papi_monitor.py --file-apk app.apk --api-monitor api_personalized.json
python papi_monitor.py --package-name com.package.name --api-monitor api_personalized.json
python papi_monitor.py --package-name com.package.name --filter "ALL"
python papi_monitor.py --package-name com.package.name --api-monitor api_personalized.json --store-script True --filter "Crypto" "Crypto - Hash"
python papi_monitor.py --package-name com.package.name --api-monitor api_personalized.json --pinning-bypass --antiroot-bypass     

Predefined Categories

  • Device Data
  • Device Info
  • SMS
  • System Manager
  • Base64 encode/decode
  • Dex Class Loader
  • Network
  • Crypto
  • Crypto - Hash
  • Binder
  • IPC
  • Database
  • SharedPreferences
  • WebView
  • Java Native Interface
  • Command
  • Process
  • FileSytem - Java

Frida Script

A lot of Frida Script for Android can be found here.


Download Tool