Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 666 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 666 Bytes

ELFinjection

ELFinjection is a simple android utility for inject so, it can do the following:

  • Using ptrace to inject a so file into the process
    ./ELFinjection -p  <pid>  <libpath> 
    
  • Use ptrace to inject a so file into the process and execute a remote function
    ./ELFinjection -p  <pid>  <libpath>  <funcname>
    
  • Add a declared dependency on a dynamic library (DT_NEEDED)
    ./ELFinjection -e  <elf_path>  <so_path>
    
    example: xGvKJA.png readelf -d xGv3sf.png