Mrack / TInjector

劫持Zygote在App启动前注入so
GNU General Public License v3.0
124 stars 43 forks source link
android frida hacker inject injector

TInjector

劫持Zygote实现App启动前注入so 1

Features

TODO

Build and Usage

Build:

  git clone https://github.com/mrack/TInjector.git
  cd TInjector
  ndk-build (Add ndk-build to your env variables)
  adb shell mkdir /data/local/tmp/inject
  adb push libtcore.so /data/local/tmp/inject/
  adb push tinjector /data/local/tmp/inject/

Usage:

  su
  cd /data/local/tmp/inject
  chmod 777 libtcore.so
  chmod +x tinjector
  ./tinjector -h

  Usage: ./tinject --hide --hide1 -f -p <package name>  <so path>
  Options:
  -p <pkg> <so path>  Inject so to the specified package.
  -P <pid> <so path>  Inject so to the specified pid.
  --hide              Hide the injected module.
  --hide1             Hide the injected module. (soinfo) beta
  -h                  Show this help.
  -f                  Spwan a new process and inject to it. only for android app.