Skip to content

A simple android utility for inject so (suport arm, aarch64)

Notifications You must be signed in to change notification settings

revercc/ELFinjection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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