Skip to content

如何将Java反序列化Payload极致缩小

License

Notifications You must be signed in to change notification settings

mlxwlX/ShortPayload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShortPayload

极致缩小Java反序列化Payload

使用:java -jar ShortPayload.jar [gadget-name] [command]

例如:java -jar ShortPayload.jar CC6 "calc.exe"

相关技术文章:https://xz.aliyun.com/t/10824

效果

注意:这里的长度是指反序列化Payload进行Base64编码后的长度

反序列化链 YSOSERIAL长度 缩小后长度 缩小率
CommonsBeanutils1 3692 1296 64.8%
CommonsCollections1 1868 1748 6.4%
CommonsCollections2 4176 1708 41.4%
CommonsCollections3 4784 2444 48.9%
CommonsCollections4 4720 2256 52.2%
CommonsCollections5 2772 3044 -8.9%
CommonsCollections6 1708 1560 8.6%
CommonsCollections7 1700 1636 3.7%
CommonsCollectionsK1 2464 1708 30.6%
CommonsCollectionsK2 2472 1716 30.5%
CommonsCollectionsK3 1644 1604 2.4%
CommonsCollectionsK4 1652 1612 2.4%

About

如何将Java反序列化Payload极致缩小

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%