melonwxd / elfhooker Goto Github PK
View Code? Open in Web Editor NEW兼容Android 32位和64位。基于EFL文件格式Hook的demo,hook了SurfaceFlinger进程的eglSwapBuffers函数,替换为new_eglSwapBuffers
兼容Android 32位和64位。基于EFL文件格式Hook的demo,hook了SurfaceFlinger进程的eglSwapBuffers函数,替换为new_eglSwapBuffers
09-09 15:29:59.941 3488 3488 D INJECT : pid: 656, process name: /system/bin/surfaceflinger
09-09 15:29:59.943 3488 3488 E INJECT : failed to PTRACE_GETREGS (-4)
09-09 15:29:59.947 3488 3488 E INJECT : failed to PTRACE_SETREGS (-4)
09-09 15:29:59.947 3488 3488 E INJECT : failed to traceDetach (-4)
root@generic:/data/local/tmp # ./inject -p 656 -l ./libelfHooker.so <
failed to load ./libelfHooker.so
找不到surfaceflinger进程
5.0,6.0系统都可以正常注入并加载so,但是7.0系统不管是32位还是64位都无法注入,请问这是什么原因呢?
log如下
pid: 12577, process name: test.test.testhider
0x40112c91: module is /system/bin/linker
dlopen: local 0x40112c91, remote 0x401d2c91
0x4053fd51: module is /system/lib/libc.so
mmap: local 0x4053fd51, remote 0x42af0d51
mmap: buffer 0x40127000, length: 57
dlopen: r0 00000000 pc 00000000
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.