mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
Docs: point Linux users at the Jenkins builds
- readme: note in Quick Start that Linux builds are not attached to GitHub Releases - readme: add a Download subsection to Linux Support with the Jenkins job URL - readme-zh: mirror the same changes in Chinese
This commit is contained in:
1 parent
4bb0d6ecd1
commit
c710547cc8
2 files changed
+32
No files matched your search
@@ -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.
|
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:
|
Extract the ZIP file to a directory:
|
||||||
|
|
||||||
- YourDir
|
- 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
|
therefore loads the loader itself — no `LD_PRELOAD` and no `-javaagent` — and the
|
||||||
rest of the pipeline is identical to Windows.
|
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
|
### Components
|
||||||
|
|
||||||
- `libloader.so` — loaded into the target JVM, starts from an ELF constructor.
|
- `libloader.so` — loaded into the target JVM, starts from an ELF constructor.
|
||||||
|
|||||||
@@ -108,6 +108,10 @@ Linux 上的流程与此相同,只有注入这一步不同。注入器通过 `
|
|||||||
|
|
||||||
从 [releases](https://github.com/xiaozhou233/JuiceAgent/releases) 页面下载 `JuiceAgent_vx.x.x_x64.zip`。
|
从 [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 到一个目录:
|
解压 ZIP 到一个目录:
|
||||||
|
|
||||||
- YourDir
|
- 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 完全一致。
|
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 启动。
|
- `libloader.so` —— 加载进目标 JVM,从 ELF constructor 启动。
|
||||||
|
|||||||
Reference in new issue
Block a user