ganyao114 / SandBoxHookPlugin

demo for inject & hook in sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SandBoxHookPlugin

demo for inject & hook in sandbox you can use in va or dr clone etc.... also can use in a root device...

How to use

  • set hook target:

public final static String targetPkg = "com.trendmicro.speedy";

  • set abi with hook target:

abiFilters 'armeabi-v7a'.

copy libsandhook.so from sandhook to assets

  • set hook item

SandHook.addHookClass(ActivityHooker.class);

  • check path with target android version:

jobject loader = load_module("/data/app/com.swift.hookdemo-1/base.apk"); String soNewPath = "/data/data/" + targetPkg + "/lib/libsandhook32.so";

Ref

Hook: https://github.com/ganyao114/SandHook

Inject: https://github.com/hluwa/Android-Injector

About

demo for inject & hook in sandbox


Languages

Language:C++ 70.2%Language:Java 20.4%Language:C 5.9%Language:CMake 3.6%