Skip to content

Instantly share code, notes, and snippets.

@joubin
Created December 14, 2018 21:44
Show Gist options
  • Select an option

  • Save joubin/8451f0731fce518eda24758ed8667ec7 to your computer and use it in GitHub Desktop.

Select an option

Save joubin/8451f0731fce518eda24758ed8667ec7 to your computer and use it in GitHub Desktop.

Revisions

  1. joubin created this gist Dec 14, 2018.
    3 changes: 3 additions & 0 deletions vulnerability.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    System.out.println(xstream.getClass().getPackage().getImplementationVersion());
    XStream.setupDefaultSecurity(xstream);
    xstream.allowTypes(new Class[]{Contact.class});