Skip to content

Conversation

@fl0l0u
Copy link

@fl0l0u fl0l0u commented Jun 29, 2022

  1. Implements Option to override serialVersionUID #182 by overwriting final payload bytes.
    Attempts to implement a cleaner override using Unsafe or Reflection failed on Object with undefined serial.
    Usage -s org.apache.commons.beanutils.BeanComparator=-3490850999041592962
  2. Adding feature for prepending arbitrary data to payload.
    Example payload generated with -p writeUTF=foo -p writeBoolean=true will reach gadget chain deserialization on following code:
String componentId = ois.readUTF();
boolean cancelAction = ois.readBoolean();
ComponentAction action = (ComponentAction) ois.readObject();

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

Successfully merging this pull request may close these issues.

1 participant