劫持Zygote在App启动前注入so
https://github.com/Mrack/TInjector_Symbi
劫持Zygote实现App启动前注入so
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
Options:
-p Inject so to the specified package.
-P 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.No open issues yet, or sync has not completed.