diff --git a/README.md b/README.md index 8e89bab..783ad9d 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,10 @@ and drives the agent exactly like the Windows loader. See Download `JuiceAgent_vx.x.x_x64.zip` from the [releases](https://github.com/xiaozhou233/JuiceAgent/releases) page. +> **Linux users**: Linux builds are **not** attached to GitHub Releases. Download +> them from the [Jenkins job](https://jenkins.xiaozhou233.cn/job/JuiceAgent/) +> instead — see [Linux Support](#linux-support). + Extract the ZIP file to a directory: - YourDir @@ -204,6 +208,19 @@ Linux injector uses `ptrace` to attach to the target process and then performs a therefore loads the loader itself — no `LD_PRELOAD` and no `-javaagent` — and the rest of the pipeline is identical to Windows. +### Download + +Linux builds are **not** published on GitHub Releases. Download the latest +successful build from the Jenkins job: + +```text +https://jenkins.xiaozhou233.cn/job/JuiceAgent/ +``` + +Grab the build artifact (`JuiceAgent_vX.Y.Z_x64_linux.tar.gz`) from the most +recent successful build, then extract `injector`, `libloader.so` and +`libagent.so` from it. + ### Components - `libloader.so` — loaded into the target JVM, starts from an ELF constructor. diff --git a/README_ZH.md b/README_ZH.md index 706faba..87fc6bf 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -108,6 +108,10 @@ Linux 上的流程与此相同,只有注入这一步不同。注入器通过 ` 从 [releases](https://github.com/xiaozhou233/JuiceAgent/releases) 页面下载 `JuiceAgent_vx.x.x_x64.zip`。 +> **Linux 用户注意**:Linux 构建**不会**发布在 GitHub Release 上,请从 +> [Jenkins](https://jenkins.xiaozhou233.cn/job/JuiceAgent/) 下载,详见 +> [Linux 支持](#linux-支持)。 + 解压 ZIP 到一个目录: - YourDir @@ -190,6 +194,17 @@ Input PID: JuiceAgent 同样支持 Linux x64。与反射式 DLL 注入不同,Linux 注入器使用 `ptrace` 附加目标进程,然后执行一次**远程 `dlopen`**:保存线程状态,让目标进程调用 `dlopen("libloader.so", RTLD_NOW)`,恢复状态并 detach。这样由 JVM 自己加载加载器——无需 `LD_PRELOAD`,也无需 `-javaagent`——其后的流程与 Windows 完全一致。 +### 下载 + +Linux 构建**不会**发布在 GitHub Release 上,请从 Jenkins 任务下载最新一次成功的构建: + +```text +https://jenkins.xiaozhou233.cn/job/JuiceAgent/ +``` + +选择最近一次成功的构建,下载其产物(`JuiceAgent_vX.Y.Z_x64_linux.tar.gz`),从中解出 +`injector`、`libloader.so` 和 `libagent.so`。 + ### 组件 - `libloader.so` —— 加载进目标 JVM,从 ELF constructor 启动。