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

Make AnnotationInvocationHandler usage dynamic #46

Open
drosenbauer opened this issue May 19, 2016 · 0 comments
Open

Make AnnotationInvocationHandler usage dynamic #46

drosenbauer opened this issue May 19, 2016 · 0 comments

Comments

@drosenbauer
Copy link

drosenbauer commented May 19, 2016

Right now, there are five different ways (in various branches and pull requests) to use AIH as part of a payload.

  1. The original way, patched in Java 7 and 8 earlier this year
  2. BadAttributeValueExpException (CC5), requires no SecurityManager present
  3. ACC's ListOrderedMap (my CC6: https://github.com/drosenbauer/ysoserial/blob/cli-improvements/src/main/java/ysoserial/payloads/CommonsCollections6.java)
  4. ConcurrentHashMap (@jasinner's CC6: jasinner@f1e23cc, proposed by @matthiaskaiser in IncompleteAnnotationException when testing with OpenJDK 1.8.0_72 #17)
  5. Another (?) CC6 in Adding general CC gadget that works with IBM and Oracle JRE #50 by @matthiaskaiser, unless that's the same as his proposal in IncompleteAnnotationException when testing with OpenJDK 1.8.0_72 #17

Once #45 is done to everybody's satisfaction and merged in, these should all be combined back into the four original payloads, using a (defaulted) command line switch to select among them at generation time.

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