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

使用JRMPListener时无法加载恶意class文件 #13

Open
TheCryingGame opened this issue Feb 10, 2023 · 0 comments
Open

使用JRMPListener时无法加载恶意class文件 #13

TheCryingGame opened this issue Feb 10, 2023 · 0 comments

Comments

@TheCryingGame
Copy link

java -cp ysoserial-for-woodpecker-0.5.2.jar me.gv7.woodpecker.yso.exploit.JRMPListener 8099 CommonsCollections5 "class_file:/tmp/a.class"
Exception in thread "main" java.lang.IllegalArgumentException: Failed to construct payload
at me.gv7.woodpecker.yso.payloads.ObjectPayload$Utils.makePayloadObject(ObjectPayload.java:81)
at me.gv7.woodpecker.yso.exploit.JRMPListener.main(JRMPListener.java:115)
Caused by: java.lang.Exception: Command [class_file:/tmp/a.class] not supported
at me.gv7.woodpecker.yso.payloads.custom.CommonsCollectionsUtil.getTransformerList(CommonsCollectionsUtil.java:206)
at me.gv7.woodpecker.yso.payloads.CommonsCollections5.getObject(CommonsCollections5.java:61)
at me.gv7.woodpecker.yso.payloads.CommonsCollections5.getObject(CommonsCollections5.java:49)
at me.gv7.woodpecker.yso.payloads.ObjectPayload$Utils.makePayloadObject(ObjectPayload.java:78)
... 1 more

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