Skip to content

A script that helps you trace classes, functions, and modify the return values of methods on Android platform

License

Notifications You must be signed in to change notification settings

oaosj/frida-android-hook

 
 

Repository files navigation

image

Frida Android hook

A script that helps you trace classes, functions, and modify the return values of methods on Android platform

For iOS platform: https://github.com/noobpk/frida-ios-hook

Env OS Support

OS Supported Noted
MacOS main
Linux sub
Windows sub

Compatible with

Android Api Frida Supported
8.0 - Api 26 14.2.13

Feature

Running with python3.x

Support both spawn & attach script to process.

[+] Options:

	-p(--package)			Identifier of application ex: com.android.calendar
	-n(--name) 			Name of application ex: Calendar
	-s(--script) 			Using script format script.js
	-c(--check-version) 		Check for the newest version
	-u(--upadte) 			Update to the newest version
	
	[*] Dump memory aplication:
	
    	--dump-memory         Dump memory of application

	[*] Information:

	 --fs-start         Start frida server
    	--fs-stop           Stop frida server
    	--list-apps         List the installed apps

	[*] Quick method:

	-m(--method)			Support commonly used methods
				- app-static(-n)
				- bypass-jb(-p)
				- bypass-ssl(-p)
				- i-url-req(-p)
				- i-crypto(-n)

Update

[Version: 1.2]

[+] Feature: Dump memory application

Install & Usage

1. Git clone https://github.com/noobpk/frida-android-hook
2. cd frida-android-hook/
3. Start Frida-server: `python3 hook.py --fs-start`
4. python3 hook.py --help(-h)
5. rebellion :))

If you run the script but it doesn't work, you can try the following: frida -U -f package -l script.js

Disclaimer

Because I am not a developer, so my coding skills might not be the best. Therefore, if this tool have any issue or not working for you, create an issue and i will try to fix it. Any suggestions for new feature and discussions are welcome!

About

A script that helps you trace classes, functions, and modify the return values of methods on Android platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 56.4%
  • Python 43.6%