Skip to content

Instantly share code, notes, and snippets.

@jsyeo
Created August 31, 2015 09:09
Show Gist options
  • Save jsyeo/1f33806b3b9043b8bf29 to your computer and use it in GitHub Desktop.
Save jsyeo/1f33806b3b9043b8bf29 to your computer and use it in GitHub Desktop.
Inner Class
public class Main {
public static void main(String argv[]) {
class Inner {
Inner() {
vulnerableMethod();
}
}
Inner i = new Inner();
}
private static void vulnerableMethod() {
System.out.println("ur powned");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment