SummerSec / ShiroAttack2

shiro反序列化漏洞综合利用,包含(回显执行命令/注入内存马)修复原版中NoCC的问题 https://github.com/j1anFen/shiro_attack
MIT License
2.07k stars 268 forks source link

编译报错 #31

Closed spac3wh1te closed 1 year ago

spac3wh1te commented 2 years ago

image

/Users/white/Desktop/ShiroAttack2-master/src/main/java/com/summersec/attack/deser/payloads/CommonsBeanutilsAttrCompare.java:26:16 java: 找不到符号 符号: 方法 setValues(com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl,java.lang.String,java.lang.String,java.lang.String) 位置: 类型为com.sun.org.apache.xerces.internal.dom.AttrNSImpl的变量 attrNS1

java version "1.8.0_301" Java(TM) SE Runtime Environment (build 1.8.0_301-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)

spac3wh1te commented 2 years ago

请问大佬该如何解决?

spac3wh1te commented 1 year ago

jdk1.8.0_301换成最新版的1.8.0_382 问题解决