mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +08:00
Compare commits
60
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc1c2bff30 | ||
|
|
7352f8d872 | ||
|
|
4be6324cf3 | ||
|
|
0169e5e133 | ||
|
|
fc5d23109d | ||
|
|
2493a9243f | ||
|
|
28804c0af3 | ||
|
|
9d0fdecf92 | ||
|
|
dfc5886812 | ||
|
|
9a582addc3 | ||
|
|
41a8572c55 | ||
|
|
01c46c6b98 | ||
|
|
bb6f5d50bb | ||
|
|
e2d6dcaa25 | ||
|
|
75062b805c | ||
|
|
853002e70a | ||
|
|
962cbbe25d | ||
|
|
97e3b44130 | ||
|
|
8002386230 | ||
|
|
f84e13c14d | ||
|
|
ee382817d3 | ||
|
|
a834584b9d | ||
|
|
49f737ec2f | ||
|
|
7bf6d486c3 | ||
|
|
bf75790921 | ||
|
|
5b253ddd5d | ||
|
|
4c940c848b | ||
|
|
6564a0e020 | ||
|
|
c6dd965a9a | ||
|
|
d87972242a | ||
|
|
50eb73d4e8 | ||
|
|
08ec414094 | ||
|
|
601c999023 | ||
|
|
e1577d4fae | ||
|
|
79ae4b62a3 | ||
|
|
f90582d24f | ||
|
|
bc2440eeab | ||
|
|
92837c9597 | ||
|
|
b348757416 | ||
|
|
f5912f8040 | ||
|
|
95f5604bfe | ||
|
|
1ae65dd516 | ||
|
|
50773f5456 | ||
|
|
ccb332cb42 | ||
|
|
9a2dd217f1 | ||
|
|
3fe9f5a573 | ||
|
|
6858a35754 | ||
|
|
e7ce54188b | ||
|
|
9f366645c9 | ||
|
|
6a7e5a1d38 | ||
|
|
17bc993296 | ||
|
|
c348529e65 | ||
|
|
cc52a25db4 | ||
|
|
8b0bf8f211 | ||
|
|
455986b08c | ||
|
|
5b2c3c77ef | ||
|
|
11aaac0f0b | ||
|
|
6d3e29db03 | ||
|
|
655039745a | ||
|
|
09f44f1aff |
No files matched your search
@@ -1,129 +1,188 @@
|
|||||||
|
|
||||||
# JuiceAgent
|
# JuiceAgent
|
||||||
[English](https://github.com/xiaozhou233/JuiceAgent/blob/main/README.md) | [中文](https://github.com/xiaozhou233/JuiceAgent/blob/main/README_zh.md)
|
|
||||||
|
|
||||||
|
JuiceAgent is an advanced JVMTI-based injection framework designed for runtime JAR loading, bytecode transformation, and runtime JVM instrumentation, even when DisableAttachMechanism is enabled.
|
||||||
|
|
||||||
JuiceAgent — a JVMTI-based injection library for loading external JARs and transforming Java bytecode, even when DisableAttachMechanism is enabled.
|
**Warning**: This project is still experimental and is not recommended for production use. Use it at your own risk.
|
||||||
|
|
||||||
**NOTICE:** Currently only supports **Windows**, and plans to support **Linux** in the future.
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
**NOTICE:** **Version 2.3 Build 1** is the current **stable release and is no longer being updated.** Version 3.0 and later have been rewritten and may contain unknown issues.
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
**WARNING:** This project is still in the experimental stage and is not recommended for production use.
|

|
||||||
**Use this at your own risk.**
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
JuiceAgent is a JVMTI-native injection framework for loading external JARs and redefining or retransformation of Java classes in a target JVM without requiring -javaagent startup arguments or attach javaagent. It also works when DisableAttachMechanism=true.
|
||||||
|
|
||||||
|
With JuiceAgent, developers can:
|
||||||
|
- Dynamically load external JARs into a running JVM process
|
||||||
|
- Invoke a specified entry class and method after injection
|
||||||
|
- Redefine already loaded classes at runtime
|
||||||
|
- Retransform bytecode for instrumentation or modification
|
||||||
|
- And more...
|
||||||
|
|
||||||
|
**If you have any questions or suggestions, please feel free to open an issue or submit a pull request. =D**
|
||||||
|
|
||||||
|
## Index
|
||||||
|
- [JuiceAgent](#juiceagent)
|
||||||
|
- [Introduction](#introduction)
|
||||||
|
- [Index](#index)
|
||||||
|
- [Features](#features)
|
||||||
|
- [Quick Start](#quick-start)
|
||||||
|
- [1. Download Release](#1-download-release)
|
||||||
|
- [2. Copy your custom JAR/Dependencies to Directory](#2-copy-your-custom-jardependencies-to-directory)
|
||||||
|
- [3. Write Config](#3-write-config)
|
||||||
|
- [4. Run the Injector](#4-run-the-injector)
|
||||||
|
- [Method A: Use `injector.exe`](#method-a-use-injectorexe)
|
||||||
|
- [Method B: Use JNI to call `inject`](#method-b-use-jni-to-call-inject)
|
||||||
|
- [5. Done](#5-done)
|
||||||
|
- [How To Build](#how-to-build)
|
||||||
|
- [Requirements](#requirements)
|
||||||
|
- [Build with CMake Presets](#build-with-cmake-presets)
|
||||||
|
- [Manual Build](#manual-build)
|
||||||
|
- [Full Disclaimer](#full-disclaimer)
|
||||||
|
- [Acknowledgements](#acknowledgements)
|
||||||
|
|
||||||
## Summary
|
|
||||||
JuiceAgent is a JVMTI-native injection framework that injects native code into a target JVM to dynamically load external JARs and perform bytecode redefinition/transformations without requiring a javaagent (works when DisableAttachMechanism=true).
|
|
||||||
## Features
|
## Features
|
||||||
This project is an implementation of the JuiceAgent-API. For more details, please see [This](https://github.com/xiaozhou233/JuiceAgent-API/blob/master/src/main/java/cn/xiaozhou233/juiceagent/api/JuiceAgent.java)
|
This project is the native implementation of JuiceAgent-API. See [JuiceAgent.java](https://github.com/xiaozhou233/JuiceAgent-API/blob/master/src/main/java/cn/xiaozhou233/juiceagent/api/JuiceAgent.java) for the API definition.
|
||||||
|
|
||||||
- addToBootstrapClassLoaderSearch
|
- Load JARs into the Bootstrap or System ClassLoader
|
||||||
- addToSystemClassLoaderSearch
|
- Define classes dynamically
|
||||||
- addToClassLoader
|
- Redefine classes by name or class reference
|
||||||
- defineClass
|
- Retransform classes by name or class reference
|
||||||
- redefineClass(ByName)
|
- Get all loaded classes
|
||||||
- retransformClass(ByName)
|
- Find classes by name
|
||||||
- getLoadedClasses
|
- Get class bytecode by name or class reference
|
||||||
- getClassByName
|
|
||||||
- getClassBytes(ByName)
|
|
||||||
|
|
||||||
## How To Use (**For Version 3.0 Build 2**)
|
## Quick Start
|
||||||
|
### 1. Download Release
|
||||||
|
Download `libagent.dll` `libinject.dll` `libloader.dll` and `injector.exe` from the [releases](https://github.com/xiaozhou233/JuiceAgent/releases) page.
|
||||||
|
|
||||||
### 1. ⬇️ Download Files
|
Download `JuiceAgent-API-x.x.x+build.x.jar` from the [JuiceAgent-API](https://github.com/xiaozhou233/JuiceAgent-API/releases) page.
|
||||||
- Download `libagent.dll` `libinject.dll` `libloader.dll` `injector.exe` from [Release](https://github.com/xiaozhou233/JuiceAgent/releases) and put them in `YourDir`
|
|
||||||
- Download JARs `JuiceAgent-API-X.X.X+build.X.jar` from [JuiceAgent-API Release] (https://github.com/xiaozhou233/JuiceAgent-API/releases) and put them in `YourDir`
|
|
||||||
|
|
||||||
### 2. ✍️ Write Config File
|
Put the downloaded files into the same directory.
|
||||||
Create a config file named `config.toml` in `YourDir`
|
- YourDir
|
||||||
|
- JuiceAgent-API-x.x.x+build.x.jar
|
||||||
|
- libagent.dll
|
||||||
|
- libinject.dll
|
||||||
|
- libloader.dll
|
||||||
|
- injector.exe
|
||||||
|
|
||||||
|
### 2. Copy your custom JAR/Dependencies to Directory
|
||||||
|
- YourDir
|
||||||
|
- JuiceAgent-API-x.x.x+build.x.jar
|
||||||
|
- libagent.dll
|
||||||
|
- libinject.dll
|
||||||
|
- libloader.dll
|
||||||
|
- injector.exe
|
||||||
|
- **MyCustomJar.jar**
|
||||||
|
- **injection**
|
||||||
|
- **Dependencies1.jar**
|
||||||
|
- **Dependencies2.jar**
|
||||||
|
|
||||||
|
### 3. Write Config
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[JuiceAgent]
|
[JuiceAgent]
|
||||||
# Default value: YourDir/JuiceAgent-API.jar
|
Version = 1
|
||||||
JuiceAgentAPIJarPath = ""
|
|
||||||
# Default value: YourDir/libagent.dll
|
|
||||||
JuiceAgentNativePath = ""
|
|
||||||
|
|
||||||
[Entry]
|
[JuiceAgent.Loader]
|
||||||
# Default value: YourDir/Entry.jar
|
# Path to JuiceAgent-API-x.x.x+build.x.jar
|
||||||
EntryJarPath = ""
|
JuiceAgentAPIJarPath = "./JuiceAgent-API-x.x.x+build.x.jar"
|
||||||
# Default value: com.example.Entry
|
# Path to libagent.dll, default is "./libagent.dll"
|
||||||
EntryClass = ""
|
JuiceAgentNativeLibraryPath = ""
|
||||||
# Default value: start
|
|
||||||
EntryMethod = "start"
|
|
||||||
|
|
||||||
[Runtime]
|
[JuiceAgent.Modules]
|
||||||
# Default value: YourDir/injection
|
|
||||||
InjectionDir = ""
|
[JuiceAgent.Modules.JarLoader]
|
||||||
|
Enabled = true
|
||||||
|
# Path to the Injection JAR files to be loaded
|
||||||
|
InjectionDir = "./injection"
|
||||||
|
# Path to the JAR file to be loaded
|
||||||
|
JarPath = "./MyCustomJar.jar"
|
||||||
|
# Entry class to be executed after loading the JAR
|
||||||
|
EntryClass = "Example.Main"
|
||||||
|
# Entry method to be executed after loading the JAR
|
||||||
|
EntryMethod = "run"
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3. 💉 Run Injector
|
Save the config file as `config.toml`.
|
||||||
#### **Method A** : Use `injector.exe`
|
|
||||||
Run `injector.exe`
|
- YourDir
|
||||||
```
|
- **config.toml**
|
||||||
114514 loop
|
- JuiceAgent-API-x.x.x+build.x.jar
|
||||||
|
- libagent.dll
|
||||||
|
- libinject.dll
|
||||||
|
- libloader.dll
|
||||||
|
- injector.exe
|
||||||
|
- MyCustomJar.jar
|
||||||
|
- injection
|
||||||
|
- Dependencies1.jar
|
||||||
|
- Dependencies2.jar
|
||||||
|
|
||||||
|
### 4. Run the Injector
|
||||||
|
|
||||||
|
#### Method A: Use `injector.exe`
|
||||||
|
Run `injector.exe` from `YourDir`.
|
||||||
|
|
||||||
|
```text
|
||||||
|
<jps output>
|
||||||
Input PID:
|
Input PID:
|
||||||
```
|
```
|
||||||
|
|
||||||
Input PID of target process and press Enter
|
Enter the PID of the target JVM process and press Enter.
|
||||||
|
|
||||||
#### **Method B** : Use JNI to call `inject` function
|
#### Method B: Use JNI to call `inject`
|
||||||
Create a file named cn/xiaozhou233/juiceagent/injector.java in your project
|
|
||||||
```java
|
|
||||||
package cn.xiaozhou233.juiceagent.injector;
|
|
||||||
|
|
||||||
public class InjectorNative {
|
See [Documents](https://github.com/xiaozhou233/JuiceAgent/blob/main/docs/Inject.md) for details.
|
||||||
/*
|
|
||||||
* @param pid target process id
|
|
||||||
*/
|
|
||||||
public native boolean inject(int pid, String path);
|
|
||||||
|
|
||||||
/*
|
### 5. Done
|
||||||
* @param pid target process id
|
The target JVM will load the specified JAR and execute the specified entry class and method.
|
||||||
* @param path injection dll path
|
|
||||||
* @param configPath config file path
|
|
||||||
*/
|
|
||||||
public native boolean inject(int pid, String path, String configPath);
|
|
||||||
}
|
|
||||||
```
|
|
||||||
Then write it down somewhere
|
|
||||||
```java
|
|
||||||
// Your class
|
|
||||||
import cn.xiaozhou233.juiceagent.injector.InjectorNative;
|
|
||||||
|
|
||||||
System.load("<path-to-libinject>");
|
## How To Build
|
||||||
InjectorNative injectorNative = new InjectorNative();
|
|
||||||
|
|
||||||
injectorNative.inject(<pid>, "<path-to-libloader>", "<path-to-toml-config-dir>");
|
### Requirements
|
||||||
```
|
|
||||||
### 4. ✅ Done!
|
|
||||||
if injection is successful, target process will load `Entry.jar` (or `EntryJarPath` in config file) and run `EntryClass`.`EntryMethod` method(or `start` method in config file)
|
|
||||||
|
|
||||||
## Hot To Build
|
|
||||||
### Environment
|
|
||||||
- Java 8+
|
- Java 8+
|
||||||
- MinGW
|
- MinGW
|
||||||
- CMake
|
- CMake 3.15+
|
||||||
- Ninja
|
- Ninja
|
||||||
```
|
|
||||||
|
### Build with CMake Presets
|
||||||
|
```powershell
|
||||||
git clone https://github.com/xiaozhou233/JuiceAgent.git
|
git clone https://github.com/xiaozhou233/JuiceAgent.git
|
||||||
cd JuiceAgent
|
cd JuiceAgent
|
||||||
|
|
||||||
mkdir -p build
|
cmake --preset ninja-release
|
||||||
cmake --build build --
|
cmake --build build
|
||||||
```
|
```
|
||||||
|
|
||||||
Dlls will be generated in `build/bin` directory
|
### Manual Build
|
||||||
|
```powershell
|
||||||
|
git clone https://github.com/xiaozhou233/JuiceAgent.git
|
||||||
|
cd JuiceAgent
|
||||||
|
|
||||||
Jars can be build or download in project [JuiceAgent-API](https://github.com/xiaozhou233/JuiceAgent-API)
|
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||||
|
cmake --build build
|
||||||
|
```
|
||||||
|
|
||||||
## Full Disclaimer/ 完整免责声明
|
The generated binaries will be placed in `build/bin`.
|
||||||
Disclaimer: This project is intended for learning and research in controlled environments only. The author is not responsible for any consequences arising from unauthorized use, modification, cracking, or violation of any applicable agreements or laws. Users are responsible for ensuring their actions are legal and compliant.
|
|
||||||
|
|
||||||
免责声明: 本项目仅建议在受控环境中用于学习与研究。任何利用本项目实施破解、篡改、未经授权获取源码或其他违反目标协议或法律的行为所导致的一切后果,作者概不负责。使用者应自行确保其行为合法合规,并对相应后果承担全部责任。
|
`JuiceAgent-API.jar` can be built from or downloaded from [JuiceAgent-API](https://github.com/xiaozhou233/JuiceAgent-API).
|
||||||
|
|
||||||
|
## Full Disclaimer
|
||||||
|
This project is intended for learning and research in controlled environments only. The author is not responsible for any consequences arising from unauthorized use, modification, cracking, or violation of any applicable agreements or laws. Users are responsible for ensuring that their actions are legal and compliant.
|
||||||
|
|
||||||
## Acknowledgements
|
## Acknowledgements
|
||||||
|
- [ReflectiveDLLInjection](https://github.com/stephenfewer/ReflectiveDLLInjection) - DLL injection implementation
|
||||||
- [ReflectiveDLLInjection](https://github.com/stephenfewer/ReflectiveDLLInjection) - DLL Inject
|
- [plog](https://github.com/SergiusTheBest/plog) - Portable, simple, and extensible C++ logging library
|
||||||
- [plog](https://github.com/SergiusTheBest/plog) - portable, simple and extensible C++ logging library
|
- [toml11](https://github.com/ToruNiina/toml11) - TOML for Modern C++
|
||||||
- [tinytoml](https://github.com/mayah/tinytoml) - A header only C++11 library for parsing TOML.
|
- [eventpp](https://github.com/wqking/eventpp) - C++ library for event dispatchers and callback lists
|
||||||
- [eventpp](https://github.com/wqking/eventpp) - C++ library for event dispatcher and callback list
|
|
||||||
-178
@@ -1,178 +0,0 @@
|
|||||||
# JuiceAgent
|
|
||||||
[English](https://github.com/xiaozhou233/JuiceAgent/blob/main/README.md) | [中文](https://github.com/xiaozhou233/JuiceAgent/blob/main/README_zh.md)
|
|
||||||
|
|
||||||
JuiceAgent —— 一个基于 JVMTI 的注入库,用于加载外部 JAR 并对 Java 字节码进行热替换,即使在 DisableAttachMechanism 启用的情况下也可使用。
|
|
||||||
|
|
||||||
**注意:** 当前仅支持 **Windows**,未来计划支持 **Linux**。
|
|
||||||
|
|
||||||
**注意:** **Version 2.3 Build 1** 是当前的 **稳定版本且已停止更新**。3.0 及之后版本已重构,可能存在未知问题。
|
|
||||||
|
|
||||||
**警告:** 本项目仍处于实验阶段,不建议用于生产环境。
|
|
||||||
**使用风险自负。**
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 简介
|
|
||||||
JuiceAgent 是一个基于 JVMTI 的原生注入框架,通过向目标 JVM 注入代码,实现动态加载外部 JAR 以及字节码热替换,无需使用 javaagent(在 DisableAttachMechanism=true 时仍可工作)。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 功能特性
|
|
||||||
|
|
||||||
本项目是 JuiceAgent-API 的Native实现,详细内容请参考:
|
|
||||||
https://github.com/xiaozhou233/JuiceAgent-API/blob/master/src/main/java/cn/xiaozhou233/juiceagent/api/JuiceAgent.java
|
|
||||||
|
|
||||||
- addToBootstrapClassLoaderSearch
|
|
||||||
- addToSystemClassLoaderSearch
|
|
||||||
- addToClassLoader
|
|
||||||
- defineClass
|
|
||||||
- redefineClass(ByName)
|
|
||||||
- retransformClass(ByName)
|
|
||||||
- getLoadedClasses
|
|
||||||
- getClassByName
|
|
||||||
- getClassBytes(ByName)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 使用方法(适用于 Version 3.0 Build 2)
|
|
||||||
|
|
||||||
### 1. ⬇️ 下载文件
|
|
||||||
|
|
||||||
- 从 Release 下载:
|
|
||||||
- libagent.dll
|
|
||||||
- libinject.dll
|
|
||||||
- libloader.dll
|
|
||||||
- injector.exe
|
|
||||||
并放入 `YourDir`
|
|
||||||
|
|
||||||
- 从 JuiceAgent-API Release 下载:
|
|
||||||
- JuiceAgent-API-X.X.X+build.X.jar
|
|
||||||
并放入 `YourDir`
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### 2. ✍️ 编写配置文件
|
|
||||||
|
|
||||||
在 `YourDir` 下创建 `config.toml`
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[JuiceAgent]
|
|
||||||
# 默认值: YourDir/JuiceAgent-API.jar
|
|
||||||
JuiceAgentAPIJarPath = ""
|
|
||||||
# 默认值: YourDir/libagent.dll
|
|
||||||
JuiceAgentNativePath = ""
|
|
||||||
|
|
||||||
[Entry]
|
|
||||||
# 默认值: YourDir/Entry.jar
|
|
||||||
EntryJarPath = ""
|
|
||||||
# 默认值: com.example.Entry
|
|
||||||
EntryClass = ""
|
|
||||||
# 默认值: start
|
|
||||||
EntryMethod = "start"
|
|
||||||
|
|
||||||
[Runtime]
|
|
||||||
# 默认值: YourDir/injection
|
|
||||||
InjectionDir = ""
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### 3. 💉 执行注入
|
|
||||||
|
|
||||||
#### 方法 A:使用 injector.exe
|
|
||||||
|
|
||||||
运行`inject.exe`:
|
|
||||||
|
|
||||||
```
|
|
||||||
114514 loop
|
|
||||||
Input PID:
|
|
||||||
```
|
|
||||||
|
|
||||||
输入目标进程 PID 后回车
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
#### 方法 B:使用 JNI 调用 inject
|
|
||||||
|
|
||||||
创建文件:
|
|
||||||
`cn/xiaozhou233/juiceagent/injector/InjectorNative.java`
|
|
||||||
|
|
||||||
```java
|
|
||||||
package cn.xiaozhou233.juiceagent.injector;
|
|
||||||
|
|
||||||
public class InjectorNative {
|
|
||||||
/*
|
|
||||||
* @param pid target process id
|
|
||||||
*/
|
|
||||||
public native boolean inject(int pid, String path);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* @param pid target process id
|
|
||||||
* @param path injection dll path
|
|
||||||
* @param configPath config file path
|
|
||||||
*/
|
|
||||||
public native boolean inject(int pid, String path, String configPath);
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
调用示例:
|
|
||||||
|
|
||||||
```java
|
|
||||||
import cn.xiaozhou233.juiceagent.injector.InjectorNative;
|
|
||||||
|
|
||||||
System.load("<path-to-libinject>");
|
|
||||||
InjectorNative injectorNative = new InjectorNative();
|
|
||||||
|
|
||||||
injectorNative.inject(<pid>, "<path-to-libloader>", "<path-to-toml-config-dir>");
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### 4. ✅ 完成
|
|
||||||
|
|
||||||
注入成功后,目标进程将加载:
|
|
||||||
|
|
||||||
- Entry.jar(或配置中的 EntryJarPath)
|
|
||||||
- 并执行 EntryClass.EntryMethod(默认 com.example.Entry.start() )
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 如何构建
|
|
||||||
|
|
||||||
### 环境要求
|
|
||||||
|
|
||||||
- Java 8+
|
|
||||||
- MinGW
|
|
||||||
- CMake
|
|
||||||
- Ninja
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/xiaozhou233/JuiceAgent.git
|
|
||||||
cd JuiceAgent
|
|
||||||
|
|
||||||
mkdir -p build
|
|
||||||
cmake --build build --
|
|
||||||
```
|
|
||||||
|
|
||||||
生成的 DLL 位于:
|
|
||||||
|
|
||||||
```
|
|
||||||
build/bin
|
|
||||||
```
|
|
||||||
|
|
||||||
JAR 可在 JuiceAgent-API 项目中构建或下载。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 完整免责声明
|
|
||||||
|
|
||||||
免责声明:本项目仅建议在受控环境中用于学习与研究。作者不对任何因滥用、破解、修改或违反协议/法律行为所产生的后果负责。使用者需自行确保合法合规,并承担全部责任。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 致谢
|
|
||||||
|
|
||||||
- ReflectiveDLLInjection — DLL 注入实现
|
|
||||||
- plog — 轻量级 C++ 日志库
|
|
||||||
- tinytoml — C++11 TOML 解析库
|
|
||||||
- [eventpp](https://github.com/wqking/eventpp) - 用于事件分发器和回调列表的 C++ 库
|
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
# TODO - 开发待办事项
|
||||||
|
这个文档用来记录开发时的待办事项以及以后的开发计划。
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2026-04-16
|
||||||
|
- [ ] ~~把读取toml的库换成支持toml 1.0的库~~
|
||||||
|
- [x] 在 `includes/JuiceAgent` 文件夹下实现 `Config.hpp` 配置系统
|
||||||
|
- [ ] ~~新建测试 读取配置文件 (放弃)~~
|
||||||
|
|
||||||
|
- [ ] 重构 `libloader` 的配置系统
|
||||||
|
|
||||||
|
## 2026-04-17
|
||||||
|
- [x] 重构项目为模块化项目
|
||||||
|
- [x] `libloader` 模块只负责加载`JuiceAgent-API`和`JuiceAgent`, Jar文件由`JuiceAgent`接管
|
||||||
|
- [x] `libloader` 读取配置文件并传参`JuiceAgentNativePath`和`ConfigDir`到 `JuiceAgent` 中,由`JuiceAgent`读取配置文件继续进行操作
|
||||||
|
|
||||||
|
## 2026-04-19
|
||||||
|
- [x] 在 `JuiceAgent/Utils.hpp`做序列化操作
|
||||||
|
- [x] 统一调用 module的Java实现
|
||||||
|
|
||||||
|
## 2026-04-20
|
||||||
|
- [x] 修改文档
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
VERSION = Version 3.1 Build 3
|
VERSION = Version 3.3.2 Build 2
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
# Inject Method
|
||||||
|
|
||||||
|
## Method A: Use `injector.exe`
|
||||||
|
Run `injector.exe` from `YourDir`.
|
||||||
|
|
||||||
|
```text
|
||||||
|
<jps output>
|
||||||
|
Input PID:
|
||||||
|
```
|
||||||
|
|
||||||
|
Enter the PID of the target JVM process and press Enter.
|
||||||
|
|
||||||
|
## Method B: Use JNI to call `inject`
|
||||||
|
Create `cn/xiaozhou233/juiceagent/injector/InjectorNative.java` in your project:
|
||||||
|
|
||||||
|
```java
|
||||||
|
package cn.xiaozhou233.juiceagent.injector;
|
||||||
|
|
||||||
|
public class InjectorNative {
|
||||||
|
/*
|
||||||
|
* @param pid target process id
|
||||||
|
* @param path injection DLL path
|
||||||
|
*/
|
||||||
|
public native boolean inject(int pid, String path);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @param pid target process id
|
||||||
|
* @param path injection DLL path
|
||||||
|
* @param configDir directory containing config.toml
|
||||||
|
*/
|
||||||
|
public native boolean inject(int pid, String path, String configDir);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```java
|
||||||
|
import cn.xiaozhou233.juiceagent.injector.InjectorNative;
|
||||||
|
|
||||||
|
System.load("<path-to-libinject>");
|
||||||
|
InjectorNative injectorNative = new InjectorNative();
|
||||||
|
|
||||||
|
injectorNative.inject(<pid>, "<path-to-libloader>", "<path-to-config-directory>");
|
||||||
|
```
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
[JuiceAgent]
|
||||||
|
Version = 1
|
||||||
|
|
||||||
|
[JuiceAgent.Loader]
|
||||||
|
JuiceAgentNativeLibraryPath = ""
|
||||||
|
|
||||||
|
[JuiceAgent.Modules]
|
||||||
|
|
||||||
|
[JuiceAgent.Modules.JarLoader]
|
||||||
|
Enabled = true
|
||||||
|
InjectionDir = ""
|
||||||
|
JarPath = ""
|
||||||
|
EntryClass = ""
|
||||||
|
EntryMethod = ""
|
||||||
|
|
||||||
|
[JuiceAgent.Modules.Dumper]
|
||||||
|
Enabled = false
|
||||||
|
DumpDir = ""
|
||||||
@@ -0,0 +1,162 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <JuiceAgent/Logger.hpp>
|
||||||
|
#include <JuiceAgent/JuiceAgent.hpp>
|
||||||
|
#include <toml.hpp>
|
||||||
|
#include <filesystem>
|
||||||
|
#include <string>
|
||||||
|
#include <JuiceAgent/Utils.hpp>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Config {
|
||||||
|
|
||||||
|
class Config {
|
||||||
|
private:
|
||||||
|
std::filesystem::path _runtime_dir;
|
||||||
|
toml::value _config;
|
||||||
|
bool _valid = false;
|
||||||
|
|
||||||
|
private:
|
||||||
|
template<typename T>
|
||||||
|
static T _read_value(const toml::value& v) {
|
||||||
|
if constexpr (std::is_same_v<T, std::string>) {
|
||||||
|
return v.as_string();
|
||||||
|
} else if constexpr (std::is_same_v<T, bool>) {
|
||||||
|
return v.as_boolean();
|
||||||
|
} else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, bool>) {
|
||||||
|
return static_cast<T>(v.as_integer());
|
||||||
|
} else if constexpr (std::is_floating_point_v<T>) {
|
||||||
|
return static_cast<T>(v.as_floating());
|
||||||
|
} else {
|
||||||
|
static_assert(sizeof(T) == 0, "Unsupported config type");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit Config(const std::filesystem::path& runtime_dir = {})
|
||||||
|
{
|
||||||
|
_runtime_dir = runtime_dir.empty()
|
||||||
|
? std::filesystem::current_path()
|
||||||
|
: runtime_dir;
|
||||||
|
|
||||||
|
const auto result = toml::try_parse(_runtime_dir / "config.toml");
|
||||||
|
|
||||||
|
if (result.is_ok()) {
|
||||||
|
_config = result.unwrap();
|
||||||
|
_valid = true;
|
||||||
|
} else {
|
||||||
|
PLOGE << "Failed to parse config.toml";
|
||||||
|
|
||||||
|
for (const auto& err : result.unwrap_err()) {
|
||||||
|
PLOGE << toml::format_error(err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool is_valid() const noexcept {
|
||||||
|
return _valid;
|
||||||
|
}
|
||||||
|
|
||||||
|
const toml::value& get_config() const noexcept {
|
||||||
|
return _config;
|
||||||
|
}
|
||||||
|
|
||||||
|
const std::filesystem::path& runtime_dir() const noexcept {
|
||||||
|
return _runtime_dir;
|
||||||
|
}
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
T get(const std::string& path, const T& default_value, bool is_path = false) const {
|
||||||
|
if (!_valid) {
|
||||||
|
return default_value;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
const toml::value* current = &_config;
|
||||||
|
std::size_t start = 0;
|
||||||
|
|
||||||
|
while (start < path.size()) {
|
||||||
|
const std::size_t end = path.find('.', start);
|
||||||
|
const std::string key = path.substr(
|
||||||
|
start,
|
||||||
|
end == std::string::npos ? std::string::npos : end - start
|
||||||
|
);
|
||||||
|
|
||||||
|
current = ¤t->at(key);
|
||||||
|
|
||||||
|
if (end == std::string::npos) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
start = end + 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
T value = _read_value<T>(*current);
|
||||||
|
|
||||||
|
if constexpr (std::is_same_v<T, std::string>) {
|
||||||
|
if (value.empty()) {
|
||||||
|
value = default_value;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Handle relative paths
|
||||||
|
if (is_path) {
|
||||||
|
// Check if starts with "."
|
||||||
|
if (value.starts_with(".")) {
|
||||||
|
// Remove "."
|
||||||
|
value = value.substr(1);
|
||||||
|
// Check if starts with "/"
|
||||||
|
if (value.starts_with("/")) {
|
||||||
|
// Remove "/"
|
||||||
|
value = value.substr(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
// runtime_dir + value
|
||||||
|
value = (_runtime_dir / value).string();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
catch (const std::exception& e) {
|
||||||
|
PLOGW << "Config get failed: " << path << ", using default value";
|
||||||
|
return default_value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
namespace Utils {
|
||||||
|
inline LoaderConfig get_loader_config(const Config& config) {
|
||||||
|
|
||||||
|
LoaderConfig loader_config = LoaderConfig();
|
||||||
|
loader_config.JuiceAgentNativeLibraryPath = config.get<std::string>("JuiceAgent.Loader.JuiceAgentNativeLibraryPath",
|
||||||
|
(config.runtime_dir()/"libagent.dll").string(),
|
||||||
|
true);
|
||||||
|
loader_config.RuntimeDir = config.runtime_dir().string();
|
||||||
|
|
||||||
|
return loader_config;
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void print_loader_config(const LoaderConfig& config) {
|
||||||
|
PLOGI << "JuiceAgentNativeLibraryPath: " << config.JuiceAgentNativeLibraryPath;
|
||||||
|
PLOGI << "RuntimeDir: " << config.RuntimeDir;
|
||||||
|
}
|
||||||
|
|
||||||
|
inline std::string serialize_loader_config(const LoaderConfig& config) {
|
||||||
|
// std::string result = "";
|
||||||
|
|
||||||
|
// result += "Version=2;";
|
||||||
|
// result += "JuiceAgentAPIJarPath=" + config.JuiceAgentAPIJarPath + ";";
|
||||||
|
// result += "JuiceAgentNativeLibraryPath=" + config.JuiceAgentNativeLibraryPath + ";";
|
||||||
|
// result += "RuntimeDir=" + config.RuntimeDir + ";";
|
||||||
|
|
||||||
|
JuiceAgent::Utils::Serializer ser;
|
||||||
|
ser.add_kv("Version", 2);
|
||||||
|
ser.add_kv("JuiceAgentNativeLibraryPath", config.JuiceAgentNativeLibraryPath);
|
||||||
|
ser.add_kv("RuntimeDir", config.RuntimeDir);
|
||||||
|
|
||||||
|
return ser.serialize();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace JuiceAgent::Config
|
||||||
@@ -0,0 +1,896 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Resource {
|
||||||
|
|
||||||
|
static const unsigned char juiceagent_api_bytes[] = {
|
||||||
|
0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72,
|
||||||
|
0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x4d, 0x45, 0x54, 0x41, 0x2d, 0x49,
|
||||||
|
0x4e, 0x46, 0x2f, 0x03, 0x00, 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00,
|
||||||
|
0x08, 0x08, 0x00, 0xd9, 0x72, 0x95, 0x5c, 0xcf, 0x58, 0x6d, 0xcb, 0x2d,
|
||||||
|
0x00, 0x00, 0x00, 0x37, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x4d,
|
||||||
|
0x45, 0x54, 0x41, 0x2d, 0x49, 0x4e, 0x46, 0x2f, 0x4d, 0x41, 0x4e, 0x49,
|
||||||
|
0x46, 0x45, 0x53, 0x54, 0x2e, 0x4d, 0x46, 0xf3, 0x4d, 0xcc, 0xcb, 0x4c,
|
||||||
|
0x4b, 0x2d, 0x2e, 0xd1, 0x0d, 0x4b, 0x2d, 0x2a, 0xce, 0xcc, 0xcf, 0xb3,
|
||||||
|
0x52, 0x30, 0xd4, 0x33, 0xe0, 0xe5, 0x72, 0x2a, 0xcd, 0xcc, 0x49, 0x41,
|
||||||
|
0x16, 0x33, 0xd1, 0x33, 0xd4, 0x4e, 0x02, 0x09, 0xea, 0x19, 0xf2, 0x72,
|
||||||
|
0xf1, 0x72, 0x01, 0x00, 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08,
|
||||||
|
0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x63, 0x6e,
|
||||||
|
0x2f, 0x03, 0x00, 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08,
|
||||||
|
0x00, 0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f,
|
||||||
|
0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f,
|
||||||
|
0x03, 0x00, 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00,
|
||||||
|
0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78,
|
||||||
|
0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a,
|
||||||
|
0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x03, 0x00,
|
||||||
|
0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72,
|
||||||
|
0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61,
|
||||||
|
0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69,
|
||||||
|
0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
||||||
|
0x03, 0x00, 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00,
|
||||||
|
0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78,
|
||||||
|
0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a,
|
||||||
|
0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70,
|
||||||
|
0x69, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f,
|
||||||
|
0x03, 0x00, 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00,
|
||||||
|
0xdd, 0x72, 0x95, 0x5c, 0x89, 0xbd, 0x76, 0xf7, 0x74, 0x01, 0x00, 0x00,
|
||||||
|
0xf9, 0x02, 0x00, 0x00, 0x3d, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78,
|
||||||
|
0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a,
|
||||||
|
0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70,
|
||||||
|
0x69, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f,
|
||||||
|
0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x42, 0x72, 0x69,
|
||||||
|
0x64, 0x67, 0x65, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x9d, 0x92, 0xd9,
|
||||||
|
0x4a, 0x43, 0x31, 0x10, 0x86, 0xff, 0xb4, 0xc7, 0x6e, 0xd6, 0x7d, 0x5f,
|
||||||
|
0x1e, 0xa0, 0x7a, 0x61, 0x70, 0xc1, 0x05, 0x45, 0xb0, 0x82, 0xa2, 0x14,
|
||||||
|
0x15, 0x15, 0xef, 0x73, 0x4e, 0x43, 0x4d, 0x6d, 0x93, 0x72, 0x4e, 0x4e,
|
||||||
|
0x11, 0x9f, 0xca, 0xe5, 0x42, 0xf0, 0xc2, 0x07, 0xf0, 0xa1, 0xc4, 0xc9,
|
||||||
|
0x69, 0x5d, 0xaf, 0xa4, 0x04, 0x32, 0x93, 0x49, 0xfe, 0xf9, 0x66, 0x86,
|
||||||
|
0xbc, 0xbd, 0xbf, 0xbc, 0x02, 0x58, 0xc3, 0x6c, 0x01, 0x1e, 0x26, 0xf3,
|
||||||
|
0x48, 0x63, 0x2a, 0x8b, 0xe9, 0x2c, 0x66, 0x18, 0x72, 0xad, 0xd0, 0xb4,
|
||||||
|
0x55, 0x55, 0x86, 0x0c, 0xeb, 0x95, 0x40, 0xf3, 0x5b, 0x25, 0xcc, 0xdd,
|
||||||
|
0xb5, 0x89, 0x57, 0x56, 0x57, 0x79, 0x3d, 0x56, 0x81, 0x14, 0x35, 0xa9,
|
||||||
|
0x2d, 0x17, 0x2d, 0xc5, 0x7d, 0x63, 0x6c, 0x64, 0x43, 0xd1, 0xe2, 0x15,
|
||||||
|
0x23, 0x48, 0x51, 0x0e, 0x55, 0xb5, 0x26, 0xb7, 0x19, 0x32, 0x3b, 0x4a,
|
||||||
|
0x2b, 0xbb, 0xcb, 0x90, 0x2e, 0x2d, 0x5c, 0x31, 0x78, 0xfb, 0xa6, 0x2a,
|
||||||
|
0x19, 0x86, 0x2a, 0x4a, 0xcb, 0x93, 0xb8, 0xe9, 0xcb, 0xf0, 0x52, 0xf8,
|
||||||
|
0x0d, 0x8a, 0x8c, 0x56, 0x4c, 0x20, 0x1a, 0x57, 0x22, 0x54, 0xee, 0xdc,
|
||||||
|
0x0d, 0x7a, 0xf6, 0x5a, 0x45, 0x0c, 0x5b, 0xff, 0x86, 0x97, 0x3f, 0xbd,
|
||||||
|
0x2f, 0x7e, 0x7f, 0x4d, 0xda, 0xb3, 0xaf, 0x36, 0x36, 0x4b, 0x0b, 0xbd,
|
||||||
|
0x36, 0x32, 0x77, 0x1e, 0x6b, 0xab, 0x9a, 0xf2, 0x48, 0xb7, 0x55, 0xa4,
|
||||||
|
0xa8, 0xbc, 0x3d, 0xad, 0x8d, 0x15, 0x56, 0x19, 0x1d, 0xb9, 0xf2, 0x1b,
|
||||||
|
0xa6, 0xe9, 0x9b, 0x1b, 0x7e, 0x28, 0xb5, 0x0c, 0x85, 0x95, 0x55, 0xc7,
|
||||||
|
0x8e, 0x7e, 0xb2, 0xb7, 0x4a, 0xbd, 0xa1, 0xdd, 0xd8, 0x0a, 0x17, 0x26,
|
||||||
|
0x0e, 0x03, 0x79, 0xa0, 0xdc, 0x54, 0xc6, 0xff, 0x74, 0xb9, 0x54, 0x17,
|
||||||
|
0x6d, 0x51, 0x44, 0x16, 0xb9, 0x22, 0xfa, 0x90, 0x61, 0xd8, 0xe8, 0x71,
|
||||||
|
0x5c, 0x0c, 0xc3, 0x2e, 0x15, 0x6f, 0x08, 0x5d, 0xe3, 0xa7, 0x7e, 0x5d,
|
||||||
|
0x06, 0x16, 0xcb, 0xf4, 0x21, 0x3c, 0xfa, 0x20, 0x0c, 0xc7, 0x2e, 0x39,
|
||||||
|
0x79, 0x69, 0xa4, 0x1c, 0x8b, 0x22, 0x79, 0x3a, 0x71, 0xb2, 0x8c, 0x6c,
|
||||||
|
0xdf, 0xe2, 0x33, 0xd8, 0x03, 0x39, 0x29, 0x14, 0x68, 0xcf, 0x24, 0xc1,
|
||||||
|
0x7e, 0x5a, 0x40, 0xb1, 0xf3, 0x80, 0xec, 0x00, 0xd9, 0x3c, 0x06, 0x31,
|
||||||
|
0x44, 0xaf, 0x9c, 0x78, 0x3e, 0xb9, 0x01, 0xbc, 0x47, 0xa4, 0xee, 0x13,
|
||||||
|
0xc8, 0xb7, 0x36, 0x8b, 0xe1, 0xae, 0x3f, 0x92, 0xa8, 0x46, 0x31, 0xd6,
|
||||||
|
0x55, 0x7d, 0x23, 0x9f, 0x90, 0xfa, 0x8b, 0xcc, 0xfd, 0x42, 0x76, 0x2a,
|
||||||
|
0xfe, 0x99, 0x88, 0xc6, 0x97, 0x28, 0x26, 0x3e, 0x00, 0x50, 0x4b, 0x03,
|
||||||
|
0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0xfd,
|
||||||
|
0xd1, 0xa0, 0x53, 0xac, 0x00, 0x00, 0x00, 0xd2, 0x00, 0x00, 0x00, 0x3a,
|
||||||
|
0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68,
|
||||||
|
0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65, 0x61,
|
||||||
|
0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x6f, 0x6f,
|
||||||
|
0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x4c, 0x6f, 0x61, 0x64, 0x65,
|
||||||
|
0x72, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63, 0x6c, 0x61, 0x73,
|
||||||
|
0x73, 0x4d, 0x4e, 0x31, 0x0a, 0xc2, 0x40, 0x10, 0x9c, 0xd5, 0x68, 0x34,
|
||||||
|
0x36, 0x5a, 0xf8, 0x07, 0x6d, 0x3c, 0x30, 0xe9, 0xec, 0x04, 0xad, 0x02,
|
||||||
|
0x16, 0x82, 0xfd, 0x26, 0x1e, 0xe7, 0x85, 0x70, 0x17, 0x2e, 0x17, 0x51,
|
||||||
|
0x9f, 0x66, 0xe1, 0x03, 0x7c, 0x94, 0x98, 0x54, 0x3a, 0xc5, 0x0c, 0xcc,
|
||||||
|
0xcc, 0xb2, 0xf3, 0xfe, 0x3c, 0x5f, 0x00, 0x12, 0x4c, 0x42, 0x8c, 0x43,
|
||||||
|
0x44, 0x84, 0xa8, 0xf6, 0xec, 0xfc, 0xce, 0x78, 0x77, 0x27, 0xf4, 0x17,
|
||||||
|
0xcb, 0x53, 0xcb, 0xa5, 0x55, 0x84, 0xf9, 0x22, 0x2d, 0xf8, 0xca, 0xa2,
|
||||||
|
0x64, 0xa3, 0xc4, 0xd1, 0x3b, 0x6d, 0xd4, 0xa6, 0x4b, 0xa3, 0xa3, 0x6d,
|
||||||
|
0x5c, 0x2e, 0xf7, 0xba, 0x94, 0x84, 0x59, 0x6a, 0xf9, 0x2c, 0xdd, 0xd6,
|
||||||
|
0xe9, 0xb3, 0x92, 0xab, 0xae, 0x4f, 0x48, 0x72, 0x23, 0x6e, 0x9a, 0xed,
|
||||||
|
0xe3, 0x62, 0x9b, 0x75, 0x1c, 0x8b, 0xa2, 0xd1, 0xb9, 0x64, 0x25, 0x8d,
|
||||||
|
0x17, 0x5c, 0x69, 0x91, 0x59, 0xeb, 0x6b, 0xef, 0xb8, 0x12, 0xff, 0xb7,
|
||||||
|
0x84, 0xe9, 0xef, 0xdb, 0x21, 0x2b, 0x64, 0xee, 0x87, 0x04, 0x42, 0x0f,
|
||||||
|
0x1d, 0x7a, 0x41, 0xbb, 0x0a, 0x01, 0xd0, 0xea, 0x00, 0xc3, 0xd6, 0x21,
|
||||||
|
0x84, 0x9d, 0x8f, 0xd1, 0x17, 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00,
|
||||||
|
0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x7b, 0x04, 0xd3, 0xdd, 0x5f,
|
||||||
|
0x04, 0x00, 0x00, 0xf7, 0x07, 0x00, 0x00, 0x31, 0x00, 0x00, 0x00, 0x63,
|
||||||
|
0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33,
|
||||||
|
0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
||||||
|
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
|
||||||
|
0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73,
|
||||||
|
0x95, 0x55, 0xdd, 0x53, 0x1b, 0x55, 0x14, 0xff, 0xdd, 0x7c, 0xed, 0x66,
|
||||||
|
0x59, 0x08, 0x04, 0x12, 0x1a, 0x11, 0x58, 0x3e, 0xe4, 0x9b, 0xa6, 0x42,
|
||||||
|
0x8d, 0x14, 0x68, 0x2b, 0xa5, 0x50, 0x83, 0x81, 0x62, 0x69, 0xa9, 0x50,
|
||||||
|
0xd4, 0xb9, 0x09, 0x6b, 0x58, 0x58, 0x76, 0xe3, 0x66, 0xc3, 0x50, 0x9f,
|
||||||
|
0xfd, 0x27, 0xfa, 0xe4, 0x8c, 0x2f, 0x99, 0xd1, 0x17, 0x9d, 0x69, 0xc1,
|
||||||
|
0xb1, 0x33, 0xf8, 0xe2, 0xf8, 0xe0, 0xff, 0xe1, 0x83, 0xe3, 0x8c, 0xbe,
|
||||||
|
0xf6, 0x05, 0xf1, 0xdc, 0x4d, 0x94, 0x02, 0x99, 0x61, 0x0c, 0xb9, 0xe7,
|
||||||
|
0xde, 0x73, 0xee, 0x3d, 0xbf, 0xfb, 0x3b, 0x1f, 0x37, 0xfc, 0xfa, 0xf7,
|
||||||
|
0x8f, 0x47, 0x00, 0xae, 0xe3, 0x13, 0x05, 0x09, 0x4c, 0x2b, 0xb8, 0x89,
|
||||||
|
0x5b, 0x12, 0x6e, 0xcb, 0x78, 0x4f, 0x81, 0x1f, 0x33, 0x32, 0xee, 0x08,
|
||||||
|
0xd3, 0xac, 0x8c, 0xbb, 0x12, 0xe6, 0x14, 0x84, 0x31, 0x2d, 0x63, 0x5e,
|
||||||
|
0xcc, 0xf7, 0x84, 0x78, 0x5f, 0x6c, 0xa6, 0x65, 0x74, 0x88, 0x79, 0x41,
|
||||||
|
0x86, 0x26, 0xa3, 0x4b, 0x46, 0x77, 0x18, 0x57, 0xf0, 0x81, 0x10, 0x19,
|
||||||
|
0x21, 0x16, 0x85, 0x58, 0x92, 0x70, 0x5f, 0xc2, 0x32, 0x83, 0xc4, 0x9d,
|
||||||
|
0x7c, 0x71, 0xa9, 0xb4, 0xcb, 0xc0, 0xd2, 0x0c, 0xf5, 0xb3, 0xb6, 0x55,
|
||||||
|
0x74, 0xb9, 0xe5, 0xae, 0x72, 0xb3, 0xa4, 0xfb, 0x89, 0x49, 0x90, 0x8e,
|
||||||
|
0xac, 0xea, 0x4e, 0xd1, 0xb0, 0x2d, 0x86, 0x68, 0x66, 0x9b, 0xef, 0xf1,
|
||||||
|
0xa4, 0xc9, 0xad, 0x7c, 0x72, 0xc5, 0x75, 0x0c, 0x2b, 0x3f, 0xc5, 0xd0,
|
||||||
|
0xb2, 0x50, 0x32, 0x72, 0xfa, 0x4c, 0x5e, 0xb7, 0xdc, 0x99, 0xe5, 0xf4,
|
||||||
|
0x02, 0x77, 0x96, 0xb9, 0xbb, 0xc5, 0xd0, 0x76, 0x6a, 0x5e, 0xe2, 0xae,
|
||||||
|
0xb1, 0xa7, 0x67, 0x8c, 0xac, 0xc3, 0x9d, 0xa7, 0x95, 0x5d, 0xe5, 0x41,
|
||||||
|
0xc9, 0x72, 0x8d, 0x5d, 0xfd, 0xae, 0xe1, 0x30, 0x84, 0xa6, 0x0d, 0xcb,
|
||||||
|
0x70, 0x6f, 0x31, 0xc4, 0x06, 0x2e, 0x5e, 0x30, 0xb8, 0xca, 0x10, 0x98,
|
||||||
|
0xb5, 0x37, 0x75, 0x86, 0x48, 0xc6, 0xb0, 0x74, 0xe2, 0x9a, 0xd5, 0x9d,
|
||||||
|
0x87, 0x3c, 0x6b, 0xea, 0x82, 0x90, 0x9d, 0xe3, 0xe6, 0x2a, 0x77, 0x0c,
|
||||||
|
0xa1, 0x57, 0x8d, 0xbe, 0x9d, 0x3d, 0x86, 0xe6, 0x27, 0xb5, 0xb8, 0xfa,
|
||||||
|
0x29, 0x5a, 0x82, 0x73, 0xb7, 0x8c, 0x22, 0xc3, 0x68, 0x26, 0x67, 0x25,
|
||||||
|
0xf7, 0x0d, 0x6e, 0x7f, 0xb1, 0x65, 0x97, 0xc6, 0xc6, 0xc7, 0x93, 0xdb,
|
||||||
|
0x82, 0x31, 0x17, 0x8c, 0x93, 0xbc, 0x60, 0x24, 0xd3, 0xd6, 0xb6, 0x9e,
|
||||||
|
0x73, 0x29, 0xf0, 0xb4, 0xf5, 0x99, 0x4d, 0xce, 0x75, 0x22, 0x55, 0x9f,
|
||||||
|
0x16, 0x3d, 0x2c, 0x02, 0x11, 0x1a, 0x65, 0x6c, 0xc5, 0xe5, 0xb9, 0x9d,
|
||||||
|
0x45, 0x5e, 0xf0, 0x2e, 0xf7, 0xb2, 0xfa, 0xa1, 0x84, 0x41, 0x8a, 0x30,
|
||||||
|
0xaf, 0xbb, 0xff, 0x25, 0xae, 0x65, 0x60, 0xb0, 0x16, 0x9d, 0xb6, 0x6a,
|
||||||
|
0x16, 0xd2, 0xd6, 0x9e, 0x51, 0x34, 0xc8, 0x7f, 0xc6, 0xb2, 0x6c, 0x97,
|
||||||
|
0x8b, 0x3b, 0x8b, 0x22, 0x38, 0xd3, 0xde, 0xcd, 0xda, 0x3b, 0xc9, 0x7b,
|
||||||
|
0xba, 0xa5, 0x3b, 0xdc, 0xd5, 0x37, 0xc9, 0xa5, 0x95, 0x60, 0x6b, 0x27,
|
||||||
|
0xbc, 0xe3, 0xcc, 0x4e, 0x8d, 0x9c, 0xd7, 0xd3, 0x81, 0xd7, 0xd3, 0xae,
|
||||||
|
0xac, 0xd8, 0x25, 0x27, 0xa7, 0xcf, 0x1b, 0x5e, 0x26, 0xcf, 0x44, 0x7b,
|
||||||
|
0x55, 0x90, 0x55, 0xd1, 0x83, 0x07, 0x14, 0x8e, 0x8a, 0x15, 0x3c, 0x64,
|
||||||
|
0xe8, 0x3e, 0x0d, 0x20, 0x6d, 0x9a, 0x7a, 0x9e, 0x9b, 0x33, 0x4e, 0xbe,
|
||||||
|
0xb4, 0x4b, 0x77, 0xcd, 0xed, 0xe7, 0xf4, 0x82, 0xeb, 0x05, 0xda, 0xf3,
|
||||||
|
0x5a, 0x8e, 0xb4, 0x1c, 0x17, 0xe1, 0x68, 0x59, 0x5d, 0xb3, 0x4a, 0xa6,
|
||||||
|
0xa9, 0xd9, 0x8e, 0xa6, 0xef, 0x16, 0xdc, 0xa7, 0x02, 0xb7, 0x97, 0xfa,
|
||||||
|
0x6d, 0x4a, 0xc5, 0x23, 0x50, 0x75, 0xd9, 0x4d, 0x0a, 0xeb, 0x7c, 0x76,
|
||||||
|
0xee, 0x94, 0x0c, 0x73, 0x53, 0x77, 0x3c, 0x62, 0x7b, 0xdc, 0x34, 0x36,
|
||||||
|
0x35, 0x5e, 0xbd, 0x6d, 0x52, 0x53, 0xf1, 0x18, 0x1f, 0xa9, 0x58, 0xc3,
|
||||||
|
0x75, 0x15, 0xeb, 0x78, 0xa2, 0x62, 0x03, 0x1f, 0xab, 0xe8, 0x40, 0xa7,
|
||||||
|
0x0a, 0x4d, 0x88, 0x2e, 0x21, 0xba, 0xd1, 0xc9, 0x30, 0xfc, 0x3f, 0x2a,
|
||||||
|
0xcc, 0xd0, 0x78, 0x4a, 0xe2, 0x7e, 0x56, 0xec, 0x9c, 0x31, 0xad, 0x54,
|
||||||
|
0x0b, 0xef, 0x1f, 0x10, 0x2d, 0x29, 0x19, 0xc5, 0x39, 0x11, 0x8c, 0xa7,
|
||||||
|
0xaf, 0x33, 0x04, 0x8b, 0x05, 0xd3, 0x20, 0x87, 0xfe, 0x5a, 0x2d, 0x5c,
|
||||||
|
0xb3, 0x17, 0x43, 0xbc, 0x50, 0xd0, 0xad, 0x4d, 0xea, 0xc3, 0x5a, 0x2e,
|
||||||
|
0x17, 0x4c, 0xd5, 0x84, 0x90, 0xa3, 0xec, 0xda, 0xff, 0x72, 0x91, 0xb7,
|
||||||
|
0x78, 0x71, 0xab, 0xf2, 0x38, 0x88, 0x06, 0x3d, 0xe0, 0x90, 0xfe, 0x79,
|
||||||
|
0x89, 0x9b, 0xc5, 0x73, 0x4f, 0xa9, 0x12, 0xcd, 0xd4, 0xe0, 0x3a, 0xa5,
|
||||||
|
0xe6, 0x0a, 0xfd, 0xae, 0xd0, 0xb3, 0xc6, 0x1b, 0xf4, 0xd7, 0x06, 0x86,
|
||||||
|
0x37, 0x49, 0xf3, 0xa1, 0x9d, 0x06, 0x25, 0xd0, 0x5b, 0x6b, 0xd5, 0xb9,
|
||||||
|
0xab, 0x3a, 0x77, 0x7b, 0x73, 0x90, 0xce, 0x52, 0xdd, 0x48, 0xbe, 0x45,
|
||||||
|
0x46, 0x0d, 0x01, 0x28, 0x00, 0x1b, 0x1e, 0x3a, 0x24, 0xf1, 0x0b, 0x94,
|
||||||
|
0xe1, 0x03, 0xf8, 0x9e, 0xa1, 0xfe, 0x25, 0xfc, 0x6b, 0xd1, 0xc0, 0x21,
|
||||||
|
0x82, 0x3f, 0x0d, 0x47, 0x43, 0x07, 0x90, 0x16, 0x47, 0x96, 0x46, 0x8f,
|
||||||
|
0x52, 0x01, 0x7f, 0x2a, 0x18, 0x0b, 0xc6, 0x02, 0x5f, 0xe3, 0x78, 0x34,
|
||||||
|
0x16, 0x1c, 0x9b, 0x0c, 0x25, 0x42, 0x51, 0x99, 0x76, 0x27, 0xa5, 0x84,
|
||||||
|
0x74, 0x14, 0xfc, 0x0a, 0x9d, 0xc2, 0xed, 0x25, 0xc2, 0x6b, 0x87, 0x50,
|
||||||
|
0xa2, 0x75, 0x07, 0x50, 0x13, 0xe4, 0xab, 0x1e, 0xa0, 0x5e, 0x00, 0x25,
|
||||||
|
0x24, 0xff, 0xd8, 0xa4, 0xec, 0x4b, 0x85, 0x13, 0xe4, 0xd2, 0xf0, 0x2d,
|
||||||
|
0xbc, 0x8f, 0x41, 0x23, 0x10, 0xde, 0xf8, 0xeb, 0x67, 0x9a, 0x33, 0xf3,
|
||||||
|
0x4d, 0x13, 0x7f, 0xd0, 0x3c, 0xfd, 0x78, 0xfa, 0xf7, 0x17, 0x34, 0x6f,
|
||||||
|
0xec, 0x8f, 0x3e, 0xff, 0x81, 0xe6, 0x91, 0x84, 0x1c, 0x8d, 0x1c, 0xa0,
|
||||||
|
0xf1, 0x19, 0x52, 0xfe, 0x54, 0xb8, 0x8c, 0x6b, 0xa4, 0x37, 0x79, 0x7a,
|
||||||
|
0x5f, 0x40, 0xe8, 0x1a, 0xe9, 0x51, 0x4f, 0x8f, 0x07, 0x85, 0xde, 0x48,
|
||||||
|
0x7a, 0xb3, 0xa7, 0x87, 0x42, 0xa9, 0x70, 0x2c, 0xfc, 0x0d, 0x61, 0xa4,
|
||||||
|
0x2b, 0xd7, 0x41, 0xfc, 0x14, 0xb6, 0xd3, 0x18, 0xa0, 0x31, 0x4e, 0xe3,
|
||||||
|
0xd6, 0x50, 0x42, 0x0a, 0x8c, 0xbd, 0x40, 0x4b, 0x19, 0xbd, 0xd5, 0x65,
|
||||||
|
0xac, 0x8c, 0x44, 0x75, 0x19, 0x2f, 0xa3, 0xa1, 0xba, 0x6c, 0x2d, 0xc3,
|
||||||
|
0xff, 0x65, 0x90, 0x95, 0x4f, 0x7c, 0xdf, 0x7b, 0x30, 0x7d, 0x24, 0x97,
|
||||||
|
0xd0, 0x4c, 0xb2, 0x91, 0x52, 0xd8, 0x84, 0x08, 0xa2, 0x54, 0x90, 0x18,
|
||||||
|
0x25, 0x3d, 0x8e, 0x14, 0x5a, 0x71, 0x9b, 0x0a, 0x34, 0x4f, 0x96, 0x2c,
|
||||||
|
0x15, 0xe7, 0x15, 0xda, 0x19, 0xd0, 0xc1, 0xfc, 0xd0, 0x58, 0x1d, 0xba,
|
||||||
|
0x58, 0x03, 0x7a, 0x58, 0x9c, 0x9e, 0x4e, 0x02, 0x7d, 0xac, 0x0b, 0xfd,
|
||||||
|
0xac, 0x17, 0x71, 0x36, 0x84, 0x11, 0xf4, 0x7b, 0xff, 0x31, 0x82, 0xe4,
|
||||||
|
0xfb, 0x1b, 0x11, 0x1c, 0x84, 0x44, 0x48, 0x7f, 0x62, 0x88, 0xca, 0x16,
|
||||||
|
0x12, 0x25, 0xc2, 0x30, 0x9d, 0x81, 0xb7, 0x1a, 0x25, 0x1b, 0xf3, 0xd0,
|
||||||
|
0xae, 0xd2, 0x39, 0x1f, 0x92, 0x64, 0x7e, 0x84, 0xc8, 0x09, 0xd1, 0xf0,
|
||||||
|
0x49, 0xb8, 0x26, 0xe1, 0x6d, 0x20, 0x2c, 0xb4, 0x50, 0x45, 0x93, 0x30,
|
||||||
|
0x46, 0x5f, 0x46, 0x2c, 0x8e, 0x31, 0x51, 0xd1, 0x8f, 0x71, 0x83, 0x16,
|
||||||
|
0x2c, 0x12, 0x89, 0xa8, 0x1d, 0x8a, 0xa2, 0x9c, 0x50, 0x1b, 0x5c, 0x38,
|
||||||
|
0xfc, 0xca, 0xeb, 0x96, 0x71, 0x22, 0xe5, 0x13, 0xdd, 0x42, 0xd7, 0xd0,
|
||||||
|
0x2b, 0x17, 0x3d, 0x34, 0xf4, 0x1c, 0x2d, 0xdf, 0x79, 0x4d, 0x25, 0xf2,
|
||||||
|
0x10, 0xf2, 0x8c, 0x75, 0x1e, 0x7f, 0xb5, 0x72, 0xa0, 0xca, 0xf5, 0x9d,
|
||||||
|
0xea, 0x6e, 0x4a, 0xd0, 0xc6, 0xbb, 0x35, 0x81, 0x62, 0xe7, 0x81, 0xd4,
|
||||||
|
0x4b, 0x81, 0x26, 0x6a, 0x02, 0xc5, 0xcf, 0x03, 0xd5, 0x5f, 0x0a, 0x74,
|
||||||
|
0xa3, 0x26, 0x50, 0xeb, 0x79, 0xa0, 0x86, 0x4b, 0x81, 0x26, 0x3d, 0x8f,
|
||||||
|
0xa9, 0x7f, 0x00, 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08,
|
||||||
|
0x00, 0xdd, 0x72, 0x95, 0x5c, 0x40, 0xc9, 0x71, 0xc0, 0x05, 0x02, 0x00,
|
||||||
|
0x00, 0xae, 0x04, 0x00, 0x00, 0x2e, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f,
|
||||||
|
0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f,
|
||||||
|
0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61,
|
||||||
|
0x70, 0x69, 0x2f, 0x4a, 0x75, 0x69, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e,
|
||||||
|
0x74, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x95, 0x53, 0x4d, 0x6f, 0xd3,
|
||||||
|
0x40, 0x10, 0x9d, 0x6d, 0xd3, 0x84, 0xa4, 0x6d, 0x12, 0x9a, 0x26, 0x29,
|
||||||
|
0xa5, 0x50, 0x0a, 0x14, 0xec, 0x50, 0x61, 0x89, 0x72, 0x6b, 0x55, 0x89,
|
||||||
|
0x54, 0x42, 0x02, 0x59, 0xe5, 0x90, 0xaa, 0x87, 0xe6, 0xb4, 0xb1, 0xb7,
|
||||||
|
0xce, 0x46, 0x89, 0xb7, 0x5a, 0xaf, 0x11, 0xe5, 0x5f, 0x71, 0x42, 0xe2,
|
||||||
|
0xc0, 0x0f, 0xe0, 0x47, 0x21, 0x66, 0xb7, 0xae, 0x93, 0x38, 0x3e, 0x14,
|
||||||
|
0x1f, 0x76, 0xf6, 0xbd, 0x99, 0x79, 0xf3, 0x21, 0xef, 0x9f, 0xbf, 0xbf,
|
||||||
|
0x7e, 0x03, 0xc0, 0x7b, 0x38, 0xa8, 0xc0, 0x32, 0xd8, 0x25, 0xe8, 0x94,
|
||||||
|
0xe0, 0x0d, 0x81, 0xe2, 0x31, 0x0f, 0xb9, 0x3a, 0x21, 0xb0, 0x6c, 0xd9,
|
||||||
|
0x17, 0x04, 0x0a, 0xa7, 0xc2, 0x67, 0x04, 0x6a, 0x2e, 0x0f, 0xd9, 0x59,
|
||||||
|
0x3c, 0x19, 0x30, 0x79, 0x4e, 0x07, 0x63, 0x64, 0x36, 0x5c, 0xe1, 0xd1,
|
||||||
|
0xf1, 0x05, 0x95, 0x5c, 0xe3, 0x84, 0x2c, 0xa8, 0x21, 0x8f, 0x08, 0x74,
|
||||||
|
0x5c, 0x2f, 0x74, 0xbe, 0x71, 0x2a, 0xbe, 0x0f, 0x45, 0xfc, 0xee, 0xf0,
|
||||||
|
0xd0, 0x19, 0xc5, 0xdc, 0x63, 0x34, 0x60, 0xa1, 0x72, 0xe8, 0x35, 0x77,
|
||||||
|
0x3e, 0x6b, 0xf8, 0x41, 0xc3, 0x23, 0xcc, 0xd1, 0xf5, 0x08, 0x34, 0x2d,
|
||||||
|
0x77, 0x44, 0xbf, 0x52, 0x67, 0x4c, 0xc3, 0xc0, 0xe9, 0x29, 0xc9, 0xc3,
|
||||||
|
0xe0, 0xc8, 0xbe, 0x24, 0xb0, 0x4b, 0x7d, 0xff, 0x5c, 0x74, 0x85, 0x50,
|
||||||
|
0x91, 0x92, 0xf4, 0xfa, 0x74, 0x4c, 0xa3, 0xc8, 0x15, 0xd4, 0x67, 0xb2,
|
||||||
|
0xc7, 0xa8, 0xf4, 0x86, 0x04, 0x76, 0x4c, 0x44, 0xef, 0x26, 0x52, 0x6c,
|
||||||
|
0x92, 0xe3, 0xae, 0x1b, 0xf7, 0x8c, 0x83, 0xc0, 0x41, 0x4e, 0xad, 0x19,
|
||||||
|
0x66, 0x26, 0xd6, 0xb4, 0xb0, 0xea, 0xb3, 0x2b, 0x1c, 0xdf, 0xd0, 0x99,
|
||||||
|
0xe4, 0xd9, 0xd0, 0x7e, 0xd7, 0xce, 0x7a, 0x70, 0xbc, 0x72, 0x8f, 0x07,
|
||||||
|
0x21, 0x55, 0xb1, 0xc4, 0xf5, 0x38, 0xff, 0x91, 0x7a, 0xdc, 0x39, 0xc1,
|
||||||
|
0xec, 0x75, 0xc9, 0xe6, 0x8a, 0xb7, 0x17, 0x14, 0x30, 0xf7, 0x93, 0x6e,
|
||||||
|
0x72, 0x7b, 0xc1, 0xa3, 0x15, 0x12, 0x67, 0x63, 0x4e, 0xa6, 0x7b, 0x73,
|
||||||
|
0x46, 0x27, 0xd8, 0xce, 0x56, 0xce, 0x1a, 0x92, 0x84, 0xba, 0x64, 0xb8,
|
||||||
|
0xed, 0x30, 0xba, 0x12, 0x72, 0x92, 0x94, 0x6e, 0x65, 0xa9, 0x3b, 0x99,
|
||||||
|
0x7a, 0xc0, 0x94, 0x99, 0xc3, 0x37, 0x34, 0xc3, 0xd8, 0x4d, 0xcb, 0xee,
|
||||||
|
0xe7, 0xec, 0xa2, 0x9d, 0x43, 0xdf, 0xce, 0x59, 0x45, 0x8d, 0x39, 0xd1,
|
||||||
|
0xfd, 0xbc, 0xdf, 0x21, 0x47, 0xd2, 0xba, 0x4f, 0x5c, 0xb2, 0xcb, 0x69,
|
||||||
|
0x0d, 0xa5, 0x9b, 0x6c, 0x2e, 0xee, 0xd2, 0xee, 0x77, 0x33, 0x6b, 0x49,
|
||||||
|
0xf3, 0x8d, 0xab, 0x31, 0x27, 0x71, 0xd7, 0x6b, 0x2b, 0xaf, 0x07, 0x1d,
|
||||||
|
0x5e, 0xe9, 0x89, 0x58, 0x7a, 0xec, 0x23, 0xd7, 0x6f, 0xa3, 0x36, 0xfd,
|
||||||
|
0xeb, 0xdf, 0xea, 0xf0, 0x35, 0x28, 0xc0, 0x0a, 0x0e, 0x70, 0xdf, 0xa7,
|
||||||
|
0x82, 0x8b, 0x9e, 0x56, 0xf9, 0x32, 0x18, 0x31, 0x4f, 0xc1, 0x1e, 0x2c,
|
||||||
|
0xe1, 0xdb, 0xd5, 0x5f, 0x15, 0x88, 0xd6, 0xc3, 0xb3, 0x88, 0xc8, 0x41,
|
||||||
|
0x4b, 0xd0, 0xae, 0x74, 0x7e, 0x02, 0xf9, 0x81, 0x97, 0x25, 0x28, 0xe1,
|
||||||
|
0x59, 0x34, 0x64, 0x01, 0x1e, 0xe0, 0xb9, 0x76, 0x1b, 0x00, 0x65, 0xa8,
|
||||||
|
0x00, 0x90, 0x32, 0xac, 0x22, 0xa3, 0xed, 0x7a, 0x62, 0xab, 0x89, 0xad,
|
||||||
|
0x41, 0xdd, 0xd8, 0x87, 0xb0, 0x81, 0x19, 0x0d, 0xa3, 0xb5, 0x89, 0xb8,
|
||||||
|
0x09, 0xad, 0x14, 0xb7, 0x11, 0x6f, 0xc1, 0x23, 0x13, 0xb7, 0x9d, 0xe1,
|
||||||
|
0x1f, 0x27, 0xfc, 0x0e, 0x3c, 0x49, 0xf9, 0xa7, 0x88, 0x77, 0xe1, 0x59,
|
||||||
|
0x8a, 0xf7, 0x10, 0x3f, 0x87, 0x17, 0x29, 0x7e, 0x89, 0x78, 0x1f, 0x5e,
|
||||||
|
0xe1, 0x9d, 0xc0, 0x6b, 0xc3, 0x58, 0xff, 0x00, 0x50, 0x4b, 0x03, 0x04,
|
||||||
|
0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x09, 0xad,
|
||||||
|
0xfd, 0x53, 0x35, 0x02, 0x00, 0x00, 0x34, 0x04, 0x00, 0x00, 0x39, 0x00,
|
||||||
|
0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f,
|
||||||
|
0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67,
|
||||||
|
0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x4a, 0x75, 0x69, 0x63,
|
||||||
|
0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74,
|
||||||
|
0x72, 0x61, 0x70, 0x24, 0x31, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x9d,
|
||||||
|
0x53, 0x5b, 0x6f, 0x12, 0x41, 0x14, 0xfe, 0xa6, 0x5c, 0x16, 0x70, 0x6d,
|
||||||
|
0x2b, 0xbd, 0x50, 0xaf, 0x05, 0xa5, 0x0a, 0xd4, 0x76, 0x4b, 0xa1, 0xf6,
|
||||||
|
0x01, 0x63, 0x62, 0x9b, 0x36, 0xd1, 0xe0, 0x25, 0x62, 0x9a, 0x18, 0xe3,
|
||||||
|
0xc3, 0x00, 0x13, 0x18, 0xb2, 0xec, 0x90, 0xdd, 0xc1, 0x58, 0xff, 0x95,
|
||||||
|
0x3e, 0xd0, 0x44, 0x13, 0x7f, 0x80, 0x3f, 0xca, 0x78, 0x06, 0xb0, 0x58,
|
||||||
|
0x21, 0x26, 0xfa, 0x30, 0x73, 0xee, 0xdf, 0x7c, 0x73, 0xce, 0xcc, 0xf7,
|
||||||
|
0x1f, 0x5f, 0xbe, 0x01, 0x28, 0x63, 0x3f, 0x81, 0x4b, 0x58, 0x8f, 0x23,
|
||||||
|
0x8d, 0x4c, 0x0c, 0xb7, 0x13, 0xb8, 0x83, 0xac, 0x85, 0x8d, 0x04, 0x22,
|
||||||
|
0x58, 0x8f, 0xe1, 0xae, 0x91, 0xf7, 0xcc, 0x96, 0xb3, 0x90, 0xb7, 0x50,
|
||||||
|
0xb0, 0xb0, 0xc9, 0x10, 0x7d, 0x28, 0x3d, 0xa9, 0x1f, 0x31, 0x84, 0x72,
|
||||||
|
0xf9, 0x13, 0x86, 0xf0, 0xa1, 0x6a, 0x0a, 0x86, 0x85, 0xaa, 0xf4, 0xc4,
|
||||||
|
0xf3, 0x7e, 0xb7, 0x2e, 0xfc, 0xd7, 0xbc, 0xee, 0x92, 0x27, 0x59, 0x55,
|
||||||
|
0x0d, 0xee, 0x9e, 0x70, 0x5f, 0x1a, 0x7b, 0xec, 0x0c, 0xeb, 0xb6, 0x0c,
|
||||||
|
0x18, 0xec, 0x27, 0x9e, 0x27, 0xfc, 0x43, 0x97, 0x07, 0x81, 0x20, 0x73,
|
||||||
|
0xaf, 0xda, 0xf0, 0x9c, 0x0f, 0x92, 0xab, 0x8f, 0x6d, 0xd5, 0xdf, 0x2d,
|
||||||
|
0x95, 0x9c, 0x4e, 0x5f, 0x36, 0x04, 0x6f, 0x09, 0x4f, 0x3b, 0xbc, 0x27,
|
||||||
|
0x9d, 0xa7, 0xc6, 0x7c, 0x6c, 0xcc, 0x03, 0xa5, 0x74, 0xa0, 0x7d, 0xde,
|
||||||
|
0xcb, 0x16, 0x2b, 0x0c, 0x89, 0x40, 0x73, 0x5f, 0x1f, 0x79, 0xda, 0x3f,
|
||||||
|
0x25, 0x3a, 0xae, 0x6a, 0x31, 0xac, 0xe4, 0xaa, 0x1d, 0xfe, 0x9e, 0x3b,
|
||||||
|
0x2e, 0xf7, 0x5a, 0x4e, 0x4d, 0xfb, 0xd2, 0x6b, 0x55, 0x0c, 0x4d, 0x16,
|
||||||
|
0x18, 0x46, 0x53, 0x21, 0xc2, 0xa8, 0xa9, 0xbe, 0xdf, 0x10, 0xc7, 0xd2,
|
||||||
|
0xd0, 0x5b, 0x9b, 0x71, 0xd2, 0xb6, 0x29, 0xa2, 0x0b, 0x1e, 0x79, 0x0d,
|
||||||
|
0x57, 0x05, 0x54, 0xf4, 0x4c, 0xe8, 0xb6, 0x6a, 0x5a, 0xb8, 0x6f, 0x63,
|
||||||
|
0x0b, 0x29, 0x1b, 0x97, 0x31, 0x6f, 0x61, 0xdb, 0x86, 0x83, 0x1d, 0x86,
|
||||||
|
0xf4, 0xdb, 0x21, 0x44, 0x55, 0xf1, 0xa6, 0xf0, 0xdf, 0xa5, 0x27, 0x04,
|
||||||
|
0xd3, 0xd4, 0x0c, 0x57, 0x34, 0x33, 0x16, 0x8a, 0x36, 0x76, 0x91, 0x62,
|
||||||
|
0x48, 0xfd, 0xc9, 0xe6, 0xa0, 0x2f, 0x5d, 0xaa, 0x62, 0x98, 0xbf, 0x08,
|
||||||
|
0x62, 0xa3, 0x84, 0xb2, 0x8d, 0x3d, 0x3c, 0x60, 0x28, 0xfd, 0x47, 0xa7,
|
||||||
|
0x18, 0x16, 0x27, 0x47, 0xbd, 0xa8, 0x77, 0x44, 0x43, 0x33, 0x94, 0xff,
|
||||||
|
0x0e, 0x54, 0xff, 0x55, 0xee, 0x8c, 0x58, 0x1c, 0xf8, 0xb2, 0xd9, 0xa2,
|
||||||
|
0x0e, 0x15, 0xff, 0xf9, 0x7c, 0x86, 0xc8, 0xb0, 0x0b, 0x17, 0x58, 0xd4,
|
||||||
|
0x4e, 0x03, 0x2d, 0xba, 0x34, 0x34, 0xd5, 0xa7, 0xc0, 0xca, 0x68, 0x30,
|
||||||
|
0x52, 0x39, 0x2f, 0xa9, 0x0f, 0x9a, 0xba, 0x21, 0x78, 0x97, 0x66, 0xb3,
|
||||||
|
0x34, 0xc3, 0xcd, 0x60, 0xf5, 0x8c, 0xe5, 0x7a, 0xf4, 0x14, 0x79, 0xaf,
|
||||||
|
0x27, 0xbc, 0x26, 0xc3, 0xd6, 0xac, 0xa9, 0x4f, 0xb9, 0xc6, 0xfd, 0x25,
|
||||||
|
0xe0, 0x98, 0x56, 0x23, 0x17, 0xc3, 0x72, 0x6e, 0x3a, 0xb1, 0x82, 0x1d,
|
||||||
|
0x98, 0x8f, 0x41, 0x0f, 0x95, 0x7e, 0x49, 0x88, 0x16, 0xcd, 0x98, 0xac,
|
||||||
|
0x05, 0xd2, 0x1c, 0x92, 0x8c, 0x64, 0xa4, 0x70, 0x06, 0xf6, 0x89, 0x94,
|
||||||
|
0x39, 0x2c, 0xd2, 0x1e, 0x1d, 0x3a, 0x33, 0xb8, 0x42, 0xbb, 0x3d, 0x4a,
|
||||||
|
0x40, 0x12, 0xcb, 0x24, 0xe9, 0x7a, 0xe7, 0xc5, 0xfb, 0x94, 0x6d, 0x62,
|
||||||
|
0xf1, 0xcf, 0x98, 0x4b, 0x86, 0x06, 0x08, 0x4f, 0x00, 0x12, 0x24, 0x81,
|
||||||
|
0x2c, 0x62, 0xd8, 0xf8, 0x0d, 0x24, 0x7e, 0x0e, 0xb2, 0x8a, 0xd4, 0x18,
|
||||||
|
0xe4, 0x15, 0x31, 0x32, 0xb9, 0xd7, 0x08, 0xe4, 0x2b, 0x22, 0x6f, 0xce,
|
||||||
|
0x10, 0x4d, 0x5a, 0x03, 0xc4, 0x36, 0x69, 0x0d, 0x10, 0x9f, 0x81, 0x9a,
|
||||||
|
0xc7, 0x55, 0x14, 0x86, 0xa8, 0xab, 0xa3, 0xca, 0x31, 0xaa, 0xd1, 0xd6,
|
||||||
|
0x28, 0x46, 0x73, 0x20, 0xcd, 0xd4, 0x5c, 0xc7, 0x0d, 0x92, 0x61, 0xdc,
|
||||||
|
0xc4, 0x2d, 0x2c, 0x0d, 0xeb, 0xe9, 0x87, 0x0c, 0x33, 0x63, 0x3f, 0x01,
|
||||||
|
0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72,
|
||||||
|
0x95, 0x5c, 0x8f, 0x63, 0xf6, 0x0e, 0x07, 0x04, 0x00, 0x00, 0x35, 0x08,
|
||||||
|
0x00, 0x00, 0x37, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61,
|
||||||
|
0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69,
|
||||||
|
0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
||||||
|
0x4a, 0x75, 0x69, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x6f,
|
||||||
|
0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x63, 0x6c, 0x61, 0x73,
|
||||||
|
0x73, 0x95, 0x55, 0x5f, 0x53, 0x1b, 0x55, 0x14, 0xff, 0x5d, 0x02, 0x6c,
|
||||||
|
0x58, 0x96, 0x42, 0x03, 0x15, 0x8a, 0x82, 0x0b, 0x56, 0x4d, 0x0b, 0x6d,
|
||||||
|
0xa4, 0x54, 0x4b, 0xa1, 0x45, 0x81, 0xb6, 0x1a, 0x0c, 0x14, 0x9b, 0x8a,
|
||||||
|
0xa6, 0xb5, 0xd6, 0x9b, 0xe4, 0x12, 0x2e, 0x5d, 0x76, 0xe3, 0xee, 0x0d,
|
||||||
|
0x43, 0xfb, 0xe6, 0xa3, 0x1f, 0xa0, 0x0f, 0xf6, 0xb5, 0x9f, 0xa0, 0x3e,
|
||||||
|
0x00, 0x53, 0x66, 0xea, 0xf8, 0xe6, 0xf8, 0xe8, 0xb3, 0xe3, 0xa3, 0x7e,
|
||||||
|
0x0a, 0x1d, 0xcf, 0xdd, 0x4d, 0x09, 0x90, 0xd8, 0xca, 0x66, 0xe6, 0x9e,
|
||||||
|
0x9c, 0x73, 0x7e, 0xe7, 0x9c, 0x3d, 0xff, 0xee, 0xfe, 0xfa, 0xcf, 0xb3,
|
||||||
|
0xe7, 0x00, 0x2e, 0xc0, 0x37, 0x31, 0x8c, 0x09, 0x03, 0x97, 0x4c, 0x34,
|
||||||
|
0x61, 0xb2, 0x0d, 0x53, 0xb8, 0x1c, 0xc7, 0x15, 0x13, 0xd3, 0xf8, 0xd0,
|
||||||
|
0xc0, 0x47, 0x26, 0x0c, 0x4c, 0xc4, 0x31, 0xa3, 0xe9, 0xac, 0x46, 0xcc,
|
||||||
|
0xe9, 0x7f, 0x57, 0xe3, 0xb8, 0xa6, 0x99, 0xeb, 0x71, 0x7c, 0xac, 0xe9,
|
||||||
|
0x27, 0x71, 0xa4, 0x35, 0x9d, 0x37, 0xf0, 0xa9, 0x89, 0x6e, 0x4c, 0xea,
|
||||||
|
0x23, 0xa3, 0x8f, 0x05, 0x03, 0x8b, 0x71, 0xdc, 0x30, 0xd1, 0x1b, 0x09,
|
||||||
|
0x97, 0x4c, 0x0a, 0xf0, 0x99, 0x89, 0x9b, 0xc8, 0xc6, 0x71, 0xcb, 0xc0,
|
||||||
|
0xe7, 0x26, 0x06, 0x31, 0x61, 0x62, 0x19, 0x5f, 0x18, 0xf8, 0xd2, 0x40,
|
||||||
|
0x8e, 0xc1, 0x4a, 0xbb, 0xae, 0xf0, 0xe7, 0x1c, 0x1e, 0x04, 0x22, 0x60,
|
||||||
|
0x68, 0xbd, 0x2c, 0x5d, 0xa9, 0xa6, 0x19, 0x62, 0xc9, 0xd3, 0xcb, 0x0c,
|
||||||
|
0xcd, 0x73, 0x5e, 0x51, 0x30, 0x74, 0x66, 0xa4, 0x2b, 0x16, 0x2b, 0xeb,
|
||||||
|
0x79, 0xe1, 0xdf, 0xe2, 0x79, 0x87, 0x24, 0x89, 0x8c, 0x57, 0xe0, 0xce,
|
||||||
|
0x32, 0xf7, 0xa5, 0xe6, 0xab, 0xc2, 0x66, 0xb5, 0x2a, 0xc9, 0xc7, 0x78,
|
||||||
|
0xa6, 0xe0, 0xa6, 0x36, 0x25, 0xf7, 0x1e, 0xae, 0x7a, 0x95, 0xf3, 0xe3,
|
||||||
|
0xe3, 0xa9, 0xb5, 0x8a, 0x2c, 0x08, 0x5e, 0x12, 0xae, 0x4a, 0xf1, 0xb2,
|
||||||
|
0x4c, 0xcd, 0x6b, 0x76, 0x46, 0xb3, 0xb3, 0x9e, 0xa7, 0x02, 0xe5, 0xf3,
|
||||||
|
0xf2, 0x14, 0x43, 0x4b, 0xa0, 0xb8, 0xaf, 0x18, 0x4e, 0x24, 0x33, 0x6b,
|
||||||
|
0x7c, 0x83, 0xa7, 0x1c, 0xee, 0x96, 0x52, 0x59, 0xe5, 0x4b, 0xb7, 0x34,
|
||||||
|
0xa5, 0x5f, 0xa5, 0x9d, 0xfb, 0xa5, 0xe0, 0x5e, 0x10, 0x0a, 0x74, 0xfc,
|
||||||
|
0x3a, 0x10, 0xc5, 0x97, 0xee, 0x8a, 0xc7, 0x70, 0xf6, 0x15, 0xf1, 0xd3,
|
||||||
|
0xee, 0x9a, 0x28, 0x28, 0xe9, 0xb9, 0x69, 0x82, 0x93, 0x99, 0xe1, 0xc8,
|
||||||
|
0xbc, 0xcf, 0xfd, 0x07, 0x0c, 0xc7, 0x22, 0xaf, 0xd2, 0x4b, 0x5d, 0x97,
|
||||||
|
0x8e, 0x20, 0x55, 0x47, 0x56, 0xf1, 0xc2, 0xfd, 0x05, 0x5e, 0x0e, 0x33,
|
||||||
|
0xa4, 0xb6, 0x51, 0xc9, 0x19, 0xcc, 0xac, 0x57, 0xf1, 0x0b, 0x42, 0x63,
|
||||||
|
0x18, 0xfa, 0x1a, 0xa4, 0x73, 0x4e, 0xbb, 0xb1, 0x70, 0x0a, 0x6f, 0x33,
|
||||||
|
0x8c, 0x1c, 0xe1, 0x65, 0xb4, 0xc9, 0xa8, 0x81, 0xdb, 0x16, 0xee, 0xe0,
|
||||||
|
0x2b, 0x86, 0xe1, 0x3b, 0x35, 0xdf, 0xf6, 0xcc, 0x52, 0xfa, 0xae, 0x7d,
|
||||||
|
0xe5, 0xf0, 0x63, 0xe0, 0xae, 0x85, 0xaf, 0x31, 0xca, 0xd0, 0x7b, 0xb8,
|
||||||
|
0x20, 0xb3, 0x15, 0xe9, 0x14, 0x85, 0xdf, 0xc8, 0xcd, 0x9c, 0xe7, 0xae,
|
||||||
|
0xc8, 0x92, 0xbd, 0x2c, 0xfc, 0x80, 0x22, 0xdb, 0x93, 0xb6, 0x85, 0x7b,
|
||||||
|
0xf8, 0xc6, 0x02, 0x47, 0xde, 0x42, 0x01, 0x79, 0x86, 0x64, 0x9d, 0x4d,
|
||||||
|
0x8d, 0x27, 0x76, 0x9e, 0xfb, 0x4b, 0x5c, 0xad, 0x86, 0x96, 0x45, 0x8d,
|
||||||
|
0x4f, 0xbd, 0x04, 0xbf, 0xc8, 0x95, 0xdc, 0x10, 0x99, 0xa8, 0xc8, 0x7b,
|
||||||
|
0x66, 0x42, 0x9b, 0x0d, 0xd6, 0x99, 0xdd, 0xac, 0xb8, 0x4a, 0xae, 0x8b,
|
||||||
|
0xab, 0xd2, 0x0f, 0x51, 0x2b, 0x1a, 0x65, 0xed, 0xef, 0x8a, 0x85, 0x12,
|
||||||
|
0x56, 0x2d, 0x48, 0xac, 0x32, 0xf4, 0xd7, 0x72, 0xae, 0xda, 0x5d, 0xdb,
|
||||||
|
0x2c, 0x88, 0xb2, 0x2e, 0x27, 0xc3, 0xd0, 0x3e, 0xd7, 0xd5, 0x0e, 0xdb,
|
||||||
|
0xae, 0xa7, 0xec, 0x15, 0xaf, 0xe2, 0x16, 0x6d, 0xae, 0xb4, 0xfb, 0x35,
|
||||||
|
0x9d, 0xf0, 0x7d, 0x5d, 0x73, 0xc7, 0xc2, 0x3a, 0x0e, 0x59, 0xe9, 0x55,
|
||||||
|
0x90, 0xdc, 0x91, 0x0f, 0xb9, 0xf6, 0x68, 0xaf, 0x70, 0x0a, 0x5f, 0x1c,
|
||||||
|
0xa2, 0x01, 0x3f, 0xf2, 0x7c, 0x9f, 0x1a, 0x33, 0x40, 0xdd, 0x2d, 0xe3,
|
||||||
|
0x5b, 0x86, 0xb1, 0x23, 0x5b, 0x33, 0x74, 0xd5, 0x12, 0xbd, 0x91, 0xd7,
|
||||||
|
0x03, 0x73, 0x40, 0x94, 0x7d, 0x10, 0x28, 0xb1, 0x4e, 0x3b, 0xeb, 0x55,
|
||||||
|
0xf4, 0x02, 0xed, 0x0d, 0xf1, 0x12, 0x8d, 0x81, 0xa2, 0x61, 0x10, 0x7c,
|
||||||
|
0x9d, 0x66, 0xb9, 0xbb, 0x81, 0x98, 0x86, 0xbf, 0xac, 0x39, 0x87, 0x32,
|
||||||
|
0x6f, 0xe5, 0xe5, 0xb2, 0x70, 0x8b, 0xb4, 0x3f, 0x8d, 0x36, 0xb0, 0x4e,
|
||||||
|
0x54, 0x1d, 0x2f, 0x72, 0x6c, 0x96, 0x84, 0xaa, 0x8e, 0x12, 0x43, 0x4f,
|
||||||
|
0xb2, 0x1e, 0x4a, 0x98, 0xb8, 0xf2, 0xb2, 0xd5, 0xd5, 0xed, 0x25, 0x78,
|
||||||
|
0xa3, 0x61, 0xa2, 0x69, 0x38, 0xa0, 0xa9, 0x1b, 0x1b, 0x5a, 0x47, 0x02,
|
||||||
|
0xd4, 0x06, 0x84, 0x5e, 0x59, 0x6c, 0xca, 0x40, 0x05, 0xe1, 0x6d, 0x75,
|
||||||
|
0x9b, 0x58, 0x19, 0x44, 0x3b, 0xd9, 0x49, 0xb8, 0x99, 0x7c, 0xe0, 0x39,
|
||||||
|
0x15, 0x25, 0x22, 0xcb, 0x66, 0xc7, 0xe3, 0x94, 0x5a, 0xf2, 0xff, 0xd6,
|
||||||
|
0x3e, 0xbc, 0x4c, 0xe4, 0x7f, 0x5d, 0x47, 0x14, 0xeb, 0xe2, 0xcb, 0x3d,
|
||||||
|
0xe5, 0x5f, 0xf4, 0x2e, 0xb5, 0xd7, 0xc5, 0x59, 0x5f, 0x16, 0x4b, 0xf4,
|
||||||
|
0x72, 0xed, 0x81, 0x50, 0x4b, 0xbe, 0xb7, 0x21, 0xc3, 0xe5, 0xbc, 0x94,
|
||||||
|
0x7c, 0xc5, 0x6d, 0x55, 0xf3, 0x94, 0xa1, 0x14, 0x84, 0x1f, 0xb9, 0xa1,
|
||||||
|
0x2b, 0x11, 0x43, 0xf4, 0x1b, 0x86, 0x7e, 0x9a, 0xc0, 0xf4, 0x65, 0x43,
|
||||||
|
0xe7, 0x3b, 0xc4, 0xa5, 0x88, 0x32, 0xa2, 0x2d, 0x67, 0xb6, 0xc1, 0x9e,
|
||||||
|
0x86, 0xea, 0x77, 0xe9, 0x6c, 0x0d, 0x85, 0x6d, 0x48, 0xd2, 0x69, 0x45,
|
||||||
|
0x00, 0x9c, 0xc6, 0x99, 0x50, 0x36, 0x82, 0xd1, 0xc8, 0x98, 0x95, 0xd1,
|
||||||
|
0x8c, 0x18, 0xc9, 0xfe, 0xda, 0x45, 0x53, 0x8e, 0x1c, 0xc4, 0x32, 0x3f,
|
||||||
|
0xa2, 0x39, 0xd1, 0xb2, 0x85, 0x56, 0xa2, 0xbb, 0x30, 0x72, 0xdb, 0x88,
|
||||||
|
0x27, 0xda, 0xb6, 0x60, 0x8e, 0x6c, 0xa1, 0x9d, 0xc8, 0x16, 0xac, 0x83,
|
||||||
|
0xba, 0x8e, 0x48, 0x77, 0xac, 0x91, 0xae, 0x33, 0xd2, 0x75, 0x35, 0xd2,
|
||||||
|
0x1d, 0x8f, 0x74, 0x89, 0xfd, 0xba, 0x30, 0xee, 0x2e, 0xba, 0x73, 0xda,
|
||||||
|
0x68, 0x1b, 0x3d, 0x0b, 0xa3, 0x5b, 0x38, 0xf1, 0x03, 0x4c, 0x22, 0xaf,
|
||||||
|
0x3d, 0xc6, 0xd0, 0x2e, 0x7a, 0x73, 0x2f, 0xcc, 0xfb, 0x0e, 0xb8, 0xde,
|
||||||
|
0xc6, 0xc9, 0x9f, 0x08, 0xd4, 0xbf, 0x83, 0xd7, 0xb5, 0xcf, 0x1d, 0xbc,
|
||||||
|
0xf1, 0x18, 0x1d, 0x1a, 0x9e, 0x18, 0xd0, 0xaa, 0x5d, 0x0c, 0x92, 0xd1,
|
||||||
|
0x9b, 0x3b, 0xb0, 0x75, 0x79, 0x62, 0x61, 0x79, 0xa6, 0xd1, 0x19, 0x16,
|
||||||
|
0xa6, 0x8d, 0xe8, 0x71, 0x74, 0xe1, 0x2c, 0x9d, 0x69, 0x24, 0xe8, 0x9e,
|
||||||
|
0xea, 0xc6, 0x77, 0xe8, 0xc1, 0xf7, 0xf4, 0x51, 0x7d, 0x84, 0x3e, 0x3c,
|
||||||
|
0xc1, 0x49, 0xfc, 0x8c, 0x7e, 0xfc, 0x82, 0x01, 0xfc, 0x46, 0x9f, 0xd3,
|
||||||
|
0xdf, 0xa9, 0x0b, 0x7f, 0x12, 0x5a, 0x97, 0xd5, 0x8e, 0x4a, 0x47, 0xdc,
|
||||||
|
0xb9, 0xb0, 0xac, 0x7f, 0x50, 0x2f, 0xde, 0xa3, 0xc2, 0x3e, 0xa2, 0x2f,
|
||||||
|
0xf0, 0x18, 0xce, 0x53, 0x23, 0xc6, 0x49, 0xde, 0x81, 0xd8, 0xdf, 0x78,
|
||||||
|
0x62, 0xe0, 0x82, 0x81, 0xf7, 0x07, 0xfa, 0x49, 0xf8, 0x41, 0xd8, 0xa3,
|
||||||
|
0x8b, 0x78, 0x8b, 0xa8, 0x49, 0xf0, 0xc1, 0xb0, 0xa9, 0xf1, 0x7f, 0x01,
|
||||||
|
0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72,
|
||||||
|
0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61,
|
||||||
|
0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69,
|
||||||
|
0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
||||||
|
0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x03, 0x00, 0x50, 0x4b,
|
||||||
|
0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c,
|
||||||
|
0x19, 0x77, 0xde, 0xdf, 0x52, 0x08, 0x00, 0x00, 0xcd, 0x11, 0x00, 0x00,
|
||||||
|
0x35, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a,
|
||||||
|
0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65,
|
||||||
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f,
|
||||||
|
0x64, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x4a, 0x61, 0x72, 0x4c, 0x6f, 0x61,
|
||||||
|
0x64, 0x65, 0x72, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x95, 0x57, 0x7b,
|
||||||
|
0x74, 0x14, 0x57, 0x19, 0xff, 0xdd, 0x49, 0xb2, 0x33, 0xbb, 0x99, 0x64,
|
||||||
|
0xc9, 0x92, 0x00, 0x0b, 0x81, 0x4e, 0x79, 0x26, 0x21, 0xc9, 0xd2, 0x00,
|
||||||
|
0x11, 0x36, 0x84, 0x57, 0x1e, 0x10, 0x5c, 0x02, 0x92, 0x94, 0x98, 0xc6,
|
||||||
|
0xb4, 0x4e, 0x76, 0x27, 0xc9, 0x84, 0xcd, 0xce, 0x3a, 0x3b, 0x0b, 0x04,
|
||||||
|
0xb5, 0xbe, 0x10, 0x45, 0xb4, 0x56, 0xeb, 0x0b, 0x7c, 0xd7, 0x47, 0x94,
|
||||||
|
0xd6, 0xb6, 0xa0, 0x6e, 0x80, 0x58, 0x90, 0x5a, 0xa3, 0xd6, 0xea, 0x5f,
|
||||||
|
0x1e, 0xff, 0xf0, 0x1c, 0x3d, 0xc7, 0x73, 0x3c, 0xfe, 0xed, 0x3f, 0xb6,
|
||||||
|
0xd2, 0xc3, 0xa1, 0x7e, 0x77, 0x66, 0x93, 0xcc, 0x26, 0xd9, 0xa4, 0xe5,
|
||||||
|
0x84, 0x7b, 0xef, 0x7c, 0xdf, 0xef, 0x7b, 0xdf, 0xfb, 0xdd, 0xbb, 0xaf,
|
||||||
|
0x3d, 0xb8, 0x75, 0x1b, 0xc0, 0x0e, 0xfc, 0xc9, 0x87, 0x5d, 0x18, 0xf1,
|
||||||
|
0xe2, 0x14, 0xe2, 0x22, 0x46, 0x7d, 0x28, 0xc0, 0x88, 0x84, 0x04, 0x9f,
|
||||||
|
0x0d, 0x3e, 0x24, 0x7d, 0xf8, 0x10, 0x4c, 0x11, 0x29, 0x1f, 0xbc, 0xb0,
|
||||||
|
0x24, 0xa4, 0xf9, 0x7c, 0x5a, 0xc2, 0x19, 0x09, 0x67, 0x25, 0x8c, 0x49,
|
||||||
|
0x38, 0x27, 0xe1, 0xc3, 0x12, 0x3e, 0x22, 0xe1, 0xa3, 0x22, 0x9e, 0xf4,
|
||||||
|
0xa1, 0x1c, 0x16, 0x1f, 0x3e, 0xc6, 0x87, 0x8f, 0xf3, 0xe1, 0x13, 0x12,
|
||||||
|
0x3e, 0xc9, 0xe7, 0x4f, 0xf1, 0xe1, 0xbc, 0x0f, 0x9f, 0xc6, 0x05, 0x09,
|
||||||
|
0x9f, 0xe1, 0xf3, 0x67, 0x39, 0xe5, 0xa2, 0x84, 0xcf, 0xf9, 0x70, 0x09,
|
||||||
|
0x9f, 0x97, 0xf0, 0x05, 0x09, 0x4f, 0x89, 0xf8, 0xa2, 0x84, 0xa7, 0x7d,
|
||||||
|
0xd8, 0x88, 0x2f, 0x49, 0xf8, 0x32, 0x77, 0xe0, 0x19, 0x09, 0x5f, 0x91,
|
||||||
|
0xf0, 0x55, 0x09, 0x5f, 0x93, 0xf0, 0x75, 0x11, 0xdf, 0x90, 0x70, 0xd9,
|
||||||
|
0x87, 0x3a, 0xee, 0xca, 0x15, 0x09, 0xdf, 0xf4, 0x51, 0x04, 0xdf, 0x92,
|
||||||
|
0xf0, 0x6d, 0x11, 0xdf, 0xe1, 0xcb, 0xef, 0x4a, 0xf8, 0x9e, 0x84, 0xef,
|
||||||
|
0x8b, 0x78, 0xd6, 0x87, 0x1f, 0xe0, 0x87, 0x12, 0x7e, 0x24, 0xe1, 0xc7,
|
||||||
|
0x12, 0xc6, 0xb9, 0xc4, 0x4f, 0x44, 0xfc, 0x94, 0xc1, 0xb3, 0x47, 0x4f,
|
||||||
|
0xe8, 0xd6, 0x5e, 0x86, 0x82, 0xaa, 0xea, 0x93, 0x0c, 0x85, 0x2d, 0x46,
|
||||||
|
0x4c, 0x63, 0xf0, 0x47, 0xf4, 0x84, 0xd6, 0x99, 0x1e, 0x1d, 0xd0, 0xcc,
|
||||||
|
0x6e, 0x75, 0x20, 0x4e, 0x94, 0x40, 0xc4, 0x88, 0xaa, 0xf1, 0x93, 0xaa,
|
||||||
|
0xa9, 0xf3, 0xef, 0x2c, 0xb1, 0xd0, 0x1a, 0xd6, 0x53, 0x0c, 0x8f, 0x44,
|
||||||
|
0xa2, 0x89, 0xd0, 0x59, 0x5d, 0x35, 0xce, 0x0d, 0x1b, 0xe9, 0x86, 0xed,
|
||||||
|
0xdb, 0x43, 0x23, 0x69, 0x3d, 0xaa, 0xa9, 0x43, 0x5a, 0xc2, 0x0a, 0xa9,
|
||||||
|
0x49, 0x3d, 0x34, 0x6a, 0xc4, 0xd2, 0x71, 0x2d, 0x15, 0x3a, 0xa2, 0x9a,
|
||||||
|
0x11, 0x43, 0x8d, 0x69, 0x66, 0x13, 0x83, 0x18, 0xa7, 0x15, 0x11, 0x18,
|
||||||
|
0x2a, 0xaa, 0x22, 0x23, 0xea, 0x69, 0x35, 0x14, 0x57, 0x13, 0x43, 0xa1,
|
||||||
|
0x2e, 0xcb, 0xd4, 0x13, 0x43, 0x4d, 0xdc, 0x15, 0x69, 0x50, 0x8f, 0x6b,
|
||||||
|
0x9d, 0xea, 0xa8, 0x6d, 0x7c, 0x1e, 0x22, 0xcb, 0x3f, 0xae, 0x5a, 0xc3,
|
||||||
|
0x0c, 0x8c, 0x30, 0x15, 0x2e, 0x4c, 0xdb, 0xd9, 0xa8, 0x96, 0xb4, 0x74,
|
||||||
|
0x23, 0x41, 0xb0, 0x42, 0x0e, 0x63, 0x28, 0x75, 0xd8, 0xba, 0x11, 0x6a,
|
||||||
|
0xa7, 0x6f, 0xee, 0x40, 0x2a, 0x1d, 0x8d, 0x6a, 0x29, 0x72, 0x9f, 0x75,
|
||||||
|
0x50, 0x1a, 0x06, 0x55, 0x22, 0xc7, 0x18, 0xbc, 0x31, 0xdd, 0xd4, 0xa2,
|
||||||
|
0x96, 0x61, 0x8e, 0x31, 0x14, 0x71, 0x51, 0x02, 0xf8, 0xfb, 0xe6, 0x0a,
|
||||||
|
0x17, 0x5b, 0xaa, 0x39, 0xa4, 0x59, 0x2d, 0x71, 0x95, 0x2b, 0x28, 0x73,
|
||||||
|
0x99, 0xb6, 0x49, 0x84, 0x90, 0x1d, 0xc4, 0x51, 0xcd, 0x1a, 0x36, 0x48,
|
||||||
|
0xed, 0x6a, 0x17, 0xc4, 0xd4, 0x06, 0xe3, 0x64, 0x22, 0xe4, 0xf0, 0x08,
|
||||||
|
0xeb, 0x49, 0xaa, 0xa6, 0x3a, 0x4a, 0x8a, 0xe4, 0x98, 0x96, 0xd2, 0x28,
|
||||||
|
0xc3, 0x71, 0xfd, 0x9c, 0x46, 0x99, 0x69, 0x58, 0x22, 0xaf, 0x69, 0x4b,
|
||||||
|
0x8f, 0xa7, 0x42, 0xad, 0x2e, 0x19, 0x1e, 0xd7, 0x88, 0x6a, 0x3a, 0x59,
|
||||||
|
0xf1, 0x11, 0xce, 0x1c, 0xcb, 0xfa, 0x58, 0x6c, 0x7f, 0x4c, 0xbb, 0x23,
|
||||||
|
0xeb, 0x89, 0x11, 0x72, 0x81, 0x32, 0xd4, 0xaa, 0x93, 0xa1, 0x15, 0xb9,
|
||||||
|
0xc5, 0x1d, 0x4b, 0x4e, 0x17, 0xb8, 0x7c, 0x6e, 0x64, 0x7b, 0x6a, 0xf6,
|
||||||
|
0x92, 0x8d, 0x92, 0x2e, 0x4b, 0x8d, 0x9e, 0x3a, 0xaa, 0x26, 0x6d, 0x98,
|
||||||
|
0x88, 0xab, 0x74, 0x1e, 0x68, 0xb7, 0x8b, 0xe8, 0xa6, 0xfd, 0x4a, 0x86,
|
||||||
|
0xbb, 0x8c, 0xb4, 0x19, 0xd5, 0xda, 0x9d, 0xc4, 0xcf, 0x54, 0xbd, 0x9e,
|
||||||
|
0xeb, 0x92, 0xb1, 0x0f, 0xfb, 0x45, 0x3c, 0x27, 0xe3, 0x79, 0xfc, 0x8c,
|
||||||
|
0x61, 0xe5, 0xdc, 0xc2, 0x1e, 0x4c, 0xeb, 0xf1, 0x18, 0x0f, 0x7e, 0x43,
|
||||||
|
0xdf, 0x11, 0x1e, 0xed, 0x01, 0x1e, 0xad, 0x32, 0xa3, 0xa3, 0x5f, 0x39,
|
||||||
|
0x64, 0x58, 0x8a, 0x93, 0xaf, 0xb0, 0x22, 0xe3, 0x05, 0xbc, 0x28, 0xe3,
|
||||||
|
0x25, 0x5c, 0x13, 0x71, 0x5d, 0xc6, 0xcf, 0x71, 0x88, 0x61, 0xdb, 0xbb,
|
||||||
|
0xcd, 0x19, 0xf7, 0x88, 0xe4, 0xc4, 0x23, 0x4e, 0xde, 0x64, 0xfc, 0x02,
|
||||||
|
0xbf, 0xa4, 0x18, 0xda, 0xdc, 0xc9, 0x6b, 0xcb, 0x49, 0x5e, 0x47, 0x4e,
|
||||||
|
0xf2, 0x94, 0x3c, 0x8e, 0x66, 0xf5, 0x85, 0x95, 0xfc, 0xb1, 0xcc, 0xda,
|
||||||
|
0xe0, 0xa8, 0x8d, 0x8b, 0xa1, 0x1c, 0xe3, 0x1c, 0xb6, 0x29, 0x0f, 0xcc,
|
||||||
|
0xed, 0x15, 0xc7, 0xc9, 0xee, 0x3d, 0x2b, 0x23, 0x83, 0x09, 0x19, 0x37,
|
||||||
|
0x70, 0x53, 0xc6, 0x2d, 0xdc, 0x64, 0x68, 0xcc, 0xa3, 0xa5, 0x2b, 0xaa,
|
||||||
|
0x26, 0x12, 0x54, 0x07, 0x65, 0x66, 0x87, 0x28, 0x33, 0x27, 0xa2, 0xbe,
|
||||||
|
0xbe, 0x5e, 0xc6, 0x24, 0x57, 0xf1, 0x2b, 0x9e, 0xf1, 0xab, 0x32, 0x5e,
|
||||||
|
0xc6, 0x35, 0x3a, 0x61, 0x54, 0x58, 0xca, 0xe2, 0x6d, 0xdc, 0x91, 0xf1,
|
||||||
|
0x6b, 0x4e, 0xa8, 0xcd, 0xa3, 0xbb, 0xdd, 0x48, 0x27, 0x62, 0x2e, 0xc5,
|
||||||
|
0x24, 0x16, 0x56, 0x44, 0xdc, 0x95, 0xf1, 0x0a, 0xee, 0x30, 0xd4, 0xe5,
|
||||||
|
0x11, 0xb3, 0xe7, 0x79, 0x72, 0x0c, 0x3b, 0xf3, 0x99, 0xb1, 0x8f, 0xb2,
|
||||||
|
0x62, 0x19, 0x0a, 0xef, 0x31, 0xf3, 0xe5, 0x96, 0x2f, 0xd0, 0x28, 0x18,
|
||||||
|
0x76, 0xe4, 0xcb, 0xbe, 0x69, 0x1a, 0xa6, 0xad, 0x29, 0x37, 0x2b, 0xb6,
|
||||||
|
0x32, 0x19, 0xbf, 0xc1, 0x7e, 0x86, 0xed, 0x4b, 0x95, 0x44, 0x19, 0xa4,
|
||||||
|
0x2e, 0x9b, 0x1a, 0xd6, 0x62, 0xf5, 0x4a, 0x97, 0xd3, 0x76, 0x9a, 0xf9,
|
||||||
|
0xde, 0x7d, 0x95, 0xfa, 0x4d, 0x6d, 0xd6, 0xdf, 0x66, 0x86, 0x7d, 0x4b,
|
||||||
|
0xaa, 0x99, 0x29, 0x85, 0x92, 0xa0, 0x63, 0x30, 0x68, 0xe7, 0x93, 0xbc,
|
||||||
|
0xd3, 0x46, 0x93, 0xd6, 0x18, 0x0f, 0xad, 0xf5, 0x1d, 0xec, 0x0d, 0x45,
|
||||||
|
0x4f, 0x29, 0x89, 0x74, 0x3c, 0x5e, 0xab, 0xa4, 0x4e, 0xe9, 0x49, 0x57,
|
||||||
|
0x44, 0xd9, 0x18, 0xeb, 0x19, 0x6a, 0x16, 0xa9, 0x04, 0xcf, 0x82, 0xdd,
|
||||||
|
0x4b, 0xa6, 0xd3, 0xb9, 0x7a, 0x36, 0x9d, 0x27, 0xd2, 0x09, 0x4b, 0x1f,
|
||||||
|
0xd5, 0x5c, 0x59, 0x2d, 0x9f, 0x53, 0x8c, 0x25, 0x4a, 0xd7, 0x36, 0xad,
|
||||||
|
0xd8, 0x46, 0x93, 0x5c, 0xb6, 0x49, 0x0f, 0x92, 0xbf, 0x63, 0xe4, 0x58,
|
||||||
|
0x55, 0x1e, 0xb9, 0x13, 0x5a, 0xca, 0x88, 0x9f, 0xe6, 0xae, 0x45, 0x9d,
|
||||||
|
0xd3, 0x24, 0xe3, 0xb7, 0x98, 0x62, 0xa8, 0x5e, 0x12, 0x3f, 0x3a, 0x73,
|
||||||
|
0xae, 0xfc, 0x73, 0x5a, 0x9d, 0x8c, 0xdf, 0xe1, 0xf7, 0xf9, 0x4d, 0x76,
|
||||||
|
0x24, 0x4e, 0x1b, 0xa7, 0x72, 0x35, 0x30, 0xf2, 0x70, 0xd9, 0xac, 0x96,
|
||||||
|
0x63, 0x03, 0x3c, 0xb3, 0x22, 0xfe, 0x20, 0xe3, 0x35, 0xfc, 0x91, 0x61,
|
||||||
|
0xf7, 0xa2, 0x41, 0x3b, 0x6a, 0xa8, 0x1c, 0xa4, 0x76, 0x7e, 0xe0, 0x4b,
|
||||||
|
0xef, 0x75, 0x47, 0x30, 0x5b, 0x1a, 0x47, 0x19, 0xc9, 0x05, 0xe6, 0x02,
|
||||||
|
0x78, 0x6a, 0xf6, 0xe1, 0x75, 0x86, 0xd0, 0xbb, 0xbc, 0xb3, 0x73, 0x42,
|
||||||
|
0x73, 0x7a, 0x75, 0x2e, 0x69, 0x2c, 0x65, 0x69, 0xa3, 0xf4, 0x8e, 0x30,
|
||||||
|
0xd2, 0xd6, 0xcc, 0x6d, 0x4c, 0xdd, 0xe7, 0x38, 0x21, 0x2d, 0xc2, 0x6b,
|
||||||
|
0xea, 0x28, 0xbf, 0xea, 0xd4, 0x64, 0x52, 0x4b, 0x50, 0x13, 0xad, 0x5b,
|
||||||
|
0xe8, 0xd6, 0x9f, 0x47, 0xca, 0xde, 0x06, 0xfc, 0xb6, 0xb7, 0x8c, 0x69,
|
||||||
|
0xa3, 0xe5, 0x55, 0xf3, 0x81, 0x4d, 0xd3, 0xc7, 0x3a, 0xd7, 0x22, 0xb5,
|
||||||
|
0xf5, 0x24, 0xff, 0x8a, 0xd3, 0x56, 0x2c, 0xa0, 0xeb, 0x98, 0x61, 0xd7,
|
||||||
|
0x02, 0x76, 0xdf, 0x89, 0x27, 0x64, 0xc0, 0x1b, 0xd7, 0x53, 0x56, 0xbb,
|
||||||
|
0xf3, 0x24, 0x28, 0xab, 0xaa, 0x9e, 0xf7, 0x28, 0xf0, 0x68, 0x67, 0x09,
|
||||||
|
0x90, 0xb2, 0x9f, 0x52, 0x8f, 0xd1, 0xa5, 0xa1, 0xa7, 0x5a, 0x67, 0xdf,
|
||||||
|
0x12, 0x1e, 0x3d, 0xe5, 0xdc, 0x87, 0x22, 0xb9, 0xe1, 0xbc, 0x6a, 0x8a,
|
||||||
|
0x2d, 0x23, 0x62, 0x9c, 0xd1, 0xcc, 0x16, 0x35, 0x45, 0x5f, 0x12, 0xa5,
|
||||||
|
0x25, 0xd5, 0xa3, 0xf3, 0x8b, 0x7b, 0xc1, 0x17, 0x11, 0x69, 0xf4, 0x93,
|
||||||
|
0xe8, 0x81, 0x01, 0xda, 0xb9, 0x69, 0x2b, 0xfb, 0xf0, 0xa9, 0x5a, 0xbc,
|
||||||
|
0x88, 0xb3, 0x7b, 0x86, 0xa1, 0x52, 0x8d, 0xc5, 0xba, 0x0d, 0xa7, 0x4a,
|
||||||
|
0xf6, 0xfe, 0x76, 0xca, 0xda, 0xa5, 0xa9, 0x66, 0x94, 0x34, 0xf9, 0x93,
|
||||||
|
0x4e, 0xd6, 0xe8, 0x5e, 0xef, 0x36, 0xd5, 0x28, 0x39, 0x54, 0x59, 0xd5,
|
||||||
|
0xb1, 0x58, 0x41, 0xc4, 0x41, 0xc3, 0x74, 0xe2, 0xd8, 0xb4, 0x44, 0x29,
|
||||||
|
0xa7, 0x9f, 0x44, 0x5e, 0xd7, 0x7b, 0x68, 0xff, 0x02, 0x32, 0x7d, 0xf3,
|
||||||
|
0x64, 0xaa, 0x17, 0x7b, 0x35, 0xad, 0xca, 0xc7, 0xe3, 0xc9, 0xb6, 0xf7,
|
||||||
|
0x3a, 0x1d, 0x39, 0xb7, 0x19, 0xe7, 0x3c, 0xe6, 0x98, 0xc9, 0x92, 0xaa,
|
||||||
|
0xe7, 0x93, 0xa8, 0x09, 0x2e, 0xbe, 0x53, 0xba, 0x87, 0x4d, 0xe3, 0x0c,
|
||||||
|
0x7f, 0xfe, 0xd0, 0x63, 0x15, 0x0f, 0x63, 0x2f, 0xfd, 0x6a, 0xe0, 0xff,
|
||||||
|
0x04, 0x30, 0xfe, 0xc2, 0xa1, 0xf1, 0x00, 0x7d, 0x85, 0x68, 0x66, 0x34,
|
||||||
|
0x17, 0xd5, 0x4c, 0x80, 0x5d, 0xb3, 0xd9, 0x07, 0x69, 0xf4, 0xd8, 0x44,
|
||||||
|
0x2f, 0x5a, 0x68, 0x94, 0x1d, 0x00, 0x5a, 0xd1, 0x66, 0xd3, 0xda, 0x71,
|
||||||
|
0xc8, 0x11, 0x2e, 0x0a, 0xa1, 0x10, 0xcb, 0x48, 0xe4, 0x8d, 0xeb, 0x10,
|
||||||
|
0x26, 0x51, 0xd0, 0x3b, 0x81, 0xc2, 0x40, 0x51, 0x06, 0x9e, 0x1a, 0xfa,
|
||||||
|
0x9f, 0x81, 0x98, 0x81, 0x34, 0x09, 0x6f, 0x2f, 0x69, 0xf6, 0x45, 0xb6,
|
||||||
|
0x06, 0x8a, 0x59, 0x06, 0xf2, 0xd1, 0xad, 0x81, 0x12, 0x3e, 0x77, 0x6e,
|
||||||
|
0x0d, 0x94, 0xf2, 0x39, 0x5c, 0xb8, 0x35, 0xe0, 0xb7, 0x17, 0x45, 0x2e,
|
||||||
|
0x1d, 0xcb, 0x48, 0xbe, 0x76, 0x46, 0x87, 0x8b, 0x51, 0x46, 0xc4, 0xba,
|
||||||
|
0x85, 0x18, 0x01, 0x22, 0x06, 0x0b, 0x17, 0xe2, 0x2c, 0xe7, 0x9c, 0xa2,
|
||||||
|
0x19, 0x4e, 0xb0, 0x68, 0x8a, 0x75, 0x4e, 0xa2, 0xbc, 0x37, 0x58, 0x34,
|
||||||
|
0x81, 0x8a, 0xb0, 0x27, 0x48, 0xf4, 0x15, 0x61, 0x91, 0x4f, 0x2b, 0x2f,
|
||||||
|
0xb3, 0x95, 0x7c, 0x5e, 0x75, 0x99, 0xf9, 0x83, 0xe2, 0x14, 0xf3, 0x91,
|
||||||
|
0x96, 0x40, 0x90, 0x64, 0x0a, 0x1a, 0xe9, 0xcf, 0x1b, 0x14, 0xc3, 0xbe,
|
||||||
|
0xa0, 0xef, 0x76, 0x63, 0x71, 0x41, 0xa3, 0x5c, 0x21, 0x57, 0x14, 0x3f,
|
||||||
|
0x8b, 0x57, 0x82, 0xbe, 0x0a, 0xb9, 0x21, 0x5c, 0x12, 0x2c, 0xc9, 0x60,
|
||||||
|
0xf5, 0x15, 0x78, 0xc6, 0x71, 0x95, 0x2f, 0xd7, 0x64, 0x50, 0x19, 0x2e,
|
||||||
|
0x0d, 0x96, 0x06, 0xd6, 0x66, 0xb0, 0xce, 0x26, 0x3f, 0xc3, 0xc9, 0x0f,
|
||||||
|
0x85, 0xfd, 0x2e, 0xb7, 0x14, 0xee, 0x96, 0x7f, 0xd6, 0x2d, 0xff, 0x0d,
|
||||||
|
0x3c, 0x7c, 0x19, 0x1b, 0xce, 0x4b, 0xcc, 0x05, 0x5a, 0x9f, 0x0b, 0x1a,
|
||||||
|
0x87, 0x72, 0xde, 0xeb, 0xe6, 0x6f, 0x98, 0xcb, 0xaf, 0x09, 0x97, 0xe6,
|
||||||
|
0x22, 0x36, 0x71, 0x04, 0x37, 0x3e, 0x6b, 0xa9, 0x34, 0x83, 0xcd, 0xe7,
|
||||||
|
0x65, 0x36, 0xfe, 0x76, 0xb3, 0x0b, 0xb7, 0x85, 0xf8, 0x15, 0x52, 0x06,
|
||||||
|
0x55, 0x81, 0x6a, 0xbe, 0xf2, 0xd2, 0x6a, 0x5a, 0xe7, 0x5a, 0x17, 0xac,
|
||||||
|
0x26, 0x37, 0x99, 0xe3, 0x28, 0xe6, 0x39, 0xda, 0x9a, 0x9b, 0xf1, 0xda,
|
||||||
|
0x9c, 0xea, 0xd5, 0x52, 0x60, 0x57, 0xb0, 0x6e, 0x12, 0x75, 0xbd, 0xd3,
|
||||||
|
0x80, 0xfa, 0x59, 0xc0, 0x04, 0x42, 0x77, 0xb8, 0x8a, 0x6d, 0xb9, 0x2a,
|
||||||
|
0x1e, 0xc9, 0xa9, 0x73, 0xdd, 0x0d, 0x34, 0x84, 0x3d, 0x2e, 0xf6, 0xf6,
|
||||||
|
0xdc, 0x6a, 0x07, 0xe9, 0xa3, 0xe0, 0x65, 0xec, 0xc8, 0x60, 0x67, 0x58,
|
||||||
|
0x74, 0xc1, 0x1a, 0xb3, 0x5a, 0x02, 0xef, 0x99, 0x83, 0x17, 0x19, 0xc1,
|
||||||
|
0x77, 0x65, 0xb0, 0xbb, 0x87, 0xdb, 0x0e, 0xdb, 0x91, 0xec, 0xb0, 0x2d,
|
||||||
|
0x04, 0x9a, 0xec, 0x4d, 0x3b, 0xeb, 0xeb, 0x9e, 0x85, 0x74, 0x04, 0x3d,
|
||||||
|
0x13, 0x68, 0xbe, 0x73, 0x8d, 0x76, 0xff, 0x03, 0xe6, 0x61, 0x17, 0xb1,
|
||||||
|
0x91, 0x79, 0xd9, 0x5a, 0x7b, 0x56, 0xd8, 0x05, 0x3e, 0x0b, 0x6d, 0xc2,
|
||||||
|
0x5d, 0xe1, 0x55, 0xfa, 0x4d, 0x5c, 0x68, 0x9f, 0xa6, 0x7f, 0x63, 0xb7,
|
||||||
|
0x7d, 0x8e, 0x82, 0x28, 0xc5, 0x7a, 0x3a, 0x31, 0x35, 0x28, 0x43, 0x03,
|
||||||
|
0x02, 0x68, 0xc2, 0x72, 0x3a, 0x55, 0x15, 0xe8, 0xc7, 0x0a, 0x9c, 0xc6,
|
||||||
|
0x4a, 0x3c, 0x8d, 0x55, 0xb8, 0x8a, 0xd5, 0x78, 0x11, 0x6b, 0xe8, 0x0d,
|
||||||
|
0x5c, 0x89, 0xbb, 0x58, 0x87, 0xbf, 0xe2, 0x21, 0xfc, 0x83, 0x8e, 0xef,
|
||||||
|
0x3f, 0x49, 0xf2, 0x5f, 0xa4, 0xf1, 0x01, 0x36, 0x33, 0x0f, 0xb6, 0x30,
|
||||||
|
0x2f, 0x6a, 0xd8, 0x72, 0xd4, 0xb2, 0xb5, 0xa8, 0x63, 0x0a, 0xb6, 0xb1,
|
||||||
|
0x2d, 0x68, 0x60, 0x07, 0xb0, 0x83, 0x75, 0x60, 0x27, 0x8b, 0xa0, 0x91,
|
||||||
|
0xe9, 0xd8, 0xc5, 0xe2, 0xd8, 0xcd, 0x2e, 0xd0, 0xf3, 0xef, 0x22, 0xf6,
|
||||||
|
0xb0, 0x4b, 0x68, 0x66, 0x4f, 0x61, 0x2f, 0x7b, 0x0e, 0xfb, 0xd8, 0x4b,
|
||||||
|
0xe4, 0x69, 0x06, 0x2d, 0xec, 0x6f, 0x68, 0x63, 0x7f, 0x47, 0x3b, 0x7b,
|
||||||
|
0x13, 0x87, 0xd9, 0x5b, 0xe8, 0x10, 0x04, 0x44, 0x84, 0x35, 0xe8, 0x14,
|
||||||
|
0xd6, 0xe3, 0x98, 0xd0, 0x8c, 0x13, 0x42, 0x1b, 0x1e, 0x15, 0x1e, 0x47,
|
||||||
|
0x8f, 0x10, 0x43, 0xaf, 0xf0, 0x24, 0xfa, 0x84, 0x4b, 0xe8, 0x17, 0x5e,
|
||||||
|
0xc0, 0x13, 0xc2, 0x4d, 0xa8, 0xc2, 0x5d, 0xe8, 0x14, 0x61, 0x54, 0x98,
|
||||||
|
0x42, 0x4c, 0xf8, 0x33, 0x34, 0xe1, 0xbf, 0x18, 0xb1, 0xbb, 0xc5, 0xf3,
|
||||||
|
0x28, 0x23, 0xbf, 0x52, 0x38, 0x8c, 0x0e, 0x94, 0x92, 0x57, 0x4f, 0xe0,
|
||||||
|
0x08, 0xad, 0xfc, 0x64, 0x7f, 0x13, 0xde, 0x8b, 0x08, 0x65, 0xe0, 0x01,
|
||||||
|
0xae, 0xe3, 0x28, 0x3a, 0x51, 0x42, 0x31, 0xdd, 0xc3, 0x31, 0x1c, 0x87,
|
||||||
|
0x44, 0x91, 0xbd, 0x81, 0xf7, 0xd1, 0xca, 0x8b, 0x5b, 0x8c, 0x2c, 0x13,
|
||||||
|
0xd7, 0x83, 0xbb, 0xac, 0x11, 0x5d, 0xe8, 0x86, 0x48, 0xf6, 0xfb, 0xf1,
|
||||||
|
0x28, 0x4e, 0xc2, 0x43, 0x1e, 0x34, 0xa2, 0x07, 0xef, 0x27, 0xda, 0x14,
|
||||||
|
0xb5, 0x2e, 0xae, 0xcf, 0xc3, 0xfb, 0x0f, 0x7a, 0xc9, 0x06, 0xb0, 0x5e,
|
||||||
|
0xf8, 0x0b, 0x1e, 0x43, 0x1f, 0x75, 0xa7, 0x1a, 0xe1, 0x75, 0x7c, 0x80,
|
||||||
|
0x68, 0x02, 0x1a, 0xc8, 0xcb, 0x7e, 0x5a, 0x15, 0xa0, 0x89, 0x36, 0xc6,
|
||||||
|
0xe3, 0xb4, 0x2a, 0x44, 0xab, 0x70, 0x9d, 0xfc, 0xea, 0xa0, 0x9e, 0xf6,
|
||||||
|
0x41, 0xa7, 0xbf, 0x65, 0x2d, 0xa8, 0xa4, 0x6d, 0x80, 0x28, 0x3d, 0xf0,
|
||||||
|
0xbf, 0x8d, 0xff, 0xa0, 0x44, 0x44, 0x54, 0x44, 0xcc, 0x1e, 0x67, 0xfe,
|
||||||
|
0xe8, 0xc7, 0xe4, 0x20, 0x63, 0xf6, 0x00, 0xdc, 0xc7, 0x2a, 0xa2, 0xdc,
|
||||||
|
0xc7, 0x0a, 0x62, 0xdd, 0xc7, 0x61, 0x1a, 0xef, 0xa1, 0xf2, 0xa0, 0x88,
|
||||||
|
0xa1, 0xb7, 0xb0, 0xf9, 0x7f, 0x28, 0xba, 0x87, 0xcd, 0xf7, 0x10, 0x14,
|
||||||
|
0xc4, 0xf0, 0x9b, 0xb8, 0x40, 0xc4, 0x6d, 0xe4, 0xd8, 0xb0, 0xdd, 0x62,
|
||||||
|
0xf5, 0xff, 0x03, 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08,
|
||||||
|
0x00, 0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f,
|
||||||
|
0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f,
|
||||||
|
0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61,
|
||||||
|
0x70, 0x69, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x73, 0x2f, 0x03, 0x00, 0x50,
|
||||||
|
0x4b, 0x03, 0x04, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72, 0x95,
|
||||||
|
0x5c, 0x50, 0xe7, 0x20, 0x38, 0xbd, 0x07, 0x00, 0x00, 0xd4, 0x10, 0x00,
|
||||||
|
0x00, 0x36, 0x00, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f,
|
||||||
|
0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63,
|
||||||
|
0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75,
|
||||||
|
0x74, 0x69, 0x6c, 0x73, 0x2f, 0x44, 0x65, 0x73, 0x65, 0x72, 0x69, 0x61,
|
||||||
|
0x6c, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x95,
|
||||||
|
0x57, 0xfb, 0x73, 0x13, 0xd7, 0x19, 0x3d, 0x6b, 0xad, 0xb4, 0xd2, 0x7a,
|
||||||
|
0xfd, 0x90, 0xb1, 0x48, 0x0c, 0x4e, 0x0c, 0x84, 0x52, 0x59, 0xc6, 0x11,
|
||||||
|
0x81, 0xc4, 0x26, 0x36, 0xb8, 0xc1, 0x36, 0x26, 0x76, 0x8c, 0x69, 0x71,
|
||||||
|
0x0a, 0xc5, 0x09, 0x34, 0x6b, 0x69, 0x6d, 0xaf, 0x2d, 0xaf, 0x14, 0x69,
|
||||||
|
0xe5, 0x00, 0x49, 0xc8, 0xa3, 0xf4, 0x41, 0xda, 0xb4, 0x49, 0x9a, 0xb4,
|
||||||
|
0x35, 0x7d, 0xd1, 0x94, 0xd4, 0x6d, 0x6a, 0x5e, 0x6d, 0x30, 0x6e, 0xd2,
|
||||||
|
0x49, 0x3b, 0x9d, 0x29, 0xd3, 0xe9, 0xf4, 0x87, 0xce, 0xf4, 0x4f, 0x68,
|
||||||
|
0xfe, 0x88, 0x4e, 0x87, 0x69, 0x7a, 0xee, 0x95, 0x90, 0x1f, 0x5a, 0xb7,
|
||||||
|
0x30, 0x78, 0xaf, 0xbe, 0xfb, 0xdd, 0xef, 0x9e, 0x7b, 0xee, 0xf7, 0xda,
|
||||||
|
0xe5, 0xaf, 0xff, 0xf9, 0xf0, 0x63, 0x00, 0x0f, 0xe3, 0x43, 0x1d, 0x51,
|
||||||
|
0x64, 0x34, 0x3c, 0xab, 0xa3, 0x02, 0x99, 0x10, 0x3e, 0x8b, 0xac, 0x18,
|
||||||
|
0x72, 0x3a, 0x07, 0x57, 0x47, 0x1d, 0xf2, 0x1a, 0x66, 0x74, 0x04, 0x91,
|
||||||
|
0x11, 0x93, 0xe7, 0x84, 0x74, 0x52, 0x0c, 0x79, 0x31, 0x9c, 0x12, 0x9b,
|
||||||
|
0x4e, 0x0b, 0xe9, 0x79, 0x21, 0xbd, 0x20, 0x86, 0x17, 0x35, 0x9c, 0x11,
|
||||||
|
0xa6, 0x2f, 0x09, 0x84, 0x97, 0x75, 0xbc, 0x82, 0x57, 0x35, 0x7c, 0x45,
|
||||||
|
0x68, 0xce, 0xea, 0xf8, 0x2a, 0xbe, 0x26, 0xa4, 0xaf, 0xeb, 0xf8, 0x06,
|
||||||
|
0xce, 0x09, 0xe9, 0x35, 0x1d, 0xdf, 0xc4, 0xb7, 0x84, 0xf4, 0xba, 0x18,
|
||||||
|
0xbe, 0x1d, 0xc4, 0x77, 0xc4, 0xef, 0x1b, 0x41, 0xbc, 0x19, 0xc4, 0x5b,
|
||||||
|
0x41, 0x7c, 0x57, 0x40, 0xbe, 0x2d, 0x86, 0x77, 0xc4, 0xf0, 0x3d, 0x0d,
|
||||||
|
0xdf, 0xd7, 0xf0, 0x03, 0x05, 0x6a, 0xd2, 0x74, 0x4d, 0x05, 0x75, 0x83,
|
||||||
|
0x93, 0xe6, 0x8c, 0x19, 0x4f, 0x99, 0xce, 0x78, 0x7c, 0xd8, 0xcd, 0xda,
|
||||||
|
0xce, 0x78, 0xa7, 0x02, 0xdf, 0xb4, 0x99, 0x51, 0xb0, 0xae, 0xb0, 0x94,
|
||||||
|
0x77, 0xed, 0x54, 0xfc, 0x71, 0x33, 0x37, 0x71, 0xd0, 0xcc, 0x70, 0x2d,
|
||||||
|
0x34, 0x6c, 0x8f, 0x3b, 0xa6, 0x9b, 0xcf, 0x5a, 0x0a, 0x1e, 0x2d, 0xb7,
|
||||||
|
0xd8, 0x53, 0x8e, 0x57, 0xae, 0xe9, 0x22, 0x4e, 0x60, 0x8f, 0xed, 0xd8,
|
||||||
|
0x6e, 0x97, 0x82, 0x48, 0xb4, 0xdc, 0xa0, 0xf9, 0x08, 0x09, 0xf6, 0xa4,
|
||||||
|
0x93, 0x3c, 0xa3, 0x66, 0xd0, 0x76, 0xac, 0xa1, 0xfc, 0xf4, 0xa8, 0x95,
|
||||||
|
0x7d, 0xd2, 0x1c, 0x4d, 0x59, 0x82, 0x72, 0x3a, 0x61, 0xa6, 0x8e, 0x98,
|
||||||
|
0x59, 0x5b, 0xcc, 0x8b, 0x4a, 0xd5, 0x9d, 0xb0, 0x73, 0x0a, 0x76, 0x0e,
|
||||||
|
0x26, 0x9c, 0xf8, 0x49, 0xdb, 0x4c, 0x9f, 0x9e, 0x48, 0xe7, 0x77, 0xee,
|
||||||
|
0xda, 0x15, 0x9f, 0xcc, 0xdb, 0x09, 0xcb, 0x1c, 0xb7, 0x1c, 0x37, 0x6e,
|
||||||
|
0x66, 0x6c, 0x49, 0x35, 0x17, 0xef, 0xb5, 0x72, 0x16, 0x77, 0xa7, 0xec,
|
||||||
|
0xd3, 0x56, 0x96, 0x54, 0xfc, 0x19, 0x33, 0x9b, 0x23, 0x86, 0x92, 0xe0,
|
||||||
|
0xd3, 0xc3, 0xb9, 0xed, 0x64, 0xf2, 0x2e, 0xdd, 0x30, 0x65, 0x9d, 0x52,
|
||||||
|
0xd0, 0x50, 0x46, 0xaf, 0x3b, 0x6f, 0xa7, 0x92, 0x85, 0x9d, 0x33, 0x66,
|
||||||
|
0x2a, 0xcf, 0x9d, 0x7a, 0xd6, 0x32, 0x93, 0x5c, 0x79, 0x42, 0x6c, 0x50,
|
||||||
|
0x46, 0x14, 0x68, 0x56, 0x2e, 0x61, 0x66, 0xac, 0x24, 0x4d, 0x12, 0x13,
|
||||||
|
0x44, 0x57, 0x50, 0xf1, 0x14, 0x91, 0xab, 0x86, 0x5d, 0x33, 0x31, 0x45,
|
||||||
|
0x37, 0x49, 0xd6, 0x32, 0x14, 0x67, 0x98, 0x1d, 0x1a, 0xf6, 0x29, 0xa8,
|
||||||
|
0x4c, 0x2e, 0xb1, 0x12, 0x5e, 0x69, 0xf6, 0x74, 0x7f, 0xa7, 0x97, 0xfe,
|
||||||
|
0x8e, 0x9d, 0xee, 0x9b, 0x30, 0x73, 0x6b, 0x78, 0x9c, 0xa4, 0x7d, 0xe3,
|
||||||
|
0x16, 0x6f, 0xbd, 0xdb, 0x63, 0xd5, 0xc3, 0xde, 0x33, 0x6f, 0x92, 0xd6,
|
||||||
|
0x18, 0x23, 0x4b, 0x98, 0x7e, 0x87, 0x48, 0xeb, 0x3d, 0x90, 0xfa, 0x9b,
|
||||||
|
0xfb, 0xe9, 0x21, 0x71, 0xc1, 0x65, 0x6b, 0xfb, 0x4f, 0x26, 0xac, 0x8c,
|
||||||
|
0x6b, 0xa7, 0x1d, 0x62, 0x28, 0xfd, 0x4c, 0x76, 0x3a, 0x90, 0x20, 0x83,
|
||||||
|
0x69, 0x67, 0xdc, 0x1b, 0x65, 0xa0, 0x79, 0x80, 0x96, 0x7c, 0x42, 0x34,
|
||||||
|
0xeb, 0x4d, 0xe7, 0x65, 0x0a, 0x78, 0x19, 0xf6, 0x36, 0xf7, 0xd2, 0x90,
|
||||||
|
0x4f, 0x90, 0x86, 0x7d, 0xa9, 0xb4, 0xb9, 0x06, 0xad, 0xbe, 0xe6, 0x3e,
|
||||||
|
0xda, 0xf1, 0xd1, 0x69, 0xd7, 0x9d, 0x4e, 0xa7, 0x2c, 0xd3, 0xf1, 0xb6,
|
||||||
|
0x1c, 0x11, 0x9e, 0x52, 0x73, 0x32, 0x48, 0xbe, 0xa8, 0xb8, 0x8d, 0x66,
|
||||||
|
0xe7, 0xf6, 0x4f, 0x67, 0xdc, 0x53, 0x72, 0x3e, 0x22, 0x22, 0xce, 0xdd,
|
||||||
|
0x59, 0x39, 0x63, 0x1a, 0xfb, 0xcd, 0xdc, 0x41, 0x51, 0x4d, 0xe1, 0x15,
|
||||||
|
0x81, 0x2b, 0x04, 0xb3, 0x7d, 0xb5, 0xee, 0x8e, 0x03, 0x29, 0xdc, 0xd3,
|
||||||
|
0x2b, 0x0b, 0xb8, 0x3e, 0xea, 0x19, 0x8a, 0x8d, 0x87, 0xf3, 0x8e, 0x6b,
|
||||||
|
0x4f, 0x5b, 0xfd, 0xce, 0x8c, 0x9d, 0xb3, 0xe9, 0x9f, 0x7d, 0x8e, 0x93,
|
||||||
|
0x76, 0x4d, 0xe1, 0xe4, 0x9c, 0x28, 0xa1, 0x54, 0x7a, 0x7a, 0x34, 0x3d,
|
||||||
|
0x15, 0x3f, 0x60, 0x39, 0x56, 0xd6, 0x74, 0xad, 0x64, 0x67, 0x21, 0x6e,
|
||||||
|
0x92, 0xaa, 0x3e, 0x9c, 0xce, 0x67, 0x13, 0x56, 0x9f, 0x2d, 0xbc, 0x1a,
|
||||||
|
0x5e, 0x5e, 0x2c, 0x0f, 0x8a, 0x93, 0x0c, 0xc4, 0x21, 0x16, 0xca, 0xd2,
|
||||||
|
0xd0, 0x40, 0x0b, 0xb6, 0x1b, 0x68, 0x46, 0xcc, 0x40, 0x1b, 0x76, 0x18,
|
||||||
|
0x98, 0x05, 0x09, 0xde, 0xb3, 0x46, 0xf9, 0x18, 0x38, 0x8f, 0x1f, 0x1a,
|
||||||
|
0xf8, 0x11, 0x7e, 0x6c, 0xe0, 0x27, 0x98, 0x34, 0xf0, 0x53, 0x5c, 0x30,
|
||||||
|
0xf0, 0x33, 0xbc, 0x6b, 0xe0, 0xe7, 0xb8, 0x68, 0x60, 0x10, 0xef, 0x29,
|
||||||
|
0xa8, 0x5d, 0xbd, 0xd9, 0xc0, 0x2f, 0x30, 0x27, 0x16, 0x0f, 0x6a, 0xf8,
|
||||||
|
0xa5, 0x81, 0x5f, 0xe1, 0x7d, 0x36, 0x2a, 0x8f, 0x4c, 0x12, 0x76, 0xbf,
|
||||||
|
0xd6, 0x30, 0x6f, 0xe0, 0x12, 0x2e, 0x8b, 0xc9, 0x15, 0x0d, 0x57, 0x0d,
|
||||||
|
0x5c, 0xc3, 0x6f, 0xc4, 0xe4, 0xb7, 0x1a, 0x3e, 0x30, 0x70, 0x1d, 0x0b,
|
||||||
|
0x62, 0x72, 0xc3, 0xc0, 0x22, 0x26, 0x45, 0x0b, 0xc9, 0xe6, 0x2d, 0x03,
|
||||||
|
0xbf, 0xc3, 0x45, 0xa6, 0xc2, 0x43, 0x8c, 0xdc, 0x98, 0x99, 0x92, 0x6d,
|
||||||
|
0x81, 0x37, 0x79, 0x06, 0xbc, 0xf6, 0x28, 0x12, 0x06, 0x92, 0xe2, 0xee,
|
||||||
|
0x3b, 0xee, 0xb6, 0xcb, 0xac, 0xb8, 0xc9, 0xa1, 0xd1, 0x49, 0x2b, 0xc1,
|
||||||
|
0x44, 0x0c, 0xa4, 0x2c, 0x67, 0xdc, 0x9d, 0x60, 0xe9, 0xbb, 0xe9, 0x1e,
|
||||||
|
0x76, 0x89, 0x7d, 0xd9, 0xac, 0xc9, 0x2c, 0x52, 0xa3, 0xcd, 0xa2, 0x57,
|
||||||
|
0x04, 0xcc, 0x4c, 0xc6, 0x72, 0xd8, 0x41, 0x1a, 0xa3, 0x3d, 0xe5, 0x21,
|
||||||
|
0x5e, 0xea, 0x41, 0x41, 0x37, 0x5d, 0x50, 0x31, 0xe3, 0x64, 0xdb, 0x5a,
|
||||||
|
0x51, 0xc0, 0x85, 0xb3, 0x3a, 0xcb, 0x35, 0xcd, 0xe5, 0x2a, 0x96, 0x53,
|
||||||
|
0x8e, 0x55, 0x57, 0x24, 0xa5, 0x46, 0xfb, 0x45, 0xfe, 0x56, 0x26, 0xd2,
|
||||||
|
0x8e, 0x6b, 0xda, 0x4e, 0x4e, 0xf6, 0xb6, 0x88, 0x07, 0xb6, 0xc8, 0xf9,
|
||||||
|
0x6d, 0x5e, 0x7a, 0xaf, 0x13, 0x34, 0xd9, 0x31, 0x0f, 0x8d, 0x09, 0xa8,
|
||||||
|
0x7e, 0xcf, 0xcc, 0x0d, 0x2f, 0xe9, 0xd8, 0x45, 0xac, 0x71, 0xe1, 0xbc,
|
||||||
|
0xa0, 0xec, 0xd0, 0xb2, 0xa9, 0x78, 0x36, 0xaf, 0x7e, 0xa1, 0x1f, 0xf0,
|
||||||
|
0x84, 0xab, 0x5e, 0xd2, 0x15, 0xfa, 0x49, 0x48, 0x62, 0x15, 0x64, 0x4f,
|
||||||
|
0xb0, 0x01, 0xa1, 0xef, 0xf5, 0x04, 0x5b, 0x16, 0xc4, 0xdb, 0x5d, 0xa7,
|
||||||
|
0x52, 0xc2, 0xdd, 0x9e, 0x79, 0x02, 0xf6, 0x0a, 0x7d, 0x9f, 0x27, 0x60,
|
||||||
|
0xcd, 0x92, 0xae, 0xd8, 0x9d, 0x74, 0x89, 0x57, 0x9c, 0x78, 0xc2, 0xf5,
|
||||||
|
0x09, 0xfd, 0x88, 0x27, 0x1c, 0x13, 0x69, 0x30, 0xfd, 0x9c, 0x95, 0xed,
|
||||||
|
0x31, 0x45, 0xe2, 0x06, 0xac, 0x67, 0xf3, 0x4c, 0x61, 0x6c, 0xe6, 0x77,
|
||||||
|
0x44, 0x94, 0xdf, 0x2a, 0x15, 0xfc, 0x2e, 0x60, 0x71, 0x52, 0xaa, 0x13,
|
||||||
|
0x95, 0x0a, 0x05, 0xad, 0x52, 0xfb, 0x20, 0x6a, 0x29, 0xc7, 0xb1, 0x83,
|
||||||
|
0xe3, 0x43, 0xd4, 0x9c, 0x80, 0x8f, 0x5a, 0x60, 0x43, 0xec, 0x06, 0x94,
|
||||||
|
0xd8, 0x47, 0xa8, 0x38, 0x76, 0x03, 0xbe, 0xeb, 0x50, 0x63, 0x2d, 0xd7,
|
||||||
|
0xe1, 0x8f, 0xb5, 0xdc, 0x40, 0xe0, 0x9a, 0xdc, 0xb7, 0x93, 0xe3, 0x7a,
|
||||||
|
0xf8, 0x39, 0x56, 0x43, 0x85, 0x81, 0x1a, 0xfe, 0xab, 0x27, 0x56, 0x03,
|
||||||
|
0xc2, 0xd8, 0x25, 0xd7, 0x24, 0x0a, 0xbf, 0x91, 0x1e, 0x01, 0xa4, 0x24,
|
||||||
|
0x4e, 0xe7, 0xab, 0x50, 0x74, 0x87, 0xc2, 0x59, 0x15, 0x61, 0x9e, 0x55,
|
||||||
|
0xc9, 0xb5, 0x4f, 0x5a, 0x6e, 0x42, 0x6f, 0x59, 0x80, 0x76, 0x1e, 0xea,
|
||||||
|
0xb5, 0x8f, 0x10, 0xe4, 0x91, 0xa1, 0x83, 0xc5, 0xdf, 0x21, 0xb5, 0x4d,
|
||||||
|
0xf5, 0xb5, 0xf9, 0xb9, 0xaa, 0x77, 0x04, 0x1a, 0x02, 0x1d, 0x5a, 0x83,
|
||||||
|
0xf6, 0x71, 0x5b, 0xd0, 0xd7, 0x16, 0x8a, 0x84, 0x22, 0xc1, 0x77, 0xf1,
|
||||||
|
0x76, 0x83, 0x16, 0x09, 0x3d, 0xdc, 0xa6, 0x47, 0xfc, 0xb3, 0x68, 0x8a,
|
||||||
|
0xa8, 0xb3, 0xa8, 0xda, 0x1e, 0xd1, 0x17, 0x50, 0x79, 0x74, 0x0e, 0x7a,
|
||||||
|
0x6b, 0x41, 0xe2, 0xee, 0x39, 0x8c, 0x45, 0xf4, 0xda, 0xa7, 0x2f, 0x20,
|
||||||
|
0xa4, 0x8a, 0xc9, 0x31, 0x61, 0x58, 0x4b, 0xcd, 0x5e, 0x6a, 0x7c, 0x6d,
|
||||||
|
0xea, 0x1c, 0x0e, 0x70, 0xd2, 0x79, 0x01, 0xb1, 0xed, 0x0b, 0x30, 0x66,
|
||||||
|
0xb1, 0x2e, 0xf6, 0x01, 0x54, 0x8a, 0x55, 0xad, 0x7c, 0x16, 0x50, 0x7d,
|
||||||
|
0x74, 0xbb, 0x6f, 0x01, 0x35, 0xad, 0x62, 0x50, 0x85, 0x75, 0x83, 0xf7,
|
||||||
|
0x41, 0x67, 0x43, 0xca, 0xdc, 0xa7, 0x53, 0x6b, 0x40, 0x08, 0xaf, 0xf9,
|
||||||
|
0xa4, 0xd7, 0x5e, 0xc3, 0x16, 0x8e, 0xf5, 0xbc, 0x79, 0x84, 0x7e, 0xbb,
|
||||||
|
0x97, 0x52, 0x03, 0x1a, 0xb1, 0x11, 0x4d, 0x1c, 0xb7, 0xe0, 0x7e, 0x46,
|
||||||
|
0x6b, 0x13, 0xba, 0x29, 0x1d, 0xc0, 0x03, 0x6c, 0x75, 0x5b, 0x71, 0x04,
|
||||||
|
0xdb, 0x70, 0x9c, 0xda, 0x67, 0xe8, 0xc1, 0x04, 0x23, 0x37, 0xc9, 0xc8,
|
||||||
|
0x4d, 0x33, 0x6e, 0x19, 0xfa, 0xf0, 0x05, 0x22, 0xbe, 0x44, 0x7f, 0xbf,
|
||||||
|
0x4a, 0xaf, 0x9e, 0x43, 0x3b, 0xde, 0xc0, 0x6e, 0x5c, 0x40, 0x27, 0xde,
|
||||||
|
0xc3, 0x1e, 0xbc, 0x8f, 0xbd, 0xec, 0x7f, 0x5d, 0xb8, 0x8a, 0x7d, 0xec,
|
||||||
|
0x76, 0xdd, 0xf8, 0x03, 0x7a, 0x71, 0x93, 0xd8, 0x7f, 0xc3, 0xe3, 0xf8,
|
||||||
|
0x07, 0xfa, 0xf1, 0x4f, 0x3c, 0x21, 0x23, 0x75, 0x98, 0x1f, 0xa0, 0xdd,
|
||||||
|
0x38, 0xcb, 0xdd, 0xbb, 0xa1, 0x8b, 0x68, 0x94, 0x62, 0xf6, 0x09, 0x1e,
|
||||||
|
0x95, 0x31, 0xab, 0xc7, 0xdf, 0xd1, 0x41, 0xd4, 0x0a, 0x32, 0xfc, 0x0b,
|
||||||
|
0x91, 0x3b, 0x79, 0x93, 0x26, 0xfc, 0x99, 0xf8, 0x5d, 0x8c, 0xfd, 0x16,
|
||||||
|
0xfc, 0x09, 0x9f, 0xa3, 0xe4, 0x27, 0xc7, 0xdf, 0xe3, 0x31, 0x9e, 0x16,
|
||||||
|
0x20, 0x1e, 0x88, 0x5d, 0x5d, 0x89, 0x4f, 0x99, 0x7e, 0xba, 0x86, 0x1e,
|
||||||
|
0x0d, 0xbd, 0x1a, 0xf6, 0xf3, 0x4f, 0x51, 0x34, 0xf4, 0xf1, 0x4f, 0x51,
|
||||||
|
0x80, 0x5b, 0xd8, 0xac, 0x04, 0xfc, 0x46, 0xf8, 0xbe, 0x9a, 0xea, 0x7f,
|
||||||
|
0x23, 0xf0, 0x2f, 0xf8, 0xd7, 0xf3, 0xb0, 0x03, 0xa4, 0x57, 0x21, 0x53,
|
||||||
|
0x31, 0xce, 0x19, 0xad, 0x98, 0x76, 0xf4, 0xe5, 0xd5, 0x52, 0xd6, 0x05,
|
||||||
|
0xa4, 0x72, 0x48, 0x72, 0x37, 0x0a, 0x06, 0x45, 0xc6, 0x85, 0x8c, 0xee,
|
||||||
|
0xa7, 0x6e, 0x80, 0x77, 0x2b, 0xe4, 0xf3, 0x5e, 0x6a, 0x44, 0x26, 0x86,
|
||||||
|
0x04, 0x08, 0xb3, 0xa8, 0x76, 0x7e, 0x15, 0xd0, 0xe1, 0x65, 0xe9, 0x1a,
|
||||||
|
0x2a, 0x5d, 0x3d, 0xc4, 0x0b, 0xc7, 0xe4, 0xf9, 0x7c, 0xdb, 0x14, 0xa1,
|
||||||
|
0x5c, 0xda, 0xa8, 0xc2, 0xb6, 0x08, 0x15, 0xfe, 0x23, 0xea, 0x86, 0x5a,
|
||||||
|
0x6f, 0x42, 0x6b, 0x9d, 0x63, 0xac, 0xaf, 0x96, 0x02, 0xac, 0x4b, 0xac,
|
||||||
|
0x23, 0x24, 0x77, 0x54, 0x62, 0xc7, 0x0a, 0xbb, 0x4a, 0xd8, 0xeb, 0x8b,
|
||||||
|
0xd8, 0x42, 0x1a, 0xa2, 0x54, 0x41, 0x4b, 0x9d, 0x6e, 0x8d, 0x71, 0x7f,
|
||||||
|
0xb7, 0xbc, 0x54, 0xc5, 0x2d, 0xd4, 0xd3, 0x63, 0x8f, 0xf1, 0xa1, 0xdd,
|
||||||
|
0x21, 0x7c, 0xbe, 0xc4, 0xc0, 0x27, 0xb1, 0x6a, 0x63, 0x2d, 0x8d, 0x8b,
|
||||||
|
0x58, 0xb7, 0x80, 0xfa, 0x45, 0x44, 0xe6, 0x87, 0x1a, 0xe7, 0x25, 0x9a,
|
||||||
|
0x81, 0x2a, 0x22, 0x16, 0x38, 0x54, 0xf3, 0x17, 0x78, 0x9a, 0x9a, 0xe3,
|
||||||
|
0x94, 0x4f, 0x94, 0x78, 0x54, 0xf3, 0xb4, 0x2f, 0xf0, 0xce, 0x62, 0xb5,
|
||||||
|
0xb6, 0xc4, 0xa8, 0xb6, 0xc4, 0xa8, 0x96, 0x8c, 0x86, 0x69, 0xd3, 0x5d,
|
||||||
|
0xf0, 0x0f, 0x5f, 0xb4, 0x4f, 0x52, 0xff, 0x45, 0xde, 0xa6, 0xc0, 0x20,
|
||||||
|
0x4f, 0x0c, 0x51, 0xf4, 0xe1, 0x58, 0xcb, 0xa6, 0x45, 0xdc, 0x23, 0x19,
|
||||||
|
0xdc, 0x7b, 0xa9, 0x43, 0xdd, 0x74, 0x69, 0x0d, 0x0a, 0x49, 0x6a, 0x2c,
|
||||||
|
0xf6, 0x86, 0xb1, 0x12, 0x85, 0x9a, 0x22, 0x05, 0x71, 0x91, 0x70, 0x89,
|
||||||
|
0x42, 0xb8, 0x44, 0x21, 0x4c, 0x0a, 0x47, 0xcb, 0x28, 0x7c, 0x09, 0xc7,
|
||||||
|
0xca, 0x29, 0x44, 0x17, 0xd1, 0x20, 0x29, 0x6c, 0xb8, 0xd2, 0xa1, 0x46,
|
||||||
|
0xaf, 0xac, 0x41, 0x21, 0x45, 0xcd, 0x34, 0x8f, 0x75, 0xee, 0x8a, 0xc2,
|
||||||
|
0x48, 0x19, 0x85, 0xa7, 0xe8, 0xcf, 0xb2, 0x38, 0x6c, 0x5d, 0xc4, 0x46,
|
||||||
|
0x49, 0xa1, 0xf1, 0xf2, 0xd0, 0xd6, 0xcb, 0x6b, 0x30, 0x70, 0xa9, 0xc9,
|
||||||
|
0x53, 0x9e, 0xb9, 0xab, 0x38, 0x1c, 0x2f, 0x63, 0x70, 0x02, 0x5f, 0x2e,
|
||||||
|
0x32, 0xb8, 0x58, 0x64, 0xd0, 0x2e, 0x33, 0xe1, 0x3e, 0x32, 0x58, 0xc0,
|
||||||
|
0xfd, 0x43, 0x75, 0x4d, 0x6c, 0x37, 0x9b, 0xce, 0xc3, 0xa8, 0xdb, 0x2c,
|
||||||
|
0x84, 0x59, 0xf8, 0xd5, 0xf9, 0xba, 0x2d, 0xb7, 0x75, 0x0f, 0x14, 0x75,
|
||||||
|
0xbe, 0xf9, 0xc6, 0xf9, 0x52, 0xb2, 0x6e, 0x20, 0x3c, 0xf0, 0x3c, 0x09,
|
||||||
|
0xbe, 0xc8, 0x9a, 0x3e, 0xc3, 0xf7, 0xc5, 0x2b, 0xb2, 0x9f, 0x3c, 0xc2,
|
||||||
|
0xff, 0x6d, 0x2e, 0x25, 0x6f, 0x7b, 0x89, 0x62, 0x7b, 0x89, 0x62, 0x3b,
|
||||||
|
0x29, 0x76, 0x91, 0x62, 0x15, 0xe7, 0x4b, 0xc9, 0x5b, 0x09, 0xf5, 0x16,
|
||||||
|
0x9a, 0x98, 0xb8, 0x4a, 0x58, 0x54, 0x0f, 0xbf, 0x9d, 0x8a, 0x8c, 0x77,
|
||||||
|
0x16, 0xab, 0x39, 0x28, 0xaa, 0x67, 0x01, 0x5b, 0x57, 0xd7, 0xe1, 0xb9,
|
||||||
|
0x65, 0x05, 0x1d, 0x2c, 0x1e, 0xa7, 0x88, 0xcf, 0x2e, 0xef, 0xfd, 0x9f,
|
||||||
|
0x59, 0xbd, 0xff, 0x75, 0xcf, 0xfd, 0xfc, 0x62, 0x2b, 0xee, 0x6f, 0x5b,
|
||||||
|
0xb9, 0x7f, 0xdb, 0xd2, 0x6b, 0xac, 0x50, 0xaf, 0x6f, 0x42, 0xc3, 0x5b,
|
||||||
|
0x9e, 0x18, 0x63, 0x18, 0xbf, 0x93, 0x8e, 0xf4, 0xce, 0x9a, 0x1d, 0x69,
|
||||||
|
0x82, 0x3a, 0x9b, 0x7d, 0xbb, 0x1c, 0xc4, 0xbf, 0x1a, 0xa4, 0xd2, 0x03,
|
||||||
|
0x64, 0xaa, 0xb8, 0x9a, 0x92, 0x6c, 0xa6, 0xd9, 0x1f, 0x7d, 0xff, 0x9f,
|
||||||
|
0x8d, 0xf1, 0x3f, 0xfa, 0xe3, 0x4a, 0x40, 0x47, 0x6a, 0xd3, 0xff, 0x05,
|
||||||
|
0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00,
|
||||||
|
0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x10, 0x00, 0xed, 0x41, 0x00, 0x00, 0x00, 0x00, 0x4d, 0x45,
|
||||||
|
0x54, 0x41, 0x2d, 0x49, 0x4e, 0x46, 0x2f, 0x50, 0x4b, 0x01, 0x02, 0x14,
|
||||||
|
0x03, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xd9, 0x72, 0x95, 0x5c, 0xcf,
|
||||||
|
0x58, 0x6d, 0xcb, 0x2d, 0x00, 0x00, 0x00, 0x37, 0x00, 0x00, 0x00, 0x14,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa4,
|
||||||
|
0x81, 0x29, 0x00, 0x00, 0x00, 0x4d, 0x45, 0x54, 0x41, 0x2d, 0x49, 0x4e,
|
||||||
|
0x46, 0x2f, 0x4d, 0x41, 0x4e, 0x49, 0x46, 0x45, 0x53, 0x54, 0x2e, 0x4d,
|
||||||
|
0x46, 0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00, 0x08, 0x08,
|
||||||
|
0x00, 0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x10, 0x00, 0xed, 0x41, 0x88, 0x00, 0x00, 0x00, 0x63,
|
||||||
|
0x6e, 0x2f, 0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00, 0x08,
|
||||||
|
0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0xed, 0x41, 0xab, 0x00, 0x00, 0x00,
|
||||||
|
0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32,
|
||||||
|
0x33, 0x33, 0x2f, 0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00,
|
||||||
|
0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0xed, 0x41, 0xda, 0x00, 0x00,
|
||||||
|
0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75,
|
||||||
|
0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65,
|
||||||
|
0x6e, 0x74, 0x2f, 0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00,
|
||||||
|
0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0xed, 0x41, 0x14, 0x01, 0x00,
|
||||||
|
0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75,
|
||||||
|
0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65,
|
||||||
|
0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x50, 0x4b, 0x01, 0x02, 0x14,
|
||||||
|
0x03, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x28,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0xed,
|
||||||
|
0x41, 0x52, 0x01, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f,
|
||||||
|
0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63,
|
||||||
|
0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62,
|
||||||
|
0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x50, 0x4b, 0x01,
|
||||||
|
0x02, 0x14, 0x03, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72, 0x95,
|
||||||
|
0x5c, 0x89, 0xbd, 0x76, 0xf7, 0x74, 0x01, 0x00, 0x00, 0xf9, 0x02, 0x00,
|
||||||
|
0x00, 0x3d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0xa4, 0x81, 0x9a, 0x01, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69,
|
||||||
|
0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75,
|
||||||
|
0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69,
|
||||||
|
0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x42,
|
||||||
|
0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x42, 0x72, 0x69, 0x64,
|
||||||
|
0x67, 0x65, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x4b, 0x01, 0x02,
|
||||||
|
0x14, 0x03, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c,
|
||||||
|
0xfd, 0xd1, 0xa0, 0x53, 0xac, 0x00, 0x00, 0x00, 0xd2, 0x00, 0x00, 0x00,
|
||||||
|
0x3a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0xa4, 0x81, 0x69, 0x03, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61,
|
||||||
|
0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69,
|
||||||
|
0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
||||||
|
0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x4c, 0x6f,
|
||||||
|
0x61, 0x64, 0x65, 0x72, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x63,
|
||||||
|
0x6c, 0x61, 0x73, 0x73, 0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00,
|
||||||
|
0x00, 0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x7b, 0x04, 0xd3, 0xdd,
|
||||||
|
0x5f, 0x04, 0x00, 0x00, 0xf7, 0x07, 0x00, 0x00, 0x31, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa4, 0x81, 0x6d, 0x04,
|
||||||
|
0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f,
|
||||||
|
0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67,
|
||||||
|
0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x49, 0x6e, 0x6a, 0x65,
|
||||||
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6c,
|
||||||
|
0x61, 0x73, 0x73, 0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00,
|
||||||
|
0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x40, 0xc9, 0x71, 0xc0, 0x05,
|
||||||
|
0x02, 0x00, 0x00, 0xae, 0x04, 0x00, 0x00, 0x2e, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa4, 0x81, 0x1b, 0x09, 0x00,
|
||||||
|
0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75,
|
||||||
|
0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65,
|
||||||
|
0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x4a, 0x75, 0x69, 0x63, 0x65,
|
||||||
|
0x41, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x50,
|
||||||
|
0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd,
|
||||||
|
0x72, 0x95, 0x5c, 0x09, 0xad, 0xfd, 0x53, 0x35, 0x02, 0x00, 0x00, 0x34,
|
||||||
|
0x04, 0x00, 0x00, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0xa4, 0x81, 0x6c, 0x0b, 0x00, 0x00, 0x63, 0x6e, 0x2f,
|
||||||
|
0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f,
|
||||||
|
0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61,
|
||||||
|
0x70, 0x69, 0x2f, 0x4a, 0x75, 0x69, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e,
|
||||||
|
0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x24, 0x31,
|
||||||
|
0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x4b, 0x01, 0x02, 0x14, 0x03,
|
||||||
|
0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x8f, 0x63,
|
||||||
|
0xf6, 0x0e, 0x07, 0x04, 0x00, 0x00, 0x35, 0x08, 0x00, 0x00, 0x37, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa4, 0x81,
|
||||||
|
0xf8, 0x0d, 0x00, 0x00, 0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a,
|
||||||
|
0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65,
|
||||||
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x4a, 0x75,
|
||||||
|
0x69, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x6f, 0x6f, 0x74,
|
||||||
|
0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x50,
|
||||||
|
0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd,
|
||||||
|
0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x10, 0x00, 0xed, 0x41, 0x54, 0x12, 0x00, 0x00, 0x63, 0x6e, 0x2f,
|
||||||
|
0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f,
|
||||||
|
0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61,
|
||||||
|
0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x50,
|
||||||
|
0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00, 0xdd,
|
||||||
|
0x72, 0x95, 0x5c, 0x19, 0x77, 0xde, 0xdf, 0x52, 0x08, 0x00, 0x00, 0xcd,
|
||||||
|
0x11, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0xa4, 0x81, 0x9a, 0x12, 0x00, 0x00, 0x63, 0x6e, 0x2f,
|
||||||
|
0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33, 0x2f,
|
||||||
|
0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x61,
|
||||||
|
0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x4a,
|
||||||
|
0x61, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x63, 0x6c, 0x61,
|
||||||
|
0x73, 0x73, 0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00, 0x08,
|
||||||
|
0x08, 0x00, 0xdd, 0x72, 0x95, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0xed, 0x41, 0x3f, 0x1b, 0x00, 0x00,
|
||||||
|
0x63, 0x6e, 0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32,
|
||||||
|
0x33, 0x33, 0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e,
|
||||||
|
0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x73, 0x2f,
|
||||||
|
0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00, 0x00, 0x08, 0x08, 0x00,
|
||||||
|
0xdd, 0x72, 0x95, 0x5c, 0x50, 0xe7, 0x20, 0x38, 0xbd, 0x07, 0x00, 0x00,
|
||||||
|
0xd4, 0x10, 0x00, 0x00, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0xa4, 0x81, 0x83, 0x1b, 0x00, 0x00, 0x63, 0x6e,
|
||||||
|
0x2f, 0x78, 0x69, 0x61, 0x6f, 0x7a, 0x68, 0x6f, 0x75, 0x32, 0x33, 0x33,
|
||||||
|
0x2f, 0x6a, 0x75, 0x69, 0x63, 0x65, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f,
|
||||||
|
0x61, 0x70, 0x69, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x73, 0x2f, 0x44, 0x65,
|
||||||
|
0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x63,
|
||||||
|
0x6c, 0x61, 0x73, 0x73, 0x50, 0x4b, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x11, 0x00, 0x11, 0x00, 0x98, 0x05, 0x00, 0x00, 0x94, 0x23, 0x00, 0x00,
|
||||||
|
0x00, 0x00
|
||||||
|
};
|
||||||
|
|
||||||
|
static const std::size_t juiceagent_api_bytes_len = 10562;
|
||||||
|
static const char* juiceagent_api_bytes_name = "JuiceAgent-API-1.4.1+build.1.jar";
|
||||||
|
static const char* juiceagent_api_bytes_mime = "application/java-archive";
|
||||||
|
static const char* juiceagent_api_bytes_sha256 = "089954f82770dbb59e36f6a168d50d3e9493051ca11fea7e9f0fc81d863df6b0";
|
||||||
|
|
||||||
|
} // namespace JuiceAgent::Resource
|
||||||
@@ -2,13 +2,8 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
struct InjectionInfo {
|
struct LoaderConfig {
|
||||||
std::string JuiceAgentAPIJarPath;
|
std::string JuiceAgentNativeLibraryPath;
|
||||||
std::string JuiceAgentNativePath;
|
|
||||||
|
|
||||||
std::string EntryJarPath;
|
std::string RuntimeDir;
|
||||||
std::string EntryClass;
|
|
||||||
std::string EntryMethod;
|
|
||||||
|
|
||||||
std::string InjectionDir;
|
|
||||||
};
|
};
|
||||||
@@ -3,15 +3,16 @@
|
|||||||
#include <plog/Log.h>
|
#include <plog/Log.h>
|
||||||
#include <plog/Init.h>
|
#include <plog/Init.h>
|
||||||
#include <plog/Formatters/TxtFormatter.h>
|
#include <plog/Formatters/TxtFormatter.h>
|
||||||
#include <plog/Appenders/ConsoleAppender.h>
|
#include <plog/Appenders/ColorConsoleAppender.h>
|
||||||
#include <plog/Appenders/DebugOutputAppender.h>
|
#include <plog/Appenders/DebugOutputAppender.h>
|
||||||
|
#include <plog/Appenders/RollingFileAppender.h>
|
||||||
|
|
||||||
inline void InitLogger()
|
inline void InitLogger()
|
||||||
{
|
{
|
||||||
static plog::ConsoleAppender<plog::TxtFormatter> consoleAppender;
|
static plog::ColorConsoleAppender<plog::TxtFormatter> colorConsoleAppender;
|
||||||
static plog::DebugOutputAppender<plog::TxtFormatter> debugAppender;
|
static plog::DebugOutputAppender<plog::TxtFormatter> debugAppender;
|
||||||
|
|
||||||
plog::init(plog::debug, &consoleAppender).addAppender(&debugAppender);
|
plog::init(plog::debug, &colorConsoleAppender).addAppender(&debugAppender);
|
||||||
|
|
||||||
PLOG_INFO << "Logger initialized: Console + Debug Output";
|
PLOG_INFO << "Logger initialized: Console + Debug Output";
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,299 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <jni.h>
|
||||||
|
#include <jvmti.h>
|
||||||
|
#include <JuiceAgent/Logger.hpp>
|
||||||
|
#include <string>
|
||||||
|
#include <unordered_map>
|
||||||
|
#include <type_traits>
|
||||||
|
#include <cstdlib>
|
||||||
|
#include <fstream>
|
||||||
|
#include <filesystem>
|
||||||
|
#include <chrono>
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
|
// Check for JNI exceptions and clear them
|
||||||
|
inline bool check_and_clear_exception(JNIEnv* env, const char* context) {
|
||||||
|
if (env->ExceptionCheck()) {
|
||||||
|
PLOGE << "JNI Exception occurred at: " << context;
|
||||||
|
env->ExceptionDescribe();
|
||||||
|
env->ExceptionClear();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace JuiceAgent::Utils
|
||||||
|
{
|
||||||
|
inline bool call_java_impl(JNIEnv* env, const char* clazz, const char* method, const char* params) {
|
||||||
|
if (!env || !clazz || !method) {
|
||||||
|
PLOGE << "Invalid JNI arguments";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
constexpr const char* method_signature = "(Ljava/lang/String;)V";
|
||||||
|
|
||||||
|
PLOGD << "Calling Java method: " << clazz << "." << method << " " << method_signature;
|
||||||
|
|
||||||
|
jclass cls = env->FindClass(clazz);
|
||||||
|
if (!cls) {
|
||||||
|
check_and_clear_exception(env, "FindClass failed");
|
||||||
|
PLOGE << "Class not found: " << clazz;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
jmethodID mid = env->GetStaticMethodID(cls, method, method_signature);
|
||||||
|
if (!mid) {
|
||||||
|
check_and_clear_exception(env, "GetStaticMethodID failed");
|
||||||
|
PLOGE << "Method not found: " << method;
|
||||||
|
env->DeleteLocalRef(cls);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
jstring j_params = env->NewStringUTF(params ? params : "");
|
||||||
|
if (!j_params) {
|
||||||
|
PLOGE << "Failed to create jstring";
|
||||||
|
env->DeleteLocalRef(cls);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
env->CallStaticVoidMethod(cls, mid, j_params);
|
||||||
|
|
||||||
|
bool success = !env->ExceptionCheck();
|
||||||
|
|
||||||
|
check_and_clear_exception(env, "CallStaticVoidMethod failed");
|
||||||
|
|
||||||
|
env->DeleteLocalRef(j_params);
|
||||||
|
env->DeleteLocalRef(cls);
|
||||||
|
|
||||||
|
return success;
|
||||||
|
}
|
||||||
|
|
||||||
|
class Serializer {
|
||||||
|
private:
|
||||||
|
std::string s;
|
||||||
|
|
||||||
|
private:
|
||||||
|
static std::string escape(const std::string& input) {
|
||||||
|
std::string out;
|
||||||
|
out.reserve(input.size());
|
||||||
|
|
||||||
|
for (char c : input) {
|
||||||
|
if (c == '=' || c == ';' || c == '\\') {
|
||||||
|
out += '\\';
|
||||||
|
}
|
||||||
|
out += c;
|
||||||
|
}
|
||||||
|
|
||||||
|
return out;
|
||||||
|
}
|
||||||
|
|
||||||
|
public:
|
||||||
|
Serializer() = default;
|
||||||
|
|
||||||
|
Serializer& add_kv(const std::string& key, const std::string& value) {
|
||||||
|
s += escape(key);
|
||||||
|
s += '=';
|
||||||
|
s += escape(value);
|
||||||
|
s += ';';
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
Serializer& add_kv(const std::string& key, const char* value) {
|
||||||
|
return add_kv(key, std::string(value));
|
||||||
|
}
|
||||||
|
|
||||||
|
Serializer& add_kv(const std::string& key, int value) {
|
||||||
|
return add_kv(key, std::to_string(value));
|
||||||
|
}
|
||||||
|
|
||||||
|
Serializer& add_kv(const std::string& key, bool value) {
|
||||||
|
return add_kv(key, value ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
void clear() {
|
||||||
|
s.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool empty() const {
|
||||||
|
return s.empty();
|
||||||
|
}
|
||||||
|
|
||||||
|
const std::string& serialize() const {
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
class Deserializer {
|
||||||
|
private:
|
||||||
|
std::unordered_map<std::string, std::string> data;
|
||||||
|
|
||||||
|
private:
|
||||||
|
static std::string unescape(const std::string& input) {
|
||||||
|
std::string out;
|
||||||
|
out.reserve(input.size());
|
||||||
|
|
||||||
|
bool escaped = false;
|
||||||
|
|
||||||
|
for (char c : input) {
|
||||||
|
if (escaped) {
|
||||||
|
out += c;
|
||||||
|
escaped = false;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (c == '\\') {
|
||||||
|
escaped = true;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
out += c;
|
||||||
|
}
|
||||||
|
|
||||||
|
return out;
|
||||||
|
}
|
||||||
|
|
||||||
|
static bool to_bool(const std::string& v, bool def) {
|
||||||
|
if (v == "true" || v == "1") return true;
|
||||||
|
if (v == "false" || v == "0") return false;
|
||||||
|
return def;
|
||||||
|
}
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
static T convert(const std::string& v, T def) {
|
||||||
|
if constexpr (std::is_same_v<T, std::string>) {
|
||||||
|
return v;
|
||||||
|
}
|
||||||
|
else if constexpr (std::is_same_v<T, bool>) {
|
||||||
|
return to_bool(v, def);
|
||||||
|
}
|
||||||
|
else if constexpr (std::is_integral_v<T>) {
|
||||||
|
try {
|
||||||
|
long long n = std::stoll(v);
|
||||||
|
return static_cast<T>(n);
|
||||||
|
} catch (...) {
|
||||||
|
return def;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if constexpr (std::is_floating_point_v<T>) {
|
||||||
|
try {
|
||||||
|
long double n = std::stold(v);
|
||||||
|
return static_cast<T>(n);
|
||||||
|
} catch (...) {
|
||||||
|
return def;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return def;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public:
|
||||||
|
Deserializer() = default;
|
||||||
|
|
||||||
|
explicit Deserializer(const std::string& input) {
|
||||||
|
parse(input);
|
||||||
|
}
|
||||||
|
|
||||||
|
void parse(const std::string& input) {
|
||||||
|
data.clear();
|
||||||
|
|
||||||
|
std::string key;
|
||||||
|
std::string value;
|
||||||
|
|
||||||
|
bool reading_key = true;
|
||||||
|
bool escaped = false;
|
||||||
|
|
||||||
|
for (char c : input) {
|
||||||
|
if (escaped) {
|
||||||
|
(reading_key ? key : value) += c;
|
||||||
|
escaped = false;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (c == '\\') {
|
||||||
|
escaped = true;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (reading_key && c == '=') {
|
||||||
|
reading_key = false;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (c == ';') {
|
||||||
|
if (!key.empty()) {
|
||||||
|
data[unescape(key)] = unescape(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
key.clear();
|
||||||
|
value.clear();
|
||||||
|
reading_key = true;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
(reading_key ? key : value) += c;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!key.empty()) {
|
||||||
|
data[unescape(key)] = unescape(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool has(const std::string& key) const {
|
||||||
|
return data.find(key) != data.end();
|
||||||
|
}
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
T get(const std::string& key, T def) const {
|
||||||
|
auto it = data.find(key);
|
||||||
|
if (it == data.end()) {
|
||||||
|
return def;
|
||||||
|
}
|
||||||
|
|
||||||
|
return convert<T>(it->second, def);
|
||||||
|
}
|
||||||
|
|
||||||
|
void clear() {
|
||||||
|
data.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool empty() const {
|
||||||
|
return data.empty();
|
||||||
|
}
|
||||||
|
|
||||||
|
std::size_t size() const {
|
||||||
|
return data.size();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
class File {
|
||||||
|
public:
|
||||||
|
static inline std::string write_to_tempfile(
|
||||||
|
const unsigned char* data,
|
||||||
|
std::size_t size,
|
||||||
|
const std::string& name
|
||||||
|
) {
|
||||||
|
#ifdef _WIN32
|
||||||
|
const char* env = std::getenv("TEMP");
|
||||||
|
std::filesystem::path dir = env ? env : ".";
|
||||||
|
#else
|
||||||
|
const char* env = std::getenv("TMPDIR");
|
||||||
|
std::filesystem::path dir = env ? env : "/tmp";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
auto path = dir / name;
|
||||||
|
|
||||||
|
std::ofstream out(path, std::ios::binary | std::ios::trunc);
|
||||||
|
if (!out) {
|
||||||
|
PLOGE << "Failed to create temp file " << path;
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
out.write(reinterpret_cast<const char*>(data), size);
|
||||||
|
return path.string();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
} // namespace JuiceAgent::Utils
|
||||||
|
|
||||||
File diff suppressed because it is too large.
Load diff
+18162
File diff suppressed because it is too large.
Load diff
@@ -1,23 +0,0 @@
|
|||||||
Copyright (c) 2014, MAYAH
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
||||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2017 Toru Niina
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
#include <jni_impl.hpp>
|
||||||
|
#include <event/event_type.hpp>
|
||||||
|
|
||||||
|
void JNICALL MethodEntry(jvmtiEnv *jvmti_env,
|
||||||
|
JNIEnv* jni_env,
|
||||||
|
jthread thread,
|
||||||
|
jmethodID method) {
|
||||||
|
auto& agent = JuiceAgent::Agent::instance();
|
||||||
|
agent.get_eventbus().post(EventMethodEntry{
|
||||||
|
.jvmti_env = jvmti_env,
|
||||||
|
.jni_env = jni_env,
|
||||||
|
.thread = thread,
|
||||||
|
.method = method
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
#include <jni_impl.hpp>
|
||||||
|
#include <event/event_type.hpp>
|
||||||
|
|
||||||
|
void JNICALL MethodExit(jvmtiEnv *jvmti_env,
|
||||||
|
JNIEnv* jni_env,
|
||||||
|
jthread thread,
|
||||||
|
jmethodID method,
|
||||||
|
jboolean was_popped_by_exception,
|
||||||
|
jvalue return_value) {
|
||||||
|
auto& agent = JuiceAgent::Agent::instance();
|
||||||
|
agent.get_eventbus().post(EventMethodExit{
|
||||||
|
.jvmti_env = jvmti_env,
|
||||||
|
.jni_env = jni_env,
|
||||||
|
.thread = thread,
|
||||||
|
.method = method,
|
||||||
|
.was_popped_by_exception = was_popped_by_exception,
|
||||||
|
.return_value = return_value
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -6,3 +6,5 @@ std::mutex classDataMutex;
|
|||||||
|
|
||||||
std::unordered_map<std::string, std::vector<unsigned char>> pendingRetransform;
|
std::unordered_map<std::string, std::vector<unsigned char>> pendingRetransform;
|
||||||
std::mutex pendingRetransformMutex;
|
std::mutex pendingRetransformMutex;
|
||||||
|
|
||||||
|
std::unordered_set<std::string> remapperWhiteList;
|
||||||
@@ -0,0 +1,119 @@
|
|||||||
|
#include <jni.h>
|
||||||
|
#include <jvmti.h>
|
||||||
|
#include <filesystem>
|
||||||
|
#include <string>
|
||||||
|
#include <jni_impl.hpp>
|
||||||
|
#include <JuiceAgent/JuiceAgent-API-1.4.1+build.1.hpp>
|
||||||
|
|
||||||
|
// Global state
|
||||||
|
static JavaVM* g_vm = nullptr;
|
||||||
|
static jvmtiEnv* g_jvmti = nullptr;
|
||||||
|
|
||||||
|
// Forward declaration
|
||||||
|
void JNICALL OnVMInit(jvmtiEnv* jvmti, JNIEnv* env, jthread thread);
|
||||||
|
|
||||||
|
// Utility: check JVMTI error
|
||||||
|
static bool CheckJvmti(jvmtiError err, const char* action) {
|
||||||
|
if (err != JVMTI_ERROR_NONE) {
|
||||||
|
PLOGE << action << " failed, code=" << err;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// VMInit callback
|
||||||
|
void JNICALL OnVMInit(jvmtiEnv* jvmti, JNIEnv* env, jthread thread) {
|
||||||
|
PLOGI << "JVMTI VMInit triggered";
|
||||||
|
|
||||||
|
std::string runtime_dir = std::filesystem::current_path().string();
|
||||||
|
|
||||||
|
if (runtime_dir.empty()) {
|
||||||
|
PLOGE << "runtime_dir is empty";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
PLOGI << "Runtime directory: " << runtime_dir;
|
||||||
|
|
||||||
|
// Inject JuiceAgent-API
|
||||||
|
// Save bytes to file
|
||||||
|
std::string hash =
|
||||||
|
JuiceAgent::Resource::juiceagent_api_bytes_sha256;
|
||||||
|
|
||||||
|
std::string file_name =
|
||||||
|
hash.substr(0, 8) + "_" +
|
||||||
|
JuiceAgent::Resource::juiceagent_api_bytes_name;
|
||||||
|
|
||||||
|
std::string juiceagent_api_path =
|
||||||
|
JuiceAgent::Utils::File::write_to_tempfile(
|
||||||
|
JuiceAgent::Resource::juiceagent_api_bytes,
|
||||||
|
JuiceAgent::Resource::juiceagent_api_bytes_len,
|
||||||
|
file_name
|
||||||
|
);
|
||||||
|
|
||||||
|
PLOGD << "Saved JuiceAgent-API to: " << juiceagent_api_path;
|
||||||
|
PLOGD << "JuiceAgent-API size: " << JuiceAgent::Resource::juiceagent_api_bytes_len;
|
||||||
|
PLOGD << "JuiceAgent-API SHA256: " << JuiceAgent::Resource::juiceagent_api_bytes_sha256;
|
||||||
|
|
||||||
|
// Inject JuiceAgent jar into system class loader
|
||||||
|
jint status = jvmti->AddToSystemClassLoaderSearch(juiceagent_api_path.c_str());
|
||||||
|
if (status != JNI_OK) {
|
||||||
|
PLOGE << "AddToSystemClassLoaderSearch failed: " << status;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
PLOGI << "Jar injected successfully: " << juiceagent_api_path;
|
||||||
|
|
||||||
|
JuiceAgent::Agent& agent = JuiceAgent::Agent::instance();
|
||||||
|
agent.init(g_vm, env, g_jvmti, runtime_dir);
|
||||||
|
|
||||||
|
PLOGI << "JuiceAgent initialized successfully";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Agent entry
|
||||||
|
JNIEXPORT jint JNICALL
|
||||||
|
Agent_OnLoad(JavaVM* vm, char* options, void* reserved) {
|
||||||
|
InitLogger();
|
||||||
|
|
||||||
|
PLOGI << "Agent_OnLoad";
|
||||||
|
|
||||||
|
g_vm = vm;
|
||||||
|
|
||||||
|
// Get JVMTI first
|
||||||
|
jint result = vm->GetEnv(reinterpret_cast<void**>(&g_jvmti), JVMTI_VERSION_1_2);
|
||||||
|
if (result != JNI_OK || g_jvmti == nullptr) {
|
||||||
|
PLOGE << "Failed to get JVMTI, code=" << result;
|
||||||
|
return JNI_ERR;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Optional capabilities
|
||||||
|
jvmtiCapabilities caps{};
|
||||||
|
CheckJvmti(g_jvmti->AddCapabilities(&caps), "AddCapabilities");
|
||||||
|
|
||||||
|
// Register callbacks
|
||||||
|
jvmtiEventCallbacks callbacks{};
|
||||||
|
callbacks.VMInit = &OnVMInit;
|
||||||
|
|
||||||
|
if (!CheckJvmti(
|
||||||
|
g_jvmti->SetEventCallbacks(&callbacks, sizeof(callbacks)),
|
||||||
|
"SetEventCallbacks")) {
|
||||||
|
return JNI_ERR;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!CheckJvmti(
|
||||||
|
g_jvmti->SetEventNotificationMode(
|
||||||
|
JVMTI_ENABLE,
|
||||||
|
JVMTI_EVENT_VM_INIT,
|
||||||
|
nullptr),
|
||||||
|
"Enable VM_INIT")) {
|
||||||
|
return JNI_ERR;
|
||||||
|
}
|
||||||
|
|
||||||
|
PLOGI << "Agent loaded, waiting for VMInit...";
|
||||||
|
return JNI_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Optional unload
|
||||||
|
JNIEXPORT void JNICALL
|
||||||
|
Agent_OnUnload(JavaVM* vm) {
|
||||||
|
PLOGI << "Agent_OnUnload";
|
||||||
|
}
|
||||||
@@ -3,11 +3,22 @@
|
|||||||
|
|
||||||
// This function is called by Java to initialize the agent.
|
// This function is called by Java to initialize the agent.
|
||||||
JNIEXPORT jboolean JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_init
|
JNIEXPORT jboolean JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_init
|
||||||
(JNIEnv *env, jclass loader_class) {
|
(JNIEnv *env, jclass , jstring j_runtime_dir) {
|
||||||
InitLogger();
|
InitLogger();
|
||||||
|
|
||||||
PLOGI << "Initializing JuiceAgent...";
|
PLOGI << "Initializing JuiceAgent...";
|
||||||
|
|
||||||
|
// Get runtime directory
|
||||||
|
const char* c_runtime_dir = env->GetStringUTFChars(j_runtime_dir, nullptr);
|
||||||
|
std::string runtime_dir(c_runtime_dir);
|
||||||
|
env->ReleaseStringUTFChars(j_runtime_dir, c_runtime_dir);
|
||||||
|
|
||||||
|
if (runtime_dir.empty()) {
|
||||||
|
PLOGE << "Failed to get runtime directory from argument, runtime_dir is empty";
|
||||||
|
return JNI_FALSE;
|
||||||
|
}
|
||||||
|
PLOGI << "JuiceAgent got runtime directory: " << runtime_dir;
|
||||||
|
|
||||||
JavaVM* jvm = nullptr;
|
JavaVM* jvm = nullptr;
|
||||||
jvmtiEnv* jvmti = nullptr;
|
jvmtiEnv* jvmti = nullptr;
|
||||||
|
|
||||||
@@ -27,7 +38,7 @@ JNIEXPORT jboolean JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_init
|
|||||||
|
|
||||||
// Invoke EntryPoint
|
// Invoke EntryPoint
|
||||||
JuiceAgent::Agent& agent = JuiceAgent::Agent::instance();
|
JuiceAgent::Agent& agent = JuiceAgent::Agent::instance();
|
||||||
agent.init(jvm, env, jvmti);
|
agent.init(jvm, env, jvmti, runtime_dir);
|
||||||
|
|
||||||
return JNI_TRUE;
|
return JNI_TRUE;
|
||||||
}
|
}
|
||||||
@@ -10,10 +10,10 @@ extern "C" {
|
|||||||
/*
|
/*
|
||||||
* Class: cn_xiaozhou233_juiceagent_api_JuiceAgent
|
* Class: cn_xiaozhou233_juiceagent_api_JuiceAgent
|
||||||
* Method: init
|
* Method: init
|
||||||
* Signature: ()Z
|
* Signature: (Ljava/lang/String;)Z
|
||||||
*/
|
*/
|
||||||
JNIEXPORT jboolean JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_init
|
JNIEXPORT jboolean JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_init
|
||||||
(JNIEnv *, jclass);
|
(JNIEnv *, jclass, jstring);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Class: cn_xiaozhou233_juiceagent_api_JuiceAgent
|
* Class: cn_xiaozhou233_juiceagent_api_JuiceAgent
|
||||||
@@ -111,6 +111,30 @@ JNIEXPORT jbyteArray JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_getCl
|
|||||||
JNIEXPORT jbyteArray JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_getClassBytesByName
|
JNIEXPORT jbyteArray JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_getClassBytesByName
|
||||||
(JNIEnv *, jclass, jstring);
|
(JNIEnv *, jclass, jstring);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: cn_xiaozhou233_juiceagent_api_JuiceAgent
|
||||||
|
* Method: addRemapperWhiteList
|
||||||
|
* Signature: (Ljava/lang/String;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_addRemapperWhiteList
|
||||||
|
(JNIEnv *, jclass, jstring);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: cn_xiaozhou233_juiceagent_api_JuiceAgent
|
||||||
|
* Method: removeRemapperWhiteList
|
||||||
|
* Signature: (Ljava/lang/String;)V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_removeRemapperWhiteList
|
||||||
|
(JNIEnv *, jclass, jstring);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: cn_xiaozhou233_juiceagent_api_JuiceAgent
|
||||||
|
* Method: clearRemapperWhiteList
|
||||||
|
* Signature: ()V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_cn_xiaozhou233_juiceagent_api_JuiceAgent_clearRemapperWhiteList
|
||||||
|
(JNIEnv *, jclass);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#include <jni_impl.hpp>
|
#include <jni_impl.hpp>
|
||||||
|
|
||||||
// ClassFileLoadHook
|
// ClassFileLoadHook
|
||||||
struct EventClassFileLoadHook {
|
struct EventClassFileLoadHook {
|
||||||
jvmtiEnv* jvmti_env;
|
jvmtiEnv* jvmti_env;
|
||||||
JNIEnv* jni_env;
|
JNIEnv* jni_env;
|
||||||
jclass class_being_redefined;
|
jclass class_being_redefined;
|
||||||
@@ -16,6 +16,24 @@ struct EventClassFileLoadHook {
|
|||||||
unsigned char** new_classbytes;
|
unsigned char** new_classbytes;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// MethodEntry
|
||||||
|
struct EventMethodEntry {
|
||||||
|
jvmtiEnv* jvmti_env;
|
||||||
|
JNIEnv* jni_env;
|
||||||
|
jthread thread;
|
||||||
|
jmethodID method;
|
||||||
|
};
|
||||||
|
|
||||||
|
// MethodExit
|
||||||
|
struct EventMethodExit {
|
||||||
|
jvmtiEnv* jvmti_env;
|
||||||
|
JNIEnv* jni_env;
|
||||||
|
jthread thread;
|
||||||
|
jmethodID method;
|
||||||
|
jboolean was_popped_by_exception;
|
||||||
|
jvalue return_value;
|
||||||
|
};
|
||||||
|
|
||||||
// JuiceAgent PreLoad/PostLoad
|
// JuiceAgent PreLoad/PostLoad
|
||||||
struct EventPreLoad {
|
struct EventPreLoad {
|
||||||
JavaVM* jvm;
|
JavaVM* jvm;
|
||||||
|
|||||||
@@ -1,69 +1,128 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <eventpp/eventdispatcher.h>
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <typeindex>
|
#include <typeindex>
|
||||||
|
#include <vector>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <atomic>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
class EventBus {
|
class EventBus {
|
||||||
public:
|
public:
|
||||||
|
using Token = std::uint64_t;
|
||||||
|
|
||||||
template<typename Event>
|
template<typename Event>
|
||||||
using Listener = std::function<void(const Event&)>;
|
using Listener = std::function<void(const Event&)>;
|
||||||
|
|
||||||
template<typename Event>
|
template<typename Event>
|
||||||
void subscribe(Listener<Event> listener, int priority = 0) {
|
Token subscribe(Listener<Event> listener, int priority = 0) {
|
||||||
std::lock_guard<std::mutex> lock(mutex_);
|
std::lock_guard<std::mutex> lock(mutex_);
|
||||||
auto& dispatcher = getDispatcher<Event>();
|
|
||||||
dispatcher.appendListener(priority, std::move(listener));
|
auto& vec = getListeners<Event>();
|
||||||
|
|
||||||
|
Token token = nextToken_++;
|
||||||
|
|
||||||
|
vec.push_back({
|
||||||
|
token,
|
||||||
|
priority,
|
||||||
|
std::move(listener)
|
||||||
|
});
|
||||||
|
|
||||||
|
std::sort(vec.begin(), vec.end(),
|
||||||
|
[](const auto& a, const auto& b) {
|
||||||
|
return a.priority > b.priority;
|
||||||
|
});
|
||||||
|
|
||||||
|
return token;
|
||||||
|
}
|
||||||
|
|
||||||
|
template<typename Event>
|
||||||
|
bool unsubscribe(Token token) {
|
||||||
|
std::lock_guard<std::mutex> lock(mutex_);
|
||||||
|
|
||||||
|
auto type = std::type_index(typeid(Event));
|
||||||
|
auto it = listeners_.find(type);
|
||||||
|
if (it == listeners_.end()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
auto& vec =
|
||||||
|
*std::static_pointer_cast<std::vector<Node<Event>>>(it->second);
|
||||||
|
|
||||||
|
auto oldSize = vec.size();
|
||||||
|
|
||||||
|
vec.erase(
|
||||||
|
std::remove_if(vec.begin(), vec.end(),
|
||||||
|
[token](const Node<Event>& node) {
|
||||||
|
return node.token == token;
|
||||||
|
}),
|
||||||
|
vec.end()
|
||||||
|
);
|
||||||
|
|
||||||
|
return vec.size() != oldSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
template<typename Event>
|
||||||
|
void post(const Event& event) {
|
||||||
|
std::vector<Node<Event>> copy;
|
||||||
|
|
||||||
|
{
|
||||||
|
std::lock_guard<std::mutex> lock(mutex_);
|
||||||
|
|
||||||
|
auto type = std::type_index(typeid(Event));
|
||||||
|
auto it = listeners_.find(type);
|
||||||
|
|
||||||
|
if (it == listeners_.end()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
copy =
|
||||||
|
*std::static_pointer_cast<std::vector<Node<Event>>>(it->second);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (auto& node : copy) {
|
||||||
|
node.callback(event);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Event>
|
template<typename Event>
|
||||||
void clear() {
|
void clear() {
|
||||||
std::lock_guard<std::mutex> lock(mutex_);
|
std::lock_guard<std::mutex> lock(mutex_);
|
||||||
dispatchers_.erase(std::type_index(typeid(Event)));
|
listeners_.erase(std::type_index(typeid(Event)));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Event>
|
void clearAll() {
|
||||||
void post(const Event& event) {
|
std::lock_guard<std::mutex> lock(mutex_);
|
||||||
std::shared_ptr<void> dispatcherPtr;
|
listeners_.clear();
|
||||||
|
|
||||||
{
|
|
||||||
std::lock_guard<std::mutex> lock(mutex_);
|
|
||||||
auto it = dispatchers_.find(std::type_index(typeid(Event)));
|
|
||||||
if(it == dispatchers_.end()) return;
|
|
||||||
dispatcherPtr = it->second;
|
|
||||||
}
|
|
||||||
|
|
||||||
auto dispatcher = std::static_pointer_cast<
|
|
||||||
eventpp::EventDispatcher<int, void(const Event&)>
|
|
||||||
>(dispatcherPtr);
|
|
||||||
|
|
||||||
dispatcher->dispatch(0, event);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::mutex mutex_;
|
template<typename Event>
|
||||||
|
struct Node {
|
||||||
|
Token token;
|
||||||
|
int priority;
|
||||||
|
Listener<Event> callback;
|
||||||
|
};
|
||||||
|
|
||||||
std::unordered_map<std::type_index, std::shared_ptr<void>> dispatchers_;
|
std::mutex mutex_;
|
||||||
|
std::atomic<Token> nextToken_ {1};
|
||||||
|
|
||||||
|
std::unordered_map<std::type_index, std::shared_ptr<void>> listeners_;
|
||||||
|
|
||||||
template<typename Event>
|
template<typename Event>
|
||||||
eventpp::EventDispatcher<int, void(const Event&)>& getDispatcher() {
|
std::vector<Node<Event>>& getListeners() {
|
||||||
auto typeIdx = std::type_index(typeid(Event));
|
auto type = std::type_index(typeid(Event));
|
||||||
auto it = dispatchers_.find(typeIdx);
|
auto it = listeners_.find(type);
|
||||||
|
|
||||||
if(it == dispatchers_.end()) {
|
if (it == listeners_.end()) {
|
||||||
auto dispatcher = std::make_shared<
|
auto ptr = std::make_shared<std::vector<Node<Event>>>();
|
||||||
eventpp::EventDispatcher<int, void(const Event&)>
|
listeners_[type] = ptr;
|
||||||
>();
|
return *ptr;
|
||||||
|
|
||||||
dispatchers_[typeIdx] = dispatcher;
|
|
||||||
return *dispatcher;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return *std::static_pointer_cast<
|
return *std::static_pointer_cast<std::vector<Node<Event>>>(it->second);
|
||||||
eventpp::EventDispatcher<int, void(const Event&)>
|
|
||||||
>(it->second);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -36,3 +36,6 @@ extern std::mutex classDataMutex;
|
|||||||
|
|
||||||
extern std::unordered_map<std::string, std::vector<unsigned char>> pendingRetransform;
|
extern std::unordered_map<std::string, std::vector<unsigned char>> pendingRetransform;
|
||||||
extern std::mutex pendingRetransformMutex;
|
extern std::mutex pendingRetransformMutex;
|
||||||
|
|
||||||
|
// Remapper WhiteList
|
||||||
|
extern std::unordered_set<std::string> remapperWhiteList;
|
||||||
@@ -24,3 +24,17 @@ void JNICALL ClassFileLoadHook(
|
|||||||
const unsigned char* classbytes,
|
const unsigned char* classbytes,
|
||||||
jint* new_class_data_len,
|
jint* new_class_data_len,
|
||||||
unsigned char** new_classbytes);
|
unsigned char** new_classbytes);
|
||||||
|
|
||||||
|
// See https://docs.oracle.com/javase/8/docs/platform/jvmti/jvmti.html#MethodEntry
|
||||||
|
void JNICALL MethodEntry(jvmtiEnv *jvmti_env,
|
||||||
|
JNIEnv* jni_env,
|
||||||
|
jthread thread,
|
||||||
|
jmethodID method);
|
||||||
|
|
||||||
|
// See https://docs.oracle.com/javase/8/docs/platform/jvmti/jvmti.html#MethodExit
|
||||||
|
void JNICALL MethodExit(jvmtiEnv *jvmti_env,
|
||||||
|
JNIEnv* jni_env,
|
||||||
|
jthread thread,
|
||||||
|
jmethodID method,
|
||||||
|
jboolean was_popped_by_exception,
|
||||||
|
jvalue return_value);
|
||||||
@@ -4,13 +4,18 @@
|
|||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
#include <jvmti.h>
|
#include <jvmti.h>
|
||||||
#include <event/eventbus.hpp>
|
#include <event/eventbus.hpp>
|
||||||
|
#include <JuiceAgent/Config.hpp>
|
||||||
|
#include <modules/ModuleManager.hpp>
|
||||||
|
|
||||||
namespace JuiceAgent {
|
namespace JuiceAgent {
|
||||||
class Agent {
|
class Agent {
|
||||||
private:
|
private:
|
||||||
JavaVM* jvm;
|
JavaVM* jvm;
|
||||||
jvmtiEnv* jvmti;
|
jvmtiEnv* jvmti;
|
||||||
|
JNIEnv* env;
|
||||||
EventBus eventbus;
|
EventBus eventbus;
|
||||||
|
JuiceAgent::Config::Config config;
|
||||||
|
JuiceAgent::Core::Modules::ModuleManager module_manager;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Agent() = default;
|
Agent() = default;
|
||||||
@@ -24,15 +29,19 @@ namespace JuiceAgent {
|
|||||||
Agent& operator=(const Agent&) = delete;
|
Agent& operator=(const Agent&) = delete;
|
||||||
|
|
||||||
// EntryPoint
|
// EntryPoint
|
||||||
bool init(JavaVM* jvm, JNIEnv* env, jvmtiEnv* jvmti);
|
bool init(JavaVM* jvm, JNIEnv* env, jvmtiEnv* jvmti, std::string& runtime_dir);
|
||||||
|
|
||||||
// getters
|
// getters
|
||||||
JavaVM* get_jvm() const { return jvm; }
|
JavaVM* get_jvm() const { return jvm; }
|
||||||
jvmtiEnv* get_jvmti() const { return jvmti; }
|
jvmtiEnv* get_jvmti() const { return jvmti; }
|
||||||
|
JNIEnv* get_env() const { return env; }
|
||||||
EventBus& get_eventbus() { return eventbus; }
|
EventBus& get_eventbus() { return eventbus; }
|
||||||
|
JuiceAgent::Config::Config& get_config() { return config; }
|
||||||
|
|
||||||
// setters
|
// setters
|
||||||
void set_jvm(JavaVM* jvm) { this->jvm = jvm; }
|
void set_jvm(JavaVM* jvm) { this->jvm = jvm; }
|
||||||
void set_jvmti(jvmtiEnv* jvmti) { this->jvmti = jvmti; }
|
void set_jvmti(jvmtiEnv* jvmti) { this->jvmti = jvmti; }
|
||||||
|
void set_env(JNIEnv* env) { this->env = env; }
|
||||||
|
void set_config(JuiceAgent::Config::Config& config) { this->config = config; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Core::Modules {
|
||||||
|
|
||||||
|
class IModule {
|
||||||
|
public:
|
||||||
|
virtual ~IModule() = default;
|
||||||
|
|
||||||
|
virtual std::string name() const = 0;
|
||||||
|
|
||||||
|
virtual bool init() = 0;
|
||||||
|
virtual bool start() = 0;
|
||||||
|
virtual void stop() = 0;
|
||||||
|
|
||||||
|
virtual bool initialized() const = 0;
|
||||||
|
virtual bool running() const = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <modules/IModule.hpp>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Core::Modules {
|
||||||
|
|
||||||
|
class ModuleBase : public IModule {
|
||||||
|
public:
|
||||||
|
virtual ~ModuleBase() = default;
|
||||||
|
|
||||||
|
bool init() override {
|
||||||
|
if (_initialized) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!on_init()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
_initialized = true;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool start() override {
|
||||||
|
if (!_initialized) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_running) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!on_start()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
_running = true;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void stop() override {
|
||||||
|
if (!_running) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
on_stop();
|
||||||
|
_running = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool initialized() const override {
|
||||||
|
return _initialized;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool running() const override {
|
||||||
|
return _running;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual bool on_init() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
virtual bool on_start() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
virtual void on_stop() {
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool _initialized = false;
|
||||||
|
bool _running = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
#include <vector>
|
||||||
|
#include <string>
|
||||||
|
#include <modules/IModule.hpp>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Core::Modules {
|
||||||
|
|
||||||
|
class ModuleManager {
|
||||||
|
public:
|
||||||
|
ModuleManager() = default;
|
||||||
|
~ModuleManager() = default;
|
||||||
|
|
||||||
|
void load_all();
|
||||||
|
|
||||||
|
bool init_all();
|
||||||
|
bool start_all();
|
||||||
|
void stop_all();
|
||||||
|
|
||||||
|
IModule* find_module(const std::string& name);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::vector<std::unique_ptr<IModule>> _modules;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
#include <memory>
|
||||||
|
#include <functional>
|
||||||
|
#include <string>
|
||||||
|
#include <modules/IModule.hpp>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Core::Modules {
|
||||||
|
|
||||||
|
class ModuleRegistry {
|
||||||
|
public:
|
||||||
|
using Factory = std::function<std::unique_ptr<IModule>()>;
|
||||||
|
|
||||||
|
struct Entry {
|
||||||
|
std::string name;
|
||||||
|
Factory factory;
|
||||||
|
};
|
||||||
|
|
||||||
|
static ModuleRegistry& instance() {
|
||||||
|
static ModuleRegistry inst;
|
||||||
|
return inst;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool add(const std::string& name, Factory factory) {
|
||||||
|
for (const auto& item : _entries) {
|
||||||
|
if (item.name == name) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
_entries.push_back({name, std::move(factory)});
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
const std::vector<Entry>& entries() const {
|
||||||
|
return _entries;
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::vector<Entry> _entries;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#define JUICEAGENT_REGISTER_MODULE(TYPE, NAME) \
|
||||||
|
namespace { \
|
||||||
|
const bool registered_##NAME = \
|
||||||
|
JuiceAgent::Core::Modules::ModuleRegistry::instance().add( \
|
||||||
|
#NAME, \
|
||||||
|
[]() -> std::unique_ptr<JuiceAgent::Core::Modules::IModule> { \
|
||||||
|
return std::make_unique<TYPE>(); \
|
||||||
|
} \
|
||||||
|
); \
|
||||||
|
}
|
||||||
|
|
||||||
+89
-66
@@ -3,6 +3,7 @@
|
|||||||
#include <bytecodes_opt.hpp>
|
#include <bytecodes_opt.hpp>
|
||||||
#include <event/event_type.hpp>
|
#include <event/event_type.hpp>
|
||||||
#include <event/eventbus.hpp>
|
#include <event/eventbus.hpp>
|
||||||
|
#include <JuiceAgent/Config.hpp>
|
||||||
|
|
||||||
namespace JuiceAgent {
|
namespace JuiceAgent {
|
||||||
// ===== Singleton =====
|
// ===== Singleton =====
|
||||||
@@ -11,74 +12,96 @@ namespace JuiceAgent {
|
|||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Agent::init(JavaVM* jvm, JNIEnv* env, jvmtiEnv* jvmti) {
|
bool Agent::init(JavaVM* jvm, JNIEnv* env, jvmtiEnv* jvmti, std::string& runtime_dir) {
|
||||||
PLOGI << "JuiceAgent Native EntryPoint Invoked!";
|
try {
|
||||||
|
PLOGI << "JuiceAgent Native EntryPoint Invoked!";
|
||||||
|
|
||||||
// ======== neccessary environment check ========
|
// ======== neccessary environment check ========
|
||||||
if (jvm == nullptr) {
|
if (jvm == nullptr) {
|
||||||
PLOGE << "Failed to initialize JuiceAgent: jvm is null";
|
PLOGE << "Failed to initialize JuiceAgent: jvm is null";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (env == nullptr) {
|
||||||
|
PLOGE << "Failed to initialize JuiceAgent: env is null";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (jvmti == nullptr) {
|
||||||
|
PLOGE << "Failed to initialize JuiceAgent: jvmti is null";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
JuiceAgent::Config::Config cfg (runtime_dir);
|
||||||
|
if (!cfg.is_valid()) {
|
||||||
|
PLOGE << "Failed to initialize JuiceAgent: config is invalid";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
set_jvm(jvm);
|
||||||
|
set_jvmti(jvmti);
|
||||||
|
set_env(env);
|
||||||
|
set_config(cfg);
|
||||||
|
PLOGD << "env: " << env << ", jvmti: " << jvmti;
|
||||||
|
|
||||||
|
// Load and Initialize Modules
|
||||||
|
module_manager.load_all();
|
||||||
|
module_manager.init_all();
|
||||||
|
|
||||||
|
// Initialize Modules
|
||||||
|
module_manager.init_all();
|
||||||
|
|
||||||
|
// PreLoad Event
|
||||||
|
eventbus.post(EventPreLoad{
|
||||||
|
.jvm = jvm,
|
||||||
|
.env = env,
|
||||||
|
.jvmti = jvmti
|
||||||
|
});
|
||||||
|
|
||||||
|
// ======== Application ability ========
|
||||||
|
jvmtiCapabilities caps{};
|
||||||
|
caps.can_get_bytecodes = 1;
|
||||||
|
caps.can_redefine_classes = 1;
|
||||||
|
caps.can_redefine_any_class = 1;
|
||||||
|
caps.can_retransform_classes = 1;
|
||||||
|
caps.can_retransform_any_class = 1;
|
||||||
|
caps.can_generate_all_class_hook_events = 1;
|
||||||
|
jint result = jvmti->AddCapabilities(&caps);
|
||||||
|
if (result != JNI_OK) {
|
||||||
|
PLOGE << "Failed to add capabilities: " << result;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
PLOGI << "Abilities added successfully";
|
||||||
|
|
||||||
|
// ======== Register callbacks ========
|
||||||
|
jvmtiEventCallbacks callbacks{};
|
||||||
|
callbacks.ClassFileLoadHook = &ClassFileLoadHook;
|
||||||
|
result = jvmti->SetEventCallbacks(&callbacks, sizeof(callbacks));
|
||||||
|
if (result != JNI_OK) {
|
||||||
|
PLOGE << "Failed to set event callbacks: " << result;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Enable events
|
||||||
|
result = jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_CLASS_FILE_LOAD_HOOK, NULL);
|
||||||
|
if (result != JNI_OK) {
|
||||||
|
PLOGE << "Failed to enable event notification: " << result;
|
||||||
|
}
|
||||||
|
|
||||||
|
// register bytecodes_opt
|
||||||
|
JuiceAgent::Bytecodes::register_bytecodes();
|
||||||
|
|
||||||
|
// Start Modules
|
||||||
|
module_manager.start_all();
|
||||||
|
|
||||||
|
|
||||||
|
// Loaded Event
|
||||||
|
eventbus.post(EventLoaded{
|
||||||
|
.jvm = jvm,
|
||||||
|
.env = env,
|
||||||
|
.jvmti = jvmti
|
||||||
|
});
|
||||||
|
return true;
|
||||||
|
} catch (const std::exception& e) {
|
||||||
|
PLOGE << "Exception: " << e.what();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (env == nullptr) {
|
|
||||||
PLOGE << "Failed to initialize JuiceAgent: env is null";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (jvmti == nullptr) {
|
|
||||||
PLOGE << "Failed to initialize JuiceAgent: jvmti is null";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
set_jvm(jvm);
|
|
||||||
set_jvmti(jvmti);
|
|
||||||
PLOGD << "env: " << env << ", jvmti: " << jvmti;
|
|
||||||
|
|
||||||
// PreLoad Event
|
|
||||||
eventbus.post(EventPreLoad{
|
|
||||||
.jvm = jvm,
|
|
||||||
.env = env,
|
|
||||||
.jvmti = jvmti
|
|
||||||
});
|
|
||||||
|
|
||||||
// ======== Application ability ========
|
|
||||||
jvmtiCapabilities caps{};
|
|
||||||
caps.can_get_bytecodes = 1;
|
|
||||||
caps.can_redefine_classes = 1;
|
|
||||||
caps.can_redefine_any_class = 1;
|
|
||||||
caps.can_retransform_classes = 1;
|
|
||||||
caps.can_retransform_any_class = 1;
|
|
||||||
caps.can_generate_all_class_hook_events = 1;
|
|
||||||
jint result = jvmti->AddCapabilities(&caps);
|
|
||||||
if (result != JNI_OK) {
|
|
||||||
PLOGE << "Failed to add capabilities: " << result;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
PLOGI << "Abilities added successfully";
|
|
||||||
|
|
||||||
// ======== Register callbacks ========
|
|
||||||
jvmtiEventCallbacks callbacks{};
|
|
||||||
callbacks.ClassFileLoadHook = &ClassFileLoadHook;
|
|
||||||
result = jvmti->SetEventCallbacks(&callbacks, sizeof(callbacks));
|
|
||||||
if (result != JNI_OK) {
|
|
||||||
PLOGE << "Failed to set event callbacks: " << result;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Enable events
|
|
||||||
result = jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_CLASS_FILE_LOAD_HOOK, NULL);
|
|
||||||
if (result != JNI_OK) {
|
|
||||||
PLOGE << "Failed to enable event notification: " << result;
|
|
||||||
}
|
|
||||||
|
|
||||||
// register bytecodes_opt
|
|
||||||
JuiceAgent::Bytecodes::register_bytecodes();
|
|
||||||
|
|
||||||
|
|
||||||
// Loaded Event
|
|
||||||
eventbus.post(EventLoaded{
|
|
||||||
.jvm = jvm,
|
|
||||||
.env = env,
|
|
||||||
.jvmti = jvmti
|
|
||||||
});
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,133 @@
|
|||||||
|
#include <modules/ModuleRegistry.hpp>
|
||||||
|
#include <modules/ModuleBase.hpp>
|
||||||
|
#include <JuiceAgent/Logger.hpp>
|
||||||
|
#include <libagent.hpp>
|
||||||
|
#include <event/eventbus.hpp>
|
||||||
|
#include <event/event_type.hpp>
|
||||||
|
|
||||||
|
#include <filesystem>
|
||||||
|
#include <fstream>
|
||||||
|
#include <mutex>
|
||||||
|
#include <string_view>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Core::Modules {
|
||||||
|
|
||||||
|
namespace fs = std::filesystem;
|
||||||
|
|
||||||
|
struct DumperConfig {
|
||||||
|
bool enabled = false;
|
||||||
|
std::string DumpDir;
|
||||||
|
};
|
||||||
|
|
||||||
|
static DumperConfig config;
|
||||||
|
static JuiceAgent::Agent& agent = JuiceAgent::Agent::instance();
|
||||||
|
|
||||||
|
class Dumper : public ModuleBase {
|
||||||
|
using super = ModuleBase;
|
||||||
|
|
||||||
|
public:
|
||||||
|
std::string name() const override {
|
||||||
|
return "Dumper";
|
||||||
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
bool on_init() override {
|
||||||
|
auto& cfg = agent.get_config();
|
||||||
|
|
||||||
|
config.enabled = cfg.get<bool>(
|
||||||
|
"JuiceAgent.Modules.Dumper.Enabled",
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
config.DumpDir = cfg.get<std::string>(
|
||||||
|
"JuiceAgent.Modules.Dumper.DumpDir",
|
||||||
|
"./dump",
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool on_start() override {
|
||||||
|
if (!config.enabled) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
auto& bus = agent.get_eventbus();
|
||||||
|
|
||||||
|
_classFileToken = bus.subscribe<EventClassFileLoadHook>(
|
||||||
|
[this](const auto& e) {
|
||||||
|
on_class_file_load_hook(e);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void on_stop() override {
|
||||||
|
if (!config.enabled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
auto& bus = agent.get_eventbus();
|
||||||
|
|
||||||
|
if (_classFileToken != 0) {
|
||||||
|
bus.unsubscribe<EventClassFileLoadHook>(_classFileToken);
|
||||||
|
_classFileToken = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
void on_class_file_load_hook(const EventClassFileLoadHook& event) {
|
||||||
|
if (!event.classbytes || event.class_data_len <= 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string_view name = event.name ? event.name : "";
|
||||||
|
|
||||||
|
if (name.empty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
fs::path output = build_class_path(name);
|
||||||
|
|
||||||
|
{
|
||||||
|
std::lock_guard<std::mutex> lock(_mutex);
|
||||||
|
fs::create_directories(output.parent_path());
|
||||||
|
}
|
||||||
|
|
||||||
|
std::ofstream file(output, std::ios::binary);
|
||||||
|
|
||||||
|
if (!file.is_open()) {
|
||||||
|
PLOGW << "Dumper: Failed to open file: " << output.string();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
file.write(
|
||||||
|
reinterpret_cast<const char*>(event.classbytes),
|
||||||
|
static_cast<std::streamsize>(event.class_data_len)
|
||||||
|
);
|
||||||
|
} catch (const std::exception& e) {
|
||||||
|
PLOGE << "Dumper: " << e.what();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fs::path build_class_path(std::string_view class_name) {
|
||||||
|
fs::path path(config.DumpDir);
|
||||||
|
path /= fs::path(class_name);
|
||||||
|
path += ".class";
|
||||||
|
return path;
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
EventBus::Token _classFileToken = 0;
|
||||||
|
std::mutex _mutex;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
JUICEAGENT_REGISTER_MODULE(
|
||||||
|
JuiceAgent::Core::Modules::Dumper,
|
||||||
|
Dumper
|
||||||
|
)
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
#include <modules/ModuleRegistry.hpp>
|
||||||
|
#include <modules/ModuleBase.hpp>
|
||||||
|
#include <JuiceAgent/Logger.hpp>
|
||||||
|
#include <libagent.hpp>
|
||||||
|
#include <JuiceAgent/Utils.hpp>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Core::Modules {
|
||||||
|
|
||||||
|
struct JarLoaderConfig {
|
||||||
|
bool enabled = true;
|
||||||
|
std::string injection_dir;
|
||||||
|
std::string jar_path;
|
||||||
|
std::string entry_class;
|
||||||
|
std::string entry_method;
|
||||||
|
};
|
||||||
|
|
||||||
|
static JarLoaderConfig config;
|
||||||
|
static JuiceAgent::Agent& agent = JuiceAgent::Agent::instance();
|
||||||
|
|
||||||
|
static const char* MODULE_CLASS =
|
||||||
|
"cn/xiaozhou233/juiceagent/api/modules/JarLoader";
|
||||||
|
|
||||||
|
static const char* MODULE_METHOD = "loadJar";
|
||||||
|
|
||||||
|
class JarLoaderModule : public ModuleBase {
|
||||||
|
using super = ModuleBase;
|
||||||
|
|
||||||
|
public:
|
||||||
|
std::string name() const override {
|
||||||
|
return "JarLoader";
|
||||||
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
bool on_init() override {
|
||||||
|
auto& cfg = agent.get_config();
|
||||||
|
|
||||||
|
config.enabled = cfg.get<bool>(
|
||||||
|
"JuiceAgent.Modules.JarLoader.Enabled",
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
config.injection_dir = cfg.get<std::string>(
|
||||||
|
"JuiceAgent.Modules.JarLoader.InjectionDir",
|
||||||
|
(cfg.runtime_dir() / "injection").string(),
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
config.jar_path = cfg.get<std::string>(
|
||||||
|
"JuiceAgent.Modules.JarLoader.JarPath",
|
||||||
|
"./Entry.jar",
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
config.entry_class = cfg.get<std::string>(
|
||||||
|
"JuiceAgent.Modules.JarLoader.EntryClass",
|
||||||
|
"Example.Main",
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
config.entry_method = cfg.get<std::string>(
|
||||||
|
"JuiceAgent.Modules.JarLoader.EntryMethod",
|
||||||
|
"start",
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
PLOGI << "JarLoader init";
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool on_start() override {
|
||||||
|
if (!config.enabled) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
JuiceAgent::Utils::Serializer ser;
|
||||||
|
|
||||||
|
ser.add_kv("InjectionDir", config.injection_dir);
|
||||||
|
ser.add_kv("JarPath", config.jar_path);
|
||||||
|
ser.add_kv("EntryClass", config.entry_class);
|
||||||
|
ser.add_kv("EntryMethod", config.entry_method);
|
||||||
|
|
||||||
|
auto data = ser.serialize();
|
||||||
|
|
||||||
|
JuiceAgent::Utils::call_java_impl(
|
||||||
|
agent.get_env(),
|
||||||
|
MODULE_CLASS,
|
||||||
|
MODULE_METHOD,
|
||||||
|
data.c_str()
|
||||||
|
);
|
||||||
|
|
||||||
|
PLOGI << "JarLoader start";
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void on_stop() override {
|
||||||
|
PLOGI << "JarLoader stop";
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
JUICEAGENT_REGISTER_MODULE(
|
||||||
|
JuiceAgent::Core::Modules::JarLoaderModule,
|
||||||
|
JarLoader
|
||||||
|
)
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
#include <modules/ModuleManager.hpp>
|
||||||
|
#include <modules/ModuleRegistry.hpp>
|
||||||
|
#include <JuiceAgent/Logger.hpp>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Core::Modules {
|
||||||
|
|
||||||
|
void ModuleManager::load_all() {
|
||||||
|
for (const auto& entry : ModuleRegistry::instance().entries()) {
|
||||||
|
auto module = entry.factory();
|
||||||
|
|
||||||
|
if (!module) {
|
||||||
|
PLOGE << "Failed to create module: " << entry.name;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
PLOGI << "Register module: " << module->name();
|
||||||
|
_modules.push_back(std::move(module));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ModuleManager::init_all() {
|
||||||
|
for (auto& module : _modules) {
|
||||||
|
PLOGI << "Init module: " << module->name();
|
||||||
|
|
||||||
|
if (!module->init()) {
|
||||||
|
PLOGE << "Failed to init module: " << module->name();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ModuleManager::start_all() {
|
||||||
|
for (auto& module : _modules) {
|
||||||
|
PLOGI << "Start module: " << module->name();
|
||||||
|
|
||||||
|
if (!module->start()) {
|
||||||
|
PLOGE << "Failed to start module: " << module->name();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModuleManager::stop_all() {
|
||||||
|
for (auto it = _modules.rbegin(); it != _modules.rend(); ++it) {
|
||||||
|
PLOGI << "Stop module: " << (*it)->name();
|
||||||
|
(*it)->stop();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
IModule* ModuleManager::find_module(const std::string& name) {
|
||||||
|
for (auto& module : _modules) {
|
||||||
|
if (module->name() == name) {
|
||||||
|
return module.get();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
#include <modules/ModuleBase.hpp>
|
||||||
|
#include <JuiceAgent/Logger.hpp>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Core::Modules {
|
||||||
|
|
||||||
|
class TemplateModule : public ModuleBase {
|
||||||
|
public:
|
||||||
|
std::string name() const override {
|
||||||
|
return "Template";
|
||||||
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
bool on_init() override {
|
||||||
|
// load config / prepare resource
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool on_start() override {
|
||||||
|
// start module
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void on_stop() override {
|
||||||
|
// stop module
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,40 +1,14 @@
|
|||||||
#include <JuiceAgent/Logger.hpp>
|
#include <JuiceAgent/Logger.hpp>
|
||||||
#include <libloader.hpp>
|
#include <Loader.hpp>
|
||||||
#include <config.hpp>
|
#include <JuiceAgent/Config.hpp>
|
||||||
#include <jvm.hpp>
|
#include <JvmManager.hpp>
|
||||||
|
#include <JuiceAgent/Utils.hpp>
|
||||||
|
#include <JuiceAgent/JuiceAgent-API-1.4.1+build.1.hpp>
|
||||||
|
|
||||||
namespace libloader {
|
namespace JuiceAgent::Loader {
|
||||||
|
|
||||||
namespace {
|
|
||||||
// Check for JNI exceptions and clear them
|
|
||||||
bool check_and_clear_exception(JNIEnv* env, const char* context) {
|
|
||||||
if (env->ExceptionCheck()) {
|
|
||||||
PLOGE << "JNI Exception occurred at: " << context;
|
|
||||||
env->ExceptionDescribe();
|
|
||||||
env->ExceptionClear();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// RAII wrapper for local JNI references
|
|
||||||
template<typename T>
|
|
||||||
class LocalRef {
|
|
||||||
private:
|
|
||||||
JNIEnv* env;
|
|
||||||
T ref;
|
|
||||||
public:
|
|
||||||
LocalRef(JNIEnv* env, T ref) : env(env), ref(ref) {}
|
|
||||||
~LocalRef() {
|
|
||||||
if (ref) env->DeleteLocalRef(ref);
|
|
||||||
}
|
|
||||||
T get() const { return ref; }
|
|
||||||
operator T() const { return ref; }
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
// Invoke JuiceAgentBootstrap.start(String) via JNI
|
// Invoke JuiceAgentBootstrap.start(String) via JNI
|
||||||
bool invoke_juiceagent_init(JNIEnv* env, const InjectionInfo& info) {
|
bool invoke_juiceagent_init(JNIEnv* env, const LoaderConfig& config) {
|
||||||
const char* bootstrap_class = "cn/xiaozhou233/juiceagent/api/JuiceAgentBootstrap";
|
const char* bootstrap_class = "cn/xiaozhou233/juiceagent/api/JuiceAgentBootstrap";
|
||||||
const char* method_name = "start";
|
const char* method_name = "start";
|
||||||
const char* method_desc = "(Ljava/lang/String;)V";
|
const char* method_desc = "(Ljava/lang/String;)V";
|
||||||
@@ -54,7 +28,7 @@ bool invoke_juiceagent_init(JNIEnv* env, const InjectionInfo& info) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Serialize InjectionInfo to string
|
// Serialize InjectionInfo to string
|
||||||
std::string args = config::Config::serialize(info);
|
std::string args = JuiceAgent::Config::Utils::serialize_loader_config(config);
|
||||||
PLOGD << "Invoke args: " << args;
|
PLOGD << "Invoke args: " << args;
|
||||||
|
|
||||||
// Create Java string
|
// Create Java string
|
||||||
@@ -83,23 +57,40 @@ void entrypoint(const char* runtime_dir) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Load configuration
|
// Load configuration
|
||||||
config::Config cfg(runtime_dir);
|
JuiceAgent::Config::Config cfg(runtime_dir);
|
||||||
if (!cfg.is_valid()) {
|
if (!cfg.is_valid()) {
|
||||||
PLOGW << "Invalid config, using default values";
|
PLOGW << "Invalid config, using default values";
|
||||||
}
|
|
||||||
|
|
||||||
// Get InjectionInfo
|
// TODO: Use default values
|
||||||
InjectionInfo info = cfg.get_injection_info();
|
// Before impl TODO, must return, or crash will happen
|
||||||
config::print_injection_info(info);
|
|
||||||
|
|
||||||
// Validate essential paths
|
|
||||||
if (info.JuiceAgentAPIJarPath.empty()) {
|
|
||||||
PLOGE << "JuiceAgentAPIJarPath is empty, abort injection";
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get InjectionInfo
|
||||||
|
LoaderConfig config = JuiceAgent::Config::Utils::get_loader_config(cfg);
|
||||||
|
JuiceAgent::Config::Utils::print_loader_config(config);
|
||||||
|
|
||||||
|
// Save bytes to file
|
||||||
|
std::string hash =
|
||||||
|
JuiceAgent::Resource::juiceagent_api_bytes_sha256;
|
||||||
|
|
||||||
|
std::string file_name =
|
||||||
|
hash.substr(0, 8) + "_" +
|
||||||
|
JuiceAgent::Resource::juiceagent_api_bytes_name;
|
||||||
|
|
||||||
|
std::string juiceagent_api_path =
|
||||||
|
JuiceAgent::Utils::File::write_to_tempfile(
|
||||||
|
JuiceAgent::Resource::juiceagent_api_bytes,
|
||||||
|
JuiceAgent::Resource::juiceagent_api_bytes_len,
|
||||||
|
file_name
|
||||||
|
);
|
||||||
|
|
||||||
|
PLOGD << "Saved JuiceAgent-API to: " << juiceagent_api_path;
|
||||||
|
PLOGD << "JuiceAgent-API size: " << JuiceAgent::Resource::juiceagent_api_bytes_len;
|
||||||
|
PLOGD << "JuiceAgent-API SHA256: " << JuiceAgent::Resource::juiceagent_api_bytes_sha256;
|
||||||
|
|
||||||
// Attach to JVM
|
// Attach to JVM
|
||||||
jvm::Jvm jvm;
|
JuiceAgent::Loader::JvmManager::Jvm jvm;
|
||||||
if (!jvm.attach()) {
|
if (!jvm.attach()) {
|
||||||
PLOGE << "Attach to JVM failed";
|
PLOGE << "Attach to JVM failed";
|
||||||
return;
|
return;
|
||||||
@@ -114,18 +105,18 @@ void entrypoint(const char* runtime_dir) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Inject JuiceAgent jar into system class loader
|
// Inject JuiceAgent jar into system class loader
|
||||||
jint status = jvmti->AddToSystemClassLoaderSearch(info.JuiceAgentAPIJarPath.c_str());
|
jint status = jvmti->AddToSystemClassLoaderSearch(juiceagent_api_path.c_str());
|
||||||
if (status != JNI_OK) {
|
if (status != JNI_OK) {
|
||||||
PLOGE << "AddToSystemClassLoaderSearch failed: " << status;
|
PLOGE << "AddToSystemClassLoaderSearch failed: " << status;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
PLOGI << "Jar injected successfully: " << info.JuiceAgentAPIJarPath;
|
PLOGI << "Jar injected successfully: " << juiceagent_api_path;
|
||||||
|
|
||||||
// Invoke JuiceAgent initialization
|
// Invoke JuiceAgent initialization
|
||||||
if (!invoke_juiceagent_init(env, info)) {
|
if (!invoke_juiceagent_init(env, config)) {
|
||||||
PLOGE << "invoke_juiceagent_init failed";
|
PLOGE << "invoke_juiceagent_init failed";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace libloader
|
} // namespace JuiceAgent::Loader
|
||||||
@@ -1,246 +0,0 @@
|
|||||||
#include <jvm/jni.h>
|
|
||||||
#include <jvm/jvmti.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <JuiceAgent/Logger.hpp>
|
|
||||||
#include <libloader.h>
|
|
||||||
#include <thread>
|
|
||||||
#include <tinytoml/toml.h>
|
|
||||||
#include <JuiceAgent/JuiceAgent.h>
|
|
||||||
|
|
||||||
struct _JuiceAgent {
|
|
||||||
bool isAttached;
|
|
||||||
JavaVM *jvm;
|
|
||||||
jvmtiEnv *jvmti;
|
|
||||||
JNIEnv *env;
|
|
||||||
} JuiceAgent = {false, NULL, NULL, NULL};
|
|
||||||
|
|
||||||
InjectionInfoType InjectionInfo;
|
|
||||||
|
|
||||||
static int ReadConfig(const char* ConfigDir)
|
|
||||||
{
|
|
||||||
// ConfigDir/config.toml
|
|
||||||
std::string path = std::string(ConfigDir) + "\\config.toml";
|
|
||||||
std::ifstream ifs(path);
|
|
||||||
if (!ifs) return -1;
|
|
||||||
|
|
||||||
// Parse toml
|
|
||||||
toml::ParseResult pr = toml::parse(ifs);
|
|
||||||
if (!pr.valid()) return -2;
|
|
||||||
|
|
||||||
const toml::Value& tbl = pr.value;
|
|
||||||
|
|
||||||
// Helper function: get string from toml
|
|
||||||
auto get_str = [&](const char* key, const char* def, char* out) {
|
|
||||||
const toml::Value* v = tbl.find(key);
|
|
||||||
if (v && v->is<std::string>()) {
|
|
||||||
std::string s = v->as<std::string>();
|
|
||||||
if (!s.empty()) {
|
|
||||||
strncpy(out, s.c_str(), INJECT_PATH_MAX - 1);
|
|
||||||
PLOGD << "Found parameter: " << key << " = " << s.c_str();
|
|
||||||
} else {
|
|
||||||
strncpy(out, def, INJECT_PATH_MAX - 1);
|
|
||||||
PLOGD << "Parameter " << key << " is empty, use default: " << def;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
strncpy(out, def, INJECT_PATH_MAX - 1);
|
|
||||||
PLOGD << "Not found parameter: " << key << ", use default: " << def;
|
|
||||||
}
|
|
||||||
out[INJECT_PATH_MAX - 1] = '\0';
|
|
||||||
};
|
|
||||||
|
|
||||||
// Default values
|
|
||||||
std::string defaultJuiceLoader = std::string(ConfigDir) + "\\JuiceLoader.jar";
|
|
||||||
std::string defaultJuiceLoaderLibrary = std::string(ConfigDir) + "\\libjuiceloader.dll";
|
|
||||||
std::string defaultEntryJar = std::string(ConfigDir) + "\\Entry.jar";
|
|
||||||
std::string defaultInjectionDir = std::string(ConfigDir) + "\\injection";
|
|
||||||
|
|
||||||
get_str("JuiceLoaderJarPath", defaultJuiceLoader.c_str(), InjectionInfo.JuiceLoaderJarPath);
|
|
||||||
get_str("JuiceLoaderLibraryPath", defaultJuiceLoaderLibrary.c_str(), InjectionInfo.JuiceLoaderLibraryPath);
|
|
||||||
get_str("InjectionDir", defaultInjectionDir.c_str(), InjectionInfo.InjectionDir);
|
|
||||||
get_str("EntryJarPath", defaultEntryJar.c_str(), InjectionInfo.EntryJarPath);
|
|
||||||
get_str("EntryClass", "cn.xiaozhou233.test.Entry", InjectionInfo.EntryClass);
|
|
||||||
get_str("EntryMethod", "start", InjectionInfo.EntryMethod);
|
|
||||||
|
|
||||||
PLOGD << "JuiceLoaderJarPath: " << InjectionInfo.JuiceLoaderJarPath;
|
|
||||||
PLOGD << "JuiceLoaderLibraryPath: " << InjectionInfo.JuiceLoaderLibraryPath;
|
|
||||||
PLOGD << "InjectionDir: " << InjectionInfo.InjectionDir;
|
|
||||||
PLOGD << "EntryJarPath: " << InjectionInfo.EntryJarPath;
|
|
||||||
PLOGD << "EntryClass: " << InjectionInfo.EntryClass;
|
|
||||||
PLOGD << "EntryMethod: " << InjectionInfo.EntryMethod;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int GetJavaEnv() {
|
|
||||||
jint res = JNI_ERR;
|
|
||||||
JavaVM *jvm = NULL;
|
|
||||||
jvmtiEnv *jvmti = NULL;
|
|
||||||
JNIEnv *env = NULL;
|
|
||||||
int max_try = 30;
|
|
||||||
|
|
||||||
// Get the JVM
|
|
||||||
max_try = 30;
|
|
||||||
do {
|
|
||||||
res = JNI_GetCreatedJavaVMs(&jvm, 1, NULL);
|
|
||||||
if (res != JNI_OK || jvm == NULL) {
|
|
||||||
PLOGE.printf("JNI_GetCreatedJavaVMs failed: %d", res);
|
|
||||||
PLOGD << "JVM NULL: " << (jvm == NULL);
|
|
||||||
}
|
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
|
||||||
max_try--;
|
|
||||||
if (jvm != NULL) {
|
|
||||||
break;
|
|
||||||
} else {
|
|
||||||
PLOGI.printf("Waiting for JVM... (%d)", max_try);
|
|
||||||
}
|
|
||||||
} while (jvm == NULL && max_try > 0);
|
|
||||||
if (jvm == NULL) {
|
|
||||||
PLOGE << "GetJavaEnv failed";
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
JuiceAgent.jvm = jvm;
|
|
||||||
PLOGI << "Got the JVM";
|
|
||||||
|
|
||||||
// Get the JNIEnv
|
|
||||||
max_try = 30;
|
|
||||||
do {
|
|
||||||
res = jvm->GetEnv((void**)&env, JNI_VERSION_1_8);
|
|
||||||
if (res != JNI_OK || env == NULL) {
|
|
||||||
PLOGI << "GetEnv failed, trying to attach.";
|
|
||||||
PLOGD << "env NULL: " << (env == NULL);
|
|
||||||
res = jvm->AttachCurrentThread((void**)&env, NULL);
|
|
||||||
if (res != JNI_OK || env == NULL) {
|
|
||||||
PLOGE.printf("AttachCurrentThread failed: %d", res);
|
|
||||||
PLOGD << "env NULL: " << (env == NULL);
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
|
||||||
max_try--;
|
|
||||||
if (env != NULL) {
|
|
||||||
break;
|
|
||||||
} else {
|
|
||||||
PLOGI.printf("Waiting for JNI... (%d)", max_try);
|
|
||||||
}
|
|
||||||
} while (env == NULL && max_try > 0);
|
|
||||||
if (env == NULL) {
|
|
||||||
PLOGE << "Get JNI failed";
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
JuiceAgent.env = env;
|
|
||||||
PLOGI << "Got the JNIEnv";
|
|
||||||
|
|
||||||
// Get the JVMTI
|
|
||||||
res = jvm->GetEnv((void**)&jvmti, JVMTI_VERSION_1_2);
|
|
||||||
if (res != JNI_OK || jvmti == NULL) {
|
|
||||||
PLOGE.printf("GetEnv failed: %d", res);
|
|
||||||
PLOGD << "jvmti NULL: " << (jvmti == NULL);
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
JuiceAgent.jvmti = jvmti;
|
|
||||||
PLOGI << "Got the JVMTI";
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int InvokeJuiceLoaderInit(const char* ConfigDir) {
|
|
||||||
// Variables
|
|
||||||
int result = JNI_ERR;
|
|
||||||
JNIEnv *env = JuiceAgent.env;
|
|
||||||
jvmtiEnv *jvmti = JuiceAgent.jvmti;
|
|
||||||
|
|
||||||
const char *bootstrap_class = "cn/xiaozhou233/juiceloader/JuiceLoaderBootstrap";
|
|
||||||
const char *method_name = "init";
|
|
||||||
const char *method_signature = "([Ljava/lang/String;)V";
|
|
||||||
|
|
||||||
PLOGI << "Invoke JuiceLoader Init";
|
|
||||||
PLOGI << "================ JuiceLoader Init =================";
|
|
||||||
// Find class
|
|
||||||
jclass cls = env->FindClass(bootstrap_class);
|
|
||||||
if (cls == NULL) {
|
|
||||||
if (env->ExceptionCheck()) {
|
|
||||||
env->ExceptionDescribe();
|
|
||||||
env->ExceptionClear();
|
|
||||||
}
|
|
||||||
PLOGE << "FindClass failed";
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Find method
|
|
||||||
jmethodID mid = env->GetStaticMethodID(cls, method_name, method_signature);
|
|
||||||
if (mid == NULL) {
|
|
||||||
PLOGE << "GetStaticMethodID failed";
|
|
||||||
if (env->ExceptionCheck()) {
|
|
||||||
env->ExceptionDescribe();
|
|
||||||
env->ExceptionClear();
|
|
||||||
}
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// arguments array
|
|
||||||
const char* args[] = {
|
|
||||||
InjectionInfo.EntryJarPath,
|
|
||||||
InjectionInfo.EntryClass,
|
|
||||||
InjectionInfo.EntryMethod,
|
|
||||||
InjectionInfo.InjectionDir,
|
|
||||||
InjectionInfo.JuiceLoaderLibraryPath
|
|
||||||
};
|
|
||||||
int argCount = sizeof(args)/sizeof(args[0]);
|
|
||||||
|
|
||||||
jclass stringCls = env->FindClass("java/lang/String");
|
|
||||||
jobjectArray jArgs = env->NewObjectArray(argCount, stringCls, nullptr);
|
|
||||||
for (int i = 0; i < argCount; i++) {
|
|
||||||
env->SetObjectArrayElement(jArgs, i, env->NewStringUTF(args[i]));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Invoke method
|
|
||||||
env->CallStaticVoidMethod(cls, mid, jArgs);
|
|
||||||
if (env->ExceptionCheck()) {
|
|
||||||
env->ExceptionDescribe();
|
|
||||||
env->ExceptionClear();
|
|
||||||
}
|
|
||||||
|
|
||||||
PLOGI << "================ JuiceLoader Init =================";
|
|
||||||
|
|
||||||
PLOGI << "Invoke JuiceLoader Init done";
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
extern "C" __declspec(dllexport)
|
|
||||||
bool InitJuiceAgent(const char* runtime_path) {
|
|
||||||
PLOGD << "runtime_path: " << runtime_path;
|
|
||||||
|
|
||||||
// Read Config
|
|
||||||
if (ReadConfig(runtime_path) != 0) {
|
|
||||||
PLOGE << "ReadConfig failed";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
PLOGI << "[OK] ReadConfig";
|
|
||||||
|
|
||||||
// Get JavaEnv
|
|
||||||
if (GetJavaEnv() != 0) {
|
|
||||||
PLOGE << "GetJavaEnv failed";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
PLOGI << "[OK] Get JavaEnv";
|
|
||||||
|
|
||||||
// Inject JuiceLoader jar
|
|
||||||
if (JuiceAgent.jvmti->AddToSystemClassLoaderSearch(InjectionInfo.JuiceLoaderJarPath) != JNI_OK) {
|
|
||||||
PLOGE << "AddToSystemClassLoaderSearch failed";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
PLOGI << "[OK] Inject JuiceLoader jar";
|
|
||||||
|
|
||||||
// Invoke JuiceLoader Init
|
|
||||||
if (InvokeJuiceLoaderInit(runtime_path) != 0) {
|
|
||||||
PLOGE << "Invoke JuiceLoader Init failed";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
PLOGI << "[OK] Invoke JuiceLoader Init";
|
|
||||||
|
|
||||||
// Load JuiceLoaderLibrary
|
|
||||||
|
|
||||||
PLOGI << "--------> InitJuiceAgent Succeed <--------";
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
#include <thread>
|
#include <thread>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
namespace jvm
|
namespace JuiceAgent::Loader::JvmManager
|
||||||
{
|
{
|
||||||
class Jvm {
|
class Jvm {
|
||||||
private:
|
private:
|
||||||
@@ -119,4 +119,4 @@ namespace jvm
|
|||||||
|
|
||||||
thread_local JNIEnv* Jvm::env = nullptr;
|
thread_local JNIEnv* Jvm::env = nullptr;
|
||||||
|
|
||||||
} // namespace jvm
|
} // namespace JuiceAgent::Loader::JvmManager
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <JuiceAgent/JuiceAgent.hpp>
|
||||||
|
#include <string>
|
||||||
|
#include <JuiceAgent/Logger.hpp>
|
||||||
|
#include <jvm/jni.h>
|
||||||
|
#include <jvm/jvmti.h>
|
||||||
|
|
||||||
|
namespace JuiceAgent::Loader
|
||||||
|
{
|
||||||
|
void entrypoint(const char* runtime_dir);
|
||||||
|
|
||||||
|
bool invoke_juiceagent_init(JNIEnv* env, const LoaderConfig& info);
|
||||||
|
} // namespace JuiceAgent::Loader
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
// RAII wrapper for local JNI references
|
||||||
|
template<typename T>
|
||||||
|
class LocalRef {
|
||||||
|
private:
|
||||||
|
JNIEnv* env;
|
||||||
|
T ref;
|
||||||
|
public:
|
||||||
|
LocalRef(JNIEnv* env, T ref) : env(env), ref(ref) {}
|
||||||
|
~LocalRef() {
|
||||||
|
if (ref) env->DeleteLocalRef(ref);
|
||||||
|
}
|
||||||
|
T get() const { return ref; }
|
||||||
|
operator T() const { return ref; }
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,195 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include <JuiceAgent/Logger.hpp>
|
|
||||||
#include <JuiceAgent/JuiceAgent.hpp>
|
|
||||||
#include <tinytoml/toml.h>
|
|
||||||
#include <filesystem>
|
|
||||||
#include <fstream>
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
namespace config {
|
|
||||||
|
|
||||||
class Config {
|
|
||||||
private:
|
|
||||||
std::string runtime_dir; // Runtime directory
|
|
||||||
toml::Value config{}; // Parsed TOML configuration
|
|
||||||
bool valid = false; // Whether the config is successfully loaded
|
|
||||||
|
|
||||||
// Escape special characters ';' = '\'
|
|
||||||
static std::string escape(const std::string& s) {
|
|
||||||
std::string out;
|
|
||||||
out.reserve(s.size());
|
|
||||||
for (char c : s) {
|
|
||||||
if (c == ';' || c == '=' || c == '\\') {
|
|
||||||
out += '\\';
|
|
||||||
}
|
|
||||||
out += c;
|
|
||||||
}
|
|
||||||
return out;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Append key=value pair to string
|
|
||||||
static void append_kv(std::string& out, const char* key, const std::string& value, bool& first) {
|
|
||||||
if (!first) out += ';';
|
|
||||||
first = false;
|
|
||||||
out += key;
|
|
||||||
out += '=';
|
|
||||||
out += escape(value);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Helper function: find value by dot-separated key
|
|
||||||
const toml::Value* find_value(const std::string& key) const {
|
|
||||||
if (!valid) return nullptr;
|
|
||||||
const toml::Value* current = &config;
|
|
||||||
size_t start = 0;
|
|
||||||
while (true) {
|
|
||||||
size_t dot = key.find('.', start);
|
|
||||||
std::string part = key.substr(start, dot - start);
|
|
||||||
|
|
||||||
if (!current->is<toml::Table>()) return nullptr;
|
|
||||||
|
|
||||||
const auto& table = current->as<toml::Table>();
|
|
||||||
auto it = table.find(part);
|
|
||||||
if (it == table.end()) return nullptr;
|
|
||||||
|
|
||||||
current = &it->second;
|
|
||||||
|
|
||||||
if (dot == std::string::npos) break;
|
|
||||||
start = dot + 1;
|
|
||||||
}
|
|
||||||
return current;
|
|
||||||
}
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit Config(const char* c_runtime_dir)
|
|
||||||
: runtime_dir(c_runtime_dir ? c_runtime_dir : "")
|
|
||||||
{
|
|
||||||
if (runtime_dir.empty()) {
|
|
||||||
PLOGW << "runtime_dir is empty";
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::filesystem::path path = std::filesystem::path(runtime_dir) / "config.toml";
|
|
||||||
std::ifstream ifs(path);
|
|
||||||
if (!ifs.is_open()) {
|
|
||||||
PLOGE << "Failed to open config file: " << path;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
auto pr = toml::parse(ifs);
|
|
||||||
if (!pr.valid()) {
|
|
||||||
PLOGE << "Invalid TOML file: " << pr.errorReason;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
config = pr.value;
|
|
||||||
valid = true;
|
|
||||||
} catch (const std::exception& e) {
|
|
||||||
PLOGE << "TOML parse error: " << e.what();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Get value by key with default
|
|
||||||
template<typename T>
|
|
||||||
T get_or_default(const std::string& key, const T& default_value, bool use_default_if_empty = false, bool is_path = false) const {
|
|
||||||
const toml::Value* val = find_value(key);
|
|
||||||
if (!val) return default_value;
|
|
||||||
|
|
||||||
try {
|
|
||||||
if constexpr (std::is_same_v<T, std::string>) {
|
|
||||||
std::string s = val->as<std::string>();
|
|
||||||
if (use_default_if_empty && s.empty()) return default_value;
|
|
||||||
// Check if string starts with '.'
|
|
||||||
if (is_path && s.starts_with('.')) {
|
|
||||||
// remove '.'
|
|
||||||
s.erase(0, 1);
|
|
||||||
|
|
||||||
// Check if string starts with '/'
|
|
||||||
// MUST REMOVE '/', or it will cause path error (root directory)
|
|
||||||
if (s.starts_with('/')) {
|
|
||||||
s.erase(0, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// runtime_dir + s
|
|
||||||
s = (std::filesystem::path(runtime_dir) / s).string();
|
|
||||||
}
|
|
||||||
return s;
|
|
||||||
} else {
|
|
||||||
return val->as<T>();
|
|
||||||
}
|
|
||||||
} catch (...) {
|
|
||||||
return default_value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool is_valid() const {
|
|
||||||
return valid;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Get InjectionInfo struct from config
|
|
||||||
InjectionInfo get_injection_info() const {
|
|
||||||
InjectionInfo info;
|
|
||||||
|
|
||||||
auto get_default_path = [&](const std::string& name) {
|
|
||||||
return (std::filesystem::path(runtime_dir) / name).string();
|
|
||||||
};
|
|
||||||
|
|
||||||
info.JuiceAgentAPIJarPath = get_or_default<std::string>(
|
|
||||||
"JuiceAgent.JuiceAgentAPIJarPath", get_default_path("JuiceAgent-API.jar"), true, true);
|
|
||||||
|
|
||||||
info.JuiceAgentNativePath = get_or_default<std::string>(
|
|
||||||
"JuiceAgent.JuiceAgentNativePath", get_default_path("libagent.dll"), true, true);
|
|
||||||
|
|
||||||
info.EntryJarPath = get_or_default<std::string>(
|
|
||||||
"Entry.EntryJarPath", get_default_path("Entry.jar"), true, true);
|
|
||||||
|
|
||||||
info.EntryClass = get_or_default<std::string>(
|
|
||||||
"Entry.EntryClass", "com.example.Entry", true, false);
|
|
||||||
|
|
||||||
info.EntryMethod = get_or_default<std::string>(
|
|
||||||
"Entry.EntryMethod", "start", true, false);
|
|
||||||
|
|
||||||
info.InjectionDir = get_or_default<std::string>(
|
|
||||||
"Runtime.InjectionDir", get_default_path("injection"), true, true);
|
|
||||||
|
|
||||||
return info;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Serialize InjectionInfo to key=value; format
|
|
||||||
static std::string serialize(const InjectionInfo& info) {
|
|
||||||
std::string result;
|
|
||||||
result.reserve(256);
|
|
||||||
bool first = true;
|
|
||||||
|
|
||||||
append_kv(result, "Version", "1", first);
|
|
||||||
|
|
||||||
append_kv(result, "EntryJarPath", info.EntryJarPath, first);
|
|
||||||
append_kv(result, "EntryClass", info.EntryClass, first);
|
|
||||||
append_kv(result, "EntryMethod", info.EntryMethod, first);
|
|
||||||
|
|
||||||
append_kv(result, "JuiceAgentAPIJarPath", info.JuiceAgentAPIJarPath, first);
|
|
||||||
append_kv(result, "JuiceAgentNativePath", info.JuiceAgentNativePath, first);
|
|
||||||
|
|
||||||
append_kv(result, "InjectionDir", info.InjectionDir, first);
|
|
||||||
|
|
||||||
PLOGD << "Serialized args: " << result;
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string serialize() const {
|
|
||||||
return serialize(get_injection_info());
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// Print InjectionInfo (debug)
|
|
||||||
inline void print_injection_info(const InjectionInfo& info) {
|
|
||||||
PLOGI << "JuiceAgent Injection Info:";
|
|
||||||
PLOGI << " JuiceAgentAPIJarPath: " << info.JuiceAgentAPIJarPath;
|
|
||||||
PLOGI << " JuiceAgentNativePath: " << info.JuiceAgentNativePath;
|
|
||||||
PLOGI << " EntryJarPath: " << info.EntryJarPath;
|
|
||||||
PLOGI << " EntryClass: " << info.EntryClass;
|
|
||||||
PLOGI << " EntryMethod: " << info.EntryMethod;
|
|
||||||
PLOGI << " InjectionDir: " << info.InjectionDir;
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace config
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include <JuiceAgent/JuiceAgent.hpp>
|
|
||||||
#include <string>
|
|
||||||
#include <JuiceAgent/Logger.hpp>
|
|
||||||
#include <jvm/jni.h>
|
|
||||||
#include <jvm/jvmti.h>
|
|
||||||
|
|
||||||
namespace libloader
|
|
||||||
{
|
|
||||||
void entrypoint(const char* runtime_dir);
|
|
||||||
|
|
||||||
bool invoke_juiceagent_init(JNIEnv* env, const InjectionInfo& info);
|
|
||||||
} // namespace libloader
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <JuiceAgent/Logger.hpp>
|
#include <JuiceAgent/Logger.hpp>
|
||||||
#include <libloader.hpp>
|
#include <Loader.hpp>
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved ) {
|
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved ) {
|
||||||
switch( fdwReason )
|
switch( fdwReason )
|
||||||
@@ -11,7 +11,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved ) {
|
|||||||
|
|
||||||
const char* runtime_dir = (const char*)lpReserved;
|
const char* runtime_dir = (const char*)lpReserved;
|
||||||
|
|
||||||
libloader::entrypoint(runtime_dir);
|
JuiceAgent::Loader::entrypoint(runtime_dir);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
*.h
|
||||||
|
*.hpp
|
||||||
|
JuiceAgent-API*.jar
|
||||||
|
*.class
|
||||||
@@ -0,0 +1,327 @@
|
|||||||
|
/*
|
||||||
|
* File: file2bytes.cpp
|
||||||
|
* Description:
|
||||||
|
* Converts any file to a C++ byte array header with:
|
||||||
|
* - MIME / type metadata
|
||||||
|
* - SHA-256 hash
|
||||||
|
* - Namespace wrapping
|
||||||
|
*
|
||||||
|
* Build:
|
||||||
|
* g++ -std=c++17 file2bytes.cpp -o file2bytes
|
||||||
|
*
|
||||||
|
* Usage:
|
||||||
|
* file2bytes <input_file> <output.hpp> [var_name] [namespace]
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* file2bytes JuiceRemapper.jar payload.hpp jar_data Resource
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <fstream>
|
||||||
|
#include <iostream>
|
||||||
|
#include <vector>
|
||||||
|
#include <iomanip>
|
||||||
|
#include <string>
|
||||||
|
#include <sstream>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
|
static std::string getFileName(const std::string& path) {
|
||||||
|
std::size_t pos = path.find_last_of("/\\");
|
||||||
|
if (pos == std::string::npos)
|
||||||
|
return path;
|
||||||
|
return path.substr(pos + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
static std::string getExtension(const std::string& fileName) {
|
||||||
|
std::size_t pos = fileName.find_last_of('.');
|
||||||
|
if (pos == std::string::npos)
|
||||||
|
return "";
|
||||||
|
return fileName.substr(pos + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
static std::string toLower(std::string s) {
|
||||||
|
for (char& c : s) {
|
||||||
|
if (c >= 'A' && c <= 'Z')
|
||||||
|
c = static_cast<char>(c - 'A' + 'a');
|
||||||
|
}
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
|
||||||
|
static std::string detectMime(const std::string& fileName) {
|
||||||
|
std::string ext = toLower(getExtension(fileName));
|
||||||
|
|
||||||
|
if (ext == "jar") return "application/java-archive";
|
||||||
|
if (ext == "zip") return "application/zip";
|
||||||
|
if (ext == "json") return "application/json";
|
||||||
|
if (ext == "txt") return "text/plain";
|
||||||
|
if (ext == "xml") return "application/xml";
|
||||||
|
if (ext == "png") return "image/png";
|
||||||
|
if (ext == "jpg" || ext == "jpeg") return "image/jpeg";
|
||||||
|
if (ext == "gif") return "image/gif";
|
||||||
|
if (ext == "dll") return "application/x-msdownload";
|
||||||
|
if (ext == "so") return "application/octet-stream";
|
||||||
|
if (ext == "class") return "application/java-vm";
|
||||||
|
|
||||||
|
return "application/octet-stream";
|
||||||
|
}
|
||||||
|
|
||||||
|
/* =========================
|
||||||
|
Minimal SHA-256
|
||||||
|
Public domain style impl
|
||||||
|
========================= */
|
||||||
|
|
||||||
|
struct SHA256_CTX {
|
||||||
|
uint8_t data[64];
|
||||||
|
uint32_t datalen;
|
||||||
|
uint64_t bitlen;
|
||||||
|
uint32_t state[8];
|
||||||
|
};
|
||||||
|
|
||||||
|
static uint32_t rotr(uint32_t x, uint32_t n) {
|
||||||
|
return (x >> n) | (x << (32 - n));
|
||||||
|
}
|
||||||
|
|
||||||
|
static uint32_t ch(uint32_t x, uint32_t y, uint32_t z) {
|
||||||
|
return (x & y) ^ (~x & z);
|
||||||
|
}
|
||||||
|
|
||||||
|
static uint32_t maj(uint32_t x, uint32_t y, uint32_t z) {
|
||||||
|
return (x & y) ^ (x & z) ^ (y & z);
|
||||||
|
}
|
||||||
|
|
||||||
|
static uint32_t ep0(uint32_t x) {
|
||||||
|
return rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22);
|
||||||
|
}
|
||||||
|
|
||||||
|
static uint32_t ep1(uint32_t x) {
|
||||||
|
return rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25);
|
||||||
|
}
|
||||||
|
|
||||||
|
static uint32_t sig0(uint32_t x) {
|
||||||
|
return rotr(x, 7) ^ rotr(x, 18) ^ (x >> 3);
|
||||||
|
}
|
||||||
|
|
||||||
|
static uint32_t sig1(uint32_t x) {
|
||||||
|
return rotr(x, 17) ^ rotr(x, 19) ^ (x >> 10);
|
||||||
|
}
|
||||||
|
|
||||||
|
static const uint32_t k[64] = {
|
||||||
|
0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,
|
||||||
|
0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,
|
||||||
|
0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,
|
||||||
|
0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,
|
||||||
|
0xe49b69c1,0xefbe4786,0x0fc19dc6,0x240ca1cc,
|
||||||
|
0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,
|
||||||
|
0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,
|
||||||
|
0xc6e00bf3,0xd5a79147,0x06ca6351,0x14292967,
|
||||||
|
0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,
|
||||||
|
0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,
|
||||||
|
0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,
|
||||||
|
0xd192e819,0xd6990624,0xf40e3585,0x106aa070,
|
||||||
|
0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,
|
||||||
|
0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,
|
||||||
|
0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,
|
||||||
|
0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2
|
||||||
|
};
|
||||||
|
|
||||||
|
static void sha256_transform(SHA256_CTX* ctx, const uint8_t data[]) {
|
||||||
|
uint32_t a,b,c,d,e,f,g,h,i,j,t1,t2,m[64];
|
||||||
|
|
||||||
|
for (i = 0, j = 0; i < 16; ++i, j += 4)
|
||||||
|
m[i] = (data[j] << 24) | (data[j+1] << 16) |
|
||||||
|
(data[j+2] << 8) | (data[j+3]);
|
||||||
|
|
||||||
|
for (; i < 64; ++i)
|
||||||
|
m[i] = sig1(m[i-2]) + m[i-7] + sig0(m[i-15]) + m[i-16];
|
||||||
|
|
||||||
|
a = ctx->state[0];
|
||||||
|
b = ctx->state[1];
|
||||||
|
c = ctx->state[2];
|
||||||
|
d = ctx->state[3];
|
||||||
|
e = ctx->state[4];
|
||||||
|
f = ctx->state[5];
|
||||||
|
g = ctx->state[6];
|
||||||
|
h = ctx->state[7];
|
||||||
|
|
||||||
|
for (i = 0; i < 64; ++i) {
|
||||||
|
t1 = h + ep1(e) + ch(e,f,g) + k[i] + m[i];
|
||||||
|
t2 = ep0(a) + maj(a,b,c);
|
||||||
|
|
||||||
|
h = g;
|
||||||
|
g = f;
|
||||||
|
f = e;
|
||||||
|
e = d + t1;
|
||||||
|
d = c;
|
||||||
|
c = b;
|
||||||
|
b = a;
|
||||||
|
a = t1 + t2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ctx->state[0] += a;
|
||||||
|
ctx->state[1] += b;
|
||||||
|
ctx->state[2] += c;
|
||||||
|
ctx->state[3] += d;
|
||||||
|
ctx->state[4] += e;
|
||||||
|
ctx->state[5] += f;
|
||||||
|
ctx->state[6] += g;
|
||||||
|
ctx->state[7] += h;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void sha256_init(SHA256_CTX* ctx) {
|
||||||
|
ctx->datalen = 0;
|
||||||
|
ctx->bitlen = 0;
|
||||||
|
ctx->state[0] = 0x6a09e667;
|
||||||
|
ctx->state[1] = 0xbb67ae85;
|
||||||
|
ctx->state[2] = 0x3c6ef372;
|
||||||
|
ctx->state[3] = 0xa54ff53a;
|
||||||
|
ctx->state[4] = 0x510e527f;
|
||||||
|
ctx->state[5] = 0x9b05688c;
|
||||||
|
ctx->state[6] = 0x1f83d9ab;
|
||||||
|
ctx->state[7] = 0x5be0cd19;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void sha256_update(SHA256_CTX* ctx, const uint8_t data[], size_t len) {
|
||||||
|
for (size_t i = 0; i < len; ++i) {
|
||||||
|
ctx->data[ctx->datalen++] = data[i];
|
||||||
|
if (ctx->datalen == 64) {
|
||||||
|
sha256_transform(ctx, ctx->data);
|
||||||
|
ctx->bitlen += 512;
|
||||||
|
ctx->datalen = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void sha256_final(SHA256_CTX* ctx, uint8_t hash[]) {
|
||||||
|
uint32_t i = ctx->datalen;
|
||||||
|
|
||||||
|
if (ctx->datalen < 56) {
|
||||||
|
ctx->data[i++] = 0x80;
|
||||||
|
while (i < 56) ctx->data[i++] = 0x00;
|
||||||
|
} else {
|
||||||
|
ctx->data[i++] = 0x80;
|
||||||
|
while (i < 64) ctx->data[i++] = 0x00;
|
||||||
|
sha256_transform(ctx, ctx->data);
|
||||||
|
std::fill(ctx->data, ctx->data + 56, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
ctx->bitlen += ctx->datalen * 8;
|
||||||
|
ctx->data[63] = ctx->bitlen;
|
||||||
|
ctx->data[62] = ctx->bitlen >> 8;
|
||||||
|
ctx->data[61] = ctx->bitlen >> 16;
|
||||||
|
ctx->data[60] = ctx->bitlen >> 24;
|
||||||
|
ctx->data[59] = ctx->bitlen >> 32;
|
||||||
|
ctx->data[58] = ctx->bitlen >> 40;
|
||||||
|
ctx->data[57] = ctx->bitlen >> 48;
|
||||||
|
ctx->data[56] = ctx->bitlen >> 56;
|
||||||
|
sha256_transform(ctx, ctx->data);
|
||||||
|
|
||||||
|
for (i = 0; i < 4; ++i) {
|
||||||
|
hash[i] = (ctx->state[0] >> (24 - i * 8)) & 0xff;
|
||||||
|
hash[i + 4] = (ctx->state[1] >> (24 - i * 8)) & 0xff;
|
||||||
|
hash[i + 8] = (ctx->state[2] >> (24 - i * 8)) & 0xff;
|
||||||
|
hash[i + 12] = (ctx->state[3] >> (24 - i * 8)) & 0xff;
|
||||||
|
hash[i + 16] = (ctx->state[4] >> (24 - i * 8)) & 0xff;
|
||||||
|
hash[i + 20] = (ctx->state[5] >> (24 - i * 8)) & 0xff;
|
||||||
|
hash[i + 24] = (ctx->state[6] >> (24 - i * 8)) & 0xff;
|
||||||
|
hash[i + 28] = (ctx->state[7] >> (24 - i * 8)) & 0xff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static std::string sha256Hex(const std::vector<unsigned char>& data) {
|
||||||
|
SHA256_CTX ctx{};
|
||||||
|
sha256_init(&ctx);
|
||||||
|
sha256_update(&ctx, data.data(), data.size());
|
||||||
|
|
||||||
|
uint8_t hash[32];
|
||||||
|
sha256_final(&ctx, hash);
|
||||||
|
|
||||||
|
std::ostringstream oss;
|
||||||
|
for (int i = 0; i < 32; ++i) {
|
||||||
|
oss << std::hex
|
||||||
|
<< std::setw(2)
|
||||||
|
<< std::setfill('0')
|
||||||
|
<< static_cast<int>(hash[i]);
|
||||||
|
}
|
||||||
|
return oss.str();
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(int argc, char* argv[]) {
|
||||||
|
if (argc < 3) {
|
||||||
|
std::cout << "Usage: file2bytes <input_file> <output.hpp> [var_name] [namespace]\n";
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* input = argv[1];
|
||||||
|
const char* output = argv[2];
|
||||||
|
|
||||||
|
std::string varName = (argc >= 4) ? argv[3] : "bytes";
|
||||||
|
std::string ns = (argc >= 5) ? argv[4] : "Embedded";
|
||||||
|
|
||||||
|
std::string fileName = getFileName(input);
|
||||||
|
std::string mime = detectMime(fileName);
|
||||||
|
|
||||||
|
std::ifstream in(input, std::ios::binary | std::ios::ate);
|
||||||
|
if (!in) {
|
||||||
|
std::cerr << "Failed to open input file: " << input << "\n";
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::streamsize size = in.tellg();
|
||||||
|
in.seekg(0, std::ios::beg);
|
||||||
|
|
||||||
|
std::vector<unsigned char> data(size);
|
||||||
|
if (!in.read(reinterpret_cast<char*>(data.data()), size)) {
|
||||||
|
std::cerr << "Failed to read file\n";
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string hash = sha256Hex(data);
|
||||||
|
|
||||||
|
std::ofstream out(output, std::ios::binary);
|
||||||
|
if (!out) {
|
||||||
|
std::cerr << "Failed to open output file: " << output << "\n";
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
out << "#pragma once\n\n";
|
||||||
|
out << "#include <cstddef>\n\n";
|
||||||
|
|
||||||
|
out << "namespace " << ns << " {\n\n";
|
||||||
|
|
||||||
|
out << "static const unsigned char " << varName << "[] = {\n";
|
||||||
|
|
||||||
|
for (std::size_t i = 0; i < data.size(); ++i) {
|
||||||
|
if (i % 12 == 0)
|
||||||
|
out << " ";
|
||||||
|
|
||||||
|
out << "0x"
|
||||||
|
<< std::hex
|
||||||
|
<< std::setw(2)
|
||||||
|
<< std::setfill('0')
|
||||||
|
<< static_cast<int>(data[i]);
|
||||||
|
|
||||||
|
if (i + 1 != data.size())
|
||||||
|
out << ", ";
|
||||||
|
|
||||||
|
if (i % 12 == 11)
|
||||||
|
out << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
out << "\n};\n\n";
|
||||||
|
|
||||||
|
out << "static const std::size_t " << varName << "_len = "
|
||||||
|
<< std::dec << data.size() << ";\n";
|
||||||
|
|
||||||
|
out << "static const char* " << varName << "_name = "
|
||||||
|
<< "\"" << fileName << "\";\n";
|
||||||
|
|
||||||
|
out << "static const char* " << varName << "_mime = "
|
||||||
|
<< "\"" << mime << "\";\n";
|
||||||
|
|
||||||
|
out << "static const char* " << varName << "_sha256 = "
|
||||||
|
<< "\"" << hash << "\";\n";
|
||||||
|
|
||||||
|
out << "\n} // namespace " << ns << "\n";
|
||||||
|
|
||||||
|
std::cout << "Generated: " << output << "\n";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Binary file not shown.
Reference in new issue
Block a user