Skip to content

Commit

Permalink
feat: add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
d_infinite committed Dec 10, 2021
1 parent 61dccfd commit 10fcbe3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Log4j2-Vaccine
一款用于`log4j2`漏洞的疫苗,基于`Instrumentation`机制进行RASP防护,Patch了
`org.apache.logging.log4j.core.net.JndiManager``lookup`方法,部分代码借用了`arthas`的实现

## Usage
启动Loader
```
java -jar loader.jar --agent agent.jar
```

选择需要Patch的进程(输入序号即可)
```
[INFO] Found existing java process, please choose one and hit RETURN.
* [1]: 50508 log4j2vuln3-0.0.1-SNAPSHOT.jar
```

Patch成功
![](https://dinfinite.oss-cn-beijing.aliyuncs.com/image/20211210162759.png)

0 comments on commit 10fcbe3

Please sign in to comment.