Skip to content

Latest commit

 

History

History
54 lines (47 loc) · 1.86 KB

README.md

File metadata and controls

54 lines (47 loc) · 1.86 KB

Soinjector

This is a simple Linux library injector that allows you to inject a shared library into a running process. It uses ptrace to attach to the target process, call dlopen with the specified library path, and detach from the process. Uses GTK 3 for GUI.

Download

You can get the latest stable binary from here (filename: injector)

Building

To compile the injector, navigate to the src/build directory and run these commands to compile using CMake:

cmake ..
make

Alternatively, you can compile using the included compiler binary to compile the program for you.

chmod +x compiler
./compiler

Usage

CLI

To use the injector, you must have root privileges. You can run the program with the following command:

sudo ./injector <lib_path> <pid>

Where <lib_path> is the path to the shared library you want to inject and <pid> is the process ID of the target process.

Example:

sudo ./inject /path/to/libexample.so 1234

The injector will attach to the process, call dlopen with the specified library path, and detach from the process. If successful, it will print [*] Library injected successfully! to the console.

GUI (BETA)

gui

Docs

The documentation of this tool is here.


[x0@0x0-80tx ~]$ sudo ./injector libexample.so 1952
[*] Dlopen memory address: 0x7fa06a5b0700
[*] Found library path: libexample.so
[*] Library injected successfully!
[*] Resumed the target process: 1952
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy