MCPcopy Index your code
hub / github.com/D4stiny/JLoadLibrary

github.com/D4stiny/JLoadLibrary @1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0 ↗ · + Follow
15 symbols 27 edges 3 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

JLoadLibrary : LoadLibrary DLL Injector (x86/x64) Proof-of-Concept in Java

Description

Proof-of-Concept DLL injector that uses JNA to call WINAPI in order to execute "LoadLibraryA" on the target process with our dll. Seemed like a cool project as no one had done a DLL injector (unmanaged DLLs) in Java before. Works for both x86 and x64 executables.

Usage

Few important things: 1. Make sure you're running the java binary that has the same process architecture (x86/x64) of the target process. 2. Make sure the DLL you specify is of the same process architecture (x86/x64) of the target process.

java -jar JLoadLibrary.jar <Process-ID> <DLL-Path> 

Extension points exported contracts — how you extend this code

PsapiExt (Interface)
(no doc)
src/com/billdemirkapi/jll/PsapiExt.java
Kernel32 (Interface)
(no doc)
src/com/billdemirkapi/jll/Kernel32.java

Core symbols most depended-on inside this repo

GetLastError
called by 5
src/com/billdemirkapi/jll/Kernel32.java
OpenProcess
called by 1
src/com/billdemirkapi/jll/Kernel32.java
GetProcAddress
called by 1
src/com/billdemirkapi/jll/Kernel32.java
VirtualAllocEx
called by 1
src/com/billdemirkapi/jll/Kernel32.java
WriteProcessMemory
called by 1
src/com/billdemirkapi/jll/Kernel32.java
CreateRemoteThread
called by 1
src/com/billdemirkapi/jll/Kernel32.java
CloseHandle
called by 1
src/com/billdemirkapi/jll/Kernel32.java
GetModuleHandle
called by 1
src/com/billdemirkapi/jll/Kernel32.java

Shape

Method 12
Interface 2
Class 1

Languages

Java100%

Modules by API surface

src/com/billdemirkapi/jll/Kernel32.java9 symbols
src/com/billdemirkapi/jll/PsapiExt.java3 symbols
src/com/billdemirkapi/jll/Controller.java3 symbols

For agents

$ claude mcp add JLoadLibrary \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact