SYMBOL INDEX (458 symbols across 79 files) FILE: src/main/java/ysoserial/Deserializer.java class Deserializer (line 11) | public class Deserializer implements Callable { method Deserializer (line 14) | public Deserializer(byte[] bytes) { this.bytes = bytes; } method call (line 16) | public Object call() throws Exception { method deserialize (line 20) | public static Object deserialize(final byte[] serialized) throws IOExc... method deserialize (line 25) | public static Object deserialize(final InputStream in) throws ClassNot... method main (line 30) | public static void main(String[] args) throws ClassNotFoundException, ... FILE: src/main/java/ysoserial/GeneratePayload.java class GeneratePayload (line 11) | @SuppressWarnings("rawtypes") method main (line 16) | public static void main(final String[] args) { method printUsage (line 46) | private static void printUsage() { FILE: src/main/java/ysoserial/Serializer.java class Serializer (line 9) | public class Serializer implements Callable { method Serializer (line 11) | public Serializer(Object object) { method call (line 15) | public byte[] call() throws Exception { method serialize (line 19) | public static byte[] serialize(final Object obj) throws IOException { method serialize (line 25) | public static void serialize(final Object obj, final OutputStream out)... FILE: src/main/java/ysoserial/Strings.java class Strings (line 10) | public class Strings { method join (line 11) | public static String join(Iterable strings, String sep, String... method repeat (line 24) | public static String repeat(String str, int num) { method formatTable (line 30) | public static List formatTable(List rows) { class ToStringComparator (line 52) | public static class ToStringComparator implements Comparator { method compare (line 53) | public int compare(Object o1, Object o2) { return o1.toString().comp... FILE: src/main/java/ysoserial/exploit/JBoss.java class JBoss (line 96) | @SuppressWarnings ( { method main (line 101) | public static void main ( String[] args ) { method doRun (line 131) | private static void doRun ( URI u, final Object payloadObject, String ... method cleanup (line 166) | private static void cleanup ( ConnectionProvider instance, ConnectionP... method getConnection (line 204) | private static ConnectionHandlerFactory getConnection ( SocketAddress ... method getChannel (line 248) | private static Channel getChannel ( ConnectionProviderContextImpl cont... method makeVersionedConnection (line 271) | private static VersionedConnection makeVersionedConnection ( Channel c ) method doExploit (line 282) | private static void doExploit ( final Object payloadObject, MBeanServe... class ConsoleLogHandler (line 320) | private static final class ConsoleLogHandler extends Handler { method publish (line 323) | @Override method flush (line 329) | @Override method close (line 335) | @Override class ConnectionHandlerContextImpl (line 339) | @SuppressWarnings({"deprecation"}) method ConnectionHandlerContextImpl (line 345) | public ConnectionHandlerContextImpl ( ConnectionProviderContextImpl ... method remoteClosed (line 350) | public void remoteClosed () {} method getServiceOpenListener (line 353) | public OpenListener getServiceOpenListener ( String serviceType ) { method getRegisteredService (line 358) | public RegisteredService getRegisteredService ( String serviceType ) { method getConnectionProviderContext (line 363) | public ConnectionProviderContext getConnectionProviderContext () { method getConnection (line 368) | public Connection getConnection () { class ConnectionProviderContextImpl (line 374) | private static final class ConnectionProviderContextImpl implements Co... method ConnectionProviderContextImpl (line 382) | public ConnectionProviderContextImpl ( OptionMap opts, String endpoi... method getXnioWorker (line 398) | public XnioWorker getXnioWorker () { method getXnio (line 403) | public Xnio getXnio () { method getExecutor (line 408) | public Executor getExecutor () { method getEndpoint (line 413) | public Endpoint getEndpoint () { method accept (line 418) | public void accept ( ConnectionHandlerFactory connectionHandlerFacto... FILE: src/main/java/ysoserial/exploit/JMXInvokeMBean.java class JMXInvokeMBean (line 16) | public class JMXInvokeMBean { method main (line 18) | public static void main(String[] args) throws Exception { FILE: src/main/java/ysoserial/exploit/JRMPClassLoadingListener.java class JRMPClassLoadingListener (line 28) | public class JRMPClassLoadingListener { method main (line 30) | public static final void main ( final String[] args ) { FILE: src/main/java/ysoserial/exploit/JRMPClient.java class JRMPClient (line 31) | @SuppressWarnings ( { method main (line 36) | public static final void main ( final String[] args ) { method makeDGCCall (line 55) | public static void makeDGCCall ( String hostname, int port, Object pay... class MarshalOutputStream (line 98) | static final class MarshalOutputStream extends ObjectOutputStream { method MarshalOutputStream (line 103) | public MarshalOutputStream (OutputStream out, URL u) throws IOExcept... method MarshalOutputStream (line 108) | MarshalOutputStream ( OutputStream out ) throws IOException { method annotateClass (line 112) | @Override method annotateProxyClass (line 134) | @Override FILE: src/main/java/ysoserial/exploit/JRMPListener.java class JRMPListener (line 45) | @SuppressWarnings ( { method JRMPListener (line 59) | public JRMPListener ( int port, Object payloadObject ) throws NumberFo... method JRMPListener (line 65) | public JRMPListener (int port, String className, URL classpathUrl) thr... method waitFor (line 73) | public boolean waitFor ( int i ) { method close (line 93) | public void close () { method main (line 105) | public static final void main ( final String[] args ) { method run (line 129) | public void run () { method doMessage (line 216) | private void doMessage ( Socket s, DataInputStream in, DataOutputStrea... method doCall (line 244) | private void doCall ( DataInputStream in, DataOutputStream out, Object... method makeDummyObject (line 296) | @SuppressWarnings({"deprecation"}) class Dummy (line 313) | public static class Dummy implements Serializable { FILE: src/main/java/ysoserial/exploit/JSF.java class JSF (line 35) | public class JSF { method main (line 37) | public static void main ( String[] args ) { FILE: src/main/java/ysoserial/exploit/JenkinsCLI.java class JenkinsCLI (line 41) | public class JenkinsCLI { method main (line 42) | public static final void main ( final String[] args ) { method getPropertyCallable (line 73) | public static Callable getPropertyCallable ( final Object prop ) method getCliPort (line 85) | public static InetSocketAddress getCliPort ( String jenkinsUrl ) throw... method openChannel (line 103) | public static Channel openChannel ( InetSocketAddress isa ) throws IOE... FILE: src/main/java/ysoserial/exploit/JenkinsListener.java class JenkinsListener (line 48) | @SuppressWarnings ( { method main (line 53) | public static final void main ( final String[] args ) { method makeIsPresentOnRemoteCallable (line 117) | private static Object makeIsPresentOnRemoteCallable ( int oid, Object ... method parseObjIdAndExploit (line 128) | private static void parseObjIdAndExploit ( final String[] args, final ... method exploit (line 165) | private static void exploit ( InetSocketAddress isa, long obj, int o1,... FILE: src/main/java/ysoserial/exploit/JenkinsReverse.java class JenkinsReverse (line 27) | public class JenkinsReverse { method main (line 29) | public static final void main ( final String[] args ) { FILE: src/main/java/ysoserial/exploit/RMIRegistryExploit.java class RMIRegistryExploit (line 27) | @SuppressWarnings({"rawtypes", "unchecked"}) class TrustAllSSL (line 29) | private static class TrustAllSSL implements X509TrustManager { method getAcceptedIssuers (line 31) | public X509Certificate[] getAcceptedIssuers() { return ANY_CA; } method checkServerTrusted (line 32) | public void checkServerTrusted(final X509Certificate[] c, final Stri... method checkClientTrusted (line 33) | public void checkClientTrusted(final X509Certificate[] c, final Stri... class RMISSLClientSocketFactory (line 36) | private static class RMISSLClientSocketFactory implements RMIClientSoc... method createSocket (line 37) | public Socket createSocket(String host, int port) throws IOException { method main (line 49) | public static void main(final String[] args) throws Exception { method exploit (line 68) | public static void exploit(final Registry registry, FILE: src/main/java/ysoserial/payloads/AspectJWeaver.java class AspectJWeaver (line 41) | @PayloadTest(skip="non RCE") method getObject (line 48) | public Serializable getObject(final String command) throws Exception { method main (line 103) | public static void main(String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/BeanShell1.java class BeanShell1 (line 22) | @SuppressWarnings({ "rawtypes", "unchecked" }) method getObject (line 27) | public PriorityQueue getObject(String command) throws Exception { method main (line 59) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/C3P0.java class C3P0 (line 41) | @PayloadTest ( harness="ysoserial.test.payloads.RemoteClassLoadingTest" ) method getObject (line 45) | public Object getObject ( String command ) throws Exception { class PoolSource (line 62) | private static final class PoolSource implements ConnectionPoolDataSou... method PoolSource (line 67) | public PoolSource ( String className, String url ) { method getReference (line 72) | public Reference getReference () throws NamingException { method getLogWriter (line 76) | public PrintWriter getLogWriter () throws SQLException {return null;} method setLogWriter (line 77) | public void setLogWriter ( PrintWriter out ) throws SQLException {} method setLoginTimeout (line 78) | public void setLoginTimeout ( int seconds ) throws SQLException {} method getLoginTimeout (line 79) | public int getLoginTimeout () throws SQLException {return 0;} method getParentLogger (line 80) | public Logger getParentLogger () throws SQLFeatureNotSupportedExcept... method getPooledConnection (line 81) | public PooledConnection getPooledConnection () throws SQLException {... method getPooledConnection (line 82) | public PooledConnection getPooledConnection ( String user, String pa... method main (line 87) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/Click1.java class Click1 (line 47) | @SuppressWarnings({ "rawtypes", "unchecked" }) method getObject (line 52) | public Object getObject(final String command) throws Exception { method main (line 78) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/Clojure.java class Clojure (line 27) | @Dependencies({"org.clojure:clojure:1.8.0"}) method getObject (line 31) | public Map getObject(final String command) throws Exception { method main (line 70) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/CommonsBeanutils1.java class CommonsBeanutils1 (line 14) | @SuppressWarnings({ "rawtypes", "unchecked" }) method getObject (line 19) | public Object getObject(final String command) throws Exception { method main (line 41) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/CommonsCollections1.java class CommonsCollections1 (line 43) | @SuppressWarnings({"rawtypes", "unchecked"}) method getObject (line 49) | public InvocationHandler getObject(final String command) throws Except... method main (line 80) | public static void main(final String[] args) throws Exception { method isApplicableJavaVersion (line 84) | public static boolean isApplicableJavaVersion() { FILE: src/main/java/ysoserial/payloads/CommonsCollections2.java class CommonsCollections2 (line 27) | @SuppressWarnings({ "rawtypes", "unchecked" }) method getObject (line 32) | public Queue getObject(final String command) throws Exception { method main (line 54) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/CommonsCollections3.java class CommonsCollections3 (line 29) | @SuppressWarnings({"rawtypes", "unchecked", "restriction"}) method getObject (line 35) | public Object getObject(final String command) throws Exception { method main (line 61) | public static void main(final String[] args) throws Exception { method isApplicableJavaVersion (line 65) | public static boolean isApplicableJavaVersion() { FILE: src/main/java/ysoserial/payloads/CommonsCollections4.java class CommonsCollections4 (line 26) | @SuppressWarnings({ "rawtypes", "unchecked", "restriction" }) method getObject (line 31) | public Queue getObject(final String command) throws Exception { method main (line 61) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/CommonsCollections5.java class CommonsCollections5 (line 51) | @SuppressWarnings({"rawtypes", "unchecked"}) method getObject (line 57) | public BadAttributeValueExpException getObject(final String command) t... method main (line 91) | public static void main(final String[] args) throws Exception { method isApplicableJavaVersion (line 95) | public static boolean isApplicableJavaVersion() { FILE: src/main/java/ysoserial/payloads/CommonsCollections6.java class CommonsCollections6 (line 36) | @SuppressWarnings({"rawtypes", "unchecked"}) method getObject (line 41) | public Serializable getObject(final String command) throws Exception { method main (line 106) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/CommonsCollections7.java class CommonsCollections7 (line 35) | @SuppressWarnings({"rawtypes", "unchecked"}) method getObject (line 41) | public Hashtable getObject(final String command) throws Exception { method main (line 84) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/DynamicDependencies.java type DynamicDependencies (line 8) | public interface DynamicDependencies { FILE: src/main/java/ysoserial/payloads/FileUpload1.java class FileUpload1 (line 40) | @Dependencies ( { method isApplicableJavaVersion (line 47) | public static boolean isApplicableJavaVersion() { method getObject (line 51) | public DiskFileItem getObject ( String command ) throws Exception { method release (line 76) | public void release ( DiskFileItem obj ) throws Exception { method copyAndDelete (line 82) | private static DiskFileItem copyAndDelete ( String copyAndDelete, Stri... method write (line 88) | private static DiskFileItem write ( String dir, byte[] data ) throws I... method writePre131 (line 94) | private static DiskFileItem writePre131 ( String file, byte[] data ) t... method makePayload (line 99) | private static DiskFileItem makePayload ( int thresh, String repoPath,... method main (line 115) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/Groovy1.java class Groovy1 (line 29) | @SuppressWarnings({ "rawtypes", "unchecked" }) method getObject (line 34) | public InvocationHandler getObject(final String command) throws Except... method main (line 44) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/Hibernate1.java class Hibernate1 (line 44) | @Authors({ Authors.MBECHLER }) method isApplicableJavaVersion (line 47) | public static boolean isApplicableJavaVersion() { method getDependencies (line 51) | public static String[] getDependencies () { method makeGetter (line 67) | public static Object makeGetter ( Class tplClass, String method ) t... method makeHibernate4Getter (line 76) | public static Object makeHibernate4Getter ( Class tplClass, String ... method makeHibernate5Getter (line 96) | public static Object makeHibernate5Getter ( Class tplClass, String ... method getObject (line 108) | public Object getObject ( String command ) throws Exception { method makeCaller (line 115) | static Object makeCaller ( Object tpl, Object getters ) throws NoSuchM... method makeHibernate45Caller (line 124) | static Object makeHibernate45Caller ( Object tpl, Object getters ) thr... method makeHibernate3Caller (line 148) | static Object makeHibernate3Caller ( Object tpl, Object getters ) thro... method main (line 182) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/Hibernate2.java class Hibernate2 (line 42) | @SuppressWarnings ( { method isApplicableJavaVersion (line 48) | public static boolean isApplicableJavaVersion() { method getDependencies (line 52) | public static String[] getDependencies () { method getObject (line 56) | public Object getObject ( String command ) throws Exception { method main (line 63) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/JBossInterceptors1.java class JBossInterceptors1 (line 31) | @SuppressWarnings({"rawtypes", "unchecked"}) method isApplicableJavaVersion (line 38) | public static boolean isApplicableJavaVersion() { method getObject (line 42) | public Object getObject(final String command) throws Exception { method main (line 87) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/JRMPClient.java class JRMPClient (line 49) | @SuppressWarnings ( { method getObject (line 56) | public Registry getObject ( final String command ) throws Exception { method main (line 80) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/JRMPListener.java class JRMPListener (line 34) | @SuppressWarnings ( { method getObject (line 41) | public UnicastRemoteObject getObject ( final String command ) throws E... method main (line 54) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/JSON1.java class JSON1 (line 59) | @SuppressWarnings ( { method getObject (line 70) | public Map getObject ( String command ) throws Exception { method makeCallerChain (line 78) | public static Map makeCallerChain ( Object payload, Class... ifaces ) ... method main (line 114) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/JavassistWeld1.java class JavassistWeld1 (line 31) | @SuppressWarnings({"rawtypes", "unchecked"}) method isApplicableJavaVersion (line 38) | public static boolean isApplicableJavaVersion() { method getObject (line 42) | public Object getObject(final String command) throws Exception { method main (line 87) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/Jdk7u21.java class Jdk7u21 (line 56) | @SuppressWarnings({ "rawtypes", "unchecked" }) method getObject (line 62) | public Object getObject(final String command) throws Exception { method isApplicableJavaVersion (line 86) | public static boolean isApplicableJavaVersion() { method main (line 91) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/Jython1.java class Jython1 (line 42) | @PayloadTest(skip="non RCE") method getObject (line 48) | public PriorityQueue getObject(String command) throws Exception { method main (line 105) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/MozillaRhino1.java class MozillaRhino1 (line 21) | @SuppressWarnings({"rawtypes", "unchecked"}) method getObject (line 27) | public Object getObject(final String command) throws Exception { method main (line 69) | public static void main(final String[] args) throws Exception { method isApplicableJavaVersion (line 73) | public static boolean isApplicableJavaVersion() { FILE: src/main/java/ysoserial/payloads/MozillaRhino2.java class MozillaRhino2 (line 49) | @SuppressWarnings({"rawtypes", "unchecked"}) method getObject (line 54) | public Object getObject( String command) throws Exception { method customWriteAdapterObject (line 99) | public static void customWriteAdapterObject(Object javaObject, ObjectO... method main (line 105) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/Myfaces1.java class Myfaces1 (line 43) | @PayloadTest(skip="Requires running MyFaces, no direct execution") method getObject (line 47) | public Object getObject ( String command ) throws Exception { method getDependencies (line 52) | public static String[] getDependencies () { method makeExpressionPayload (line 76) | public static Object makeExpressionPayload ( String expr ) throws Ille... method main (line 91) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/Myfaces2.java class Myfaces2 (line 32) | @PayloadTest(harness="ysoserial.test.payloads.MyfacesTest", precondition... method isApplicableJavaVersion (line 35) | public static boolean isApplicableJavaVersion() { method getDependencies (line 39) | public static String[] getDependencies () { method getObject (line 44) | public Object getObject ( String command ) throws Exception { method main (line 67) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/ObjectPayload.java type ObjectPayload (line 13) | @SuppressWarnings ( "rawtypes" ) method getObject (line 20) | public T getObject ( String command ) throws Exception; class Utils (line 22) | public static class Utils { method getPayloadClasses (line 25) | public static Set> getPayloadClasses ... method getPayloadClass (line 38) | @SuppressWarnings ( "unchecked" ) method makePayloadObject (line 59) | public static Object makePayloadObject ( String payloadType, String ... method releasePayload (line 78) | @SuppressWarnings ( "unchecked" ) method releasePayload (line 86) | public static void releasePayload ( String payloadType, Object paylo... FILE: src/main/java/ysoserial/payloads/ROME.java class ROME (line 31) | @Dependencies("rome:rome:1.0") method getObject (line 35) | public Object getObject ( String command ) throws Exception { method main (line 43) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/ReleaseableObjectPayload.java type ReleaseableObjectPayload (line 8) | public interface ReleaseableObjectPayload extends ObjectPayload { method release (line 10) | void release( T obj ) throws Exception; FILE: src/main/java/ysoserial/payloads/Spring1.java class Spring1 (line 50) | @SuppressWarnings({"rawtypes"}) method getObject (line 56) | public Object getObject(final String command) throws Exception { method main (line 77) | public static void main(final String[] args) throws Exception { method isApplicableJavaVersion (line 81) | public static boolean isApplicableJavaVersion() { FILE: src/main/java/ysoserial/payloads/Spring2.java class Spring2 (line 39) | @PayloadTest ( precondition = "isApplicableJavaVersion") method getObject (line 48) | public Object getObject ( final String command ) throws Exception { method main (line 69) | public static void main ( final String[] args ) throws Exception { method isApplicableJavaVersion (line 73) | public static boolean isApplicableJavaVersion() { FILE: src/main/java/ysoserial/payloads/URLDNS.java class URLDNS (line 43) | @SuppressWarnings({ "rawtypes", "unchecked" }) method getObject (line 49) | public Object getObject(final String url) throws Exception { method main (line 64) | public static void main(final String[] args) throws Exception { class SilentURLStreamHandler (line 77) | static class SilentURLStreamHandler extends URLStreamHandler { method openConnection (line 79) | protected URLConnection openConnection(URL u) throws IOException { method getHostAddress (line 83) | protected synchronized InetAddress getHostAddress(URL u) { FILE: src/main/java/ysoserial/payloads/Vaadin1.java class Vaadin1 (line 16) | @Dependencies ( { "com.vaadin:vaadin-server:7.7.14", "com.vaadin:vaadin-... method getObject (line 59) | @Override method isApplicableJavaVersion (line 74) | public static boolean isApplicableJavaVersion() { method main (line 78) | public static void main(final String[] args) throws Exception { FILE: src/main/java/ysoserial/payloads/Wicket1.java class Wicket1 (line 49) | @PayloadTest(harness="ysoserial.test.payloads.FileUploadTest", flaky="po... method getObject (line 54) | public DiskFileItem getObject(String command) throws Exception { method release (line 80) | public void release(DiskFileItem obj) throws Exception { method copyAndDelete (line 83) | private static DiskFileItem copyAndDelete ( String copyAndDelete, Stri... method write (line 88) | private static DiskFileItem write ( String dir, byte[] data ) throws I... method writeOldJRE (line 93) | private static DiskFileItem writeOldJRE(String file, byte[] data) thro... method makePayload (line 97) | private static DiskFileItem makePayload(int thresh, String repoPath, S... method main (line 112) | public static void main ( final String[] args ) throws Exception { FILE: src/main/java/ysoserial/payloads/annotation/Authors.java class Utils (line 31) | public static class Utils { method getAuthors (line 32) | public static String[] getAuthors(AnnotatedElement annotated) { FILE: src/main/java/ysoserial/payloads/annotation/Dependencies.java class Utils (line 14) | public static class Utils { method getDependencies (line 15) | public static String[] getDependencies(AnnotatedElement annotated) { method getDependenciesSimple (line 24) | public static String[] getDependenciesSimple(AnnotatedElement annotate... FILE: src/main/java/ysoserial/payloads/util/ClassFiles.java class ClassFiles (line 7) | public class ClassFiles { method classAsFile (line 8) | public static String classAsFile(final Class clazz) { method classAsFile (line 12) | public static String classAsFile(final Class clazz, boolean suffix) { method classAsBytes (line 25) | public static byte[] classAsBytes(final Class clazz) { FILE: src/main/java/ysoserial/payloads/util/Gadgets.java class Gadgets (line 32) | @SuppressWarnings ( { class StubTransletPayload (line 47) | public static class StubTransletPayload extends AbstractTranslet imple... method transform (line 52) | public void transform ( DOM document, SerializationHandler[] handler... method transform (line 55) | @Override class Foo (line 60) | public static class Foo implements Serializable { method createMemoitizedProxy (line 66) | public static T createMemoitizedProxy ( final Map ... method createMemoizedInvocationHandler (line 71) | public static InvocationHandler createMemoizedInvocationHandler ( fina... method createProxy (line 76) | public static T createProxy ( final InvocationHandler ih, final Cl... method createMap (line 86) | public static Map createMap ( final String key, final ... method createTemplatesImpl (line 93) | public static Object createTemplatesImpl ( final String command ) thro... method createTemplatesImpl (line 106) | public static T createTemplatesImpl ( final String command, Class<... method makeMap (line 140) | public static HashMap makeMap ( Object v1, Object v2 ) throws Exceptio... FILE: src/main/java/ysoserial/payloads/util/JavaVersion.java class JavaVersion (line 8) | public class JavaVersion { method getLocalVersion (line 17) | public static JavaVersion getLocalVersion() { method isAnnInvHUniversalMethodImpl (line 31) | public static boolean isAnnInvHUniversalMethodImpl() { method isBadAttrValExcReadObj (line 36) | public static boolean isBadAttrValExcReadObj() { method isAtLeast (line 41) | public static boolean isAtLeast(int major) { FILE: src/main/java/ysoserial/payloads/util/PayloadRunner.java class PayloadRunner (line 16) | @SuppressWarnings("unused") method run (line 19) | public static void run(final Class> clazz, ... method getDefaultTestCmd (line 45) | private static String getDefaultTestCmd() { method getFirstExistingFile (line 54) | private static String getFirstExistingFile(String ... files) { FILE: src/main/java/ysoserial/payloads/util/Reflections.java class Reflections (line 12) | @SuppressWarnings ( "restriction" ) method setAccessible (line 15) | public static void setAccessible(AccessibleObject member) { method getField (line 30) | public static Field getField(final Class clazz, final String fieldN... method setFieldValue (line 43) | public static void setFieldValue(final Object obj, final String fieldN... method getFieldValue (line 48) | public static Object getFieldValue(final Object obj, final String fiel... method getFirstCtor (line 53) | public static Constructor getFirstCtor(final String name) throws Ex... method newInstance (line 59) | public static Object newInstance(String className, Object ... args) th... method createWithoutConstructor (line 63) | public static T createWithoutConstructor ( Class classToInstant... method createWithConstructor (line 68) | @SuppressWarnings ( {"unchecked"} ) FILE: src/main/java/ysoserial/secmgr/DelegateSecurityManager.java class DelegateSecurityManager (line 7) | @SuppressWarnings({"deprecation"}) method getSecurityManager (line 11) | public SecurityManager getSecurityManager() { method setSecurityManager (line 15) | public void setSecurityManager(SecurityManager securityManager) { method getInCheck (line 21) | @SuppressWarnings({"deprecation"}) method checkTopLevelWindow (line 28) | @SuppressWarnings({"deprecation"}) method checkSystemClipboardAccess (line 35) | @SuppressWarnings({"deprecation"}) method checkAwtEventQueueAccess (line 41) | @SuppressWarnings({"deprecation"}) method checkMemberAccess (line 47) | @SuppressWarnings({"deprecation"}) method getSecurityContext (line 55) | @Override method checkPermission (line 60) | @Override method checkPermission (line 65) | @Override method checkCreateClassLoader (line 70) | @Override method checkAccess (line 75) | @Override method checkAccess (line 80) | @Override method checkExit (line 85) | @Override method checkExec (line 90) | @Override method checkLink (line 95) | @Override method checkRead (line 100) | @Override method checkRead (line 105) | @Override method checkRead (line 110) | @Override method checkWrite (line 115) | @Override method checkWrite (line 120) | @Override method checkDelete (line 125) | @Override method checkConnect (line 130) | @Override method checkConnect (line 135) | @Override method checkListen (line 140) | @Override method checkAccept (line 145) | @Override method checkMulticast (line 150) | @Override method checkMulticast (line 155) | @SuppressWarnings({"deprecation"}) method checkPropertiesAccess (line 161) | @Override method checkPropertyAccess (line 166) | @Override method checkPrintJobAccess (line 171) | @Override method checkPackageAccess (line 176) | @Override method checkPackageDefinition (line 182) | @Override method checkSetFactory (line 187) | @Override method checkSecurityAccess (line 192) | @Override method getThreadGroup (line 197) | @Override FILE: src/main/java/ysoserial/secmgr/ExecCheckingSecurityManager.java class ExecCheckingSecurityManager (line 10) | public class ExecCheckingSecurityManager extends SecurityManager { method ExecCheckingSecurityManager (line 11) | public ExecCheckingSecurityManager() { method ExecCheckingSecurityManager (line 15) | public ExecCheckingSecurityManager(boolean throwException) { method getCmds (line 23) | public List getCmds() { method checkPermission (line 27) | @Override method checkPermission (line 30) | @Override method checkExec (line 33) | @Override class ExecException (line 45) | @SuppressWarnings("serial") method ExecException (line 49) | public ExecException(String cmd) { this.cmd = cmd; } method getCmd (line 50) | public String getCmd() { return cmd; } method getThreadName (line 51) | public String getThreadName() { return threadName; } method getMessage (line 52) | @ method callWrapped (line 59) | public void callWrapped(final Runnable runnable) throws Exception { method callWrapped (line 68) | public T callWrapped(final Callable callable) throws Exception { FILE: src/test/java/ysoserial/CiTest.java class CiTest (line 5) | public class CiTest { method test (line 6) | @Test FILE: src/test/java/ysoserial/test/CustomDeserializer.java type CustomDeserializer (line 8) | public interface CustomDeserializer { method getCustomDeserializer (line 11) | Class getCustomDeserializer (); FILE: src/test/java/ysoserial/test/CustomPayloadArgs.java type CustomPayloadArgs (line 8) | public interface CustomPayloadArgs { method getPayloadArgs (line 11) | String getPayloadArgs (); FILE: src/test/java/ysoserial/test/CustomTest.java type CustomTest (line 9) | public interface CustomTest extends CustomPayloadArgs { method run (line 11) | void run (Callable payload) throws Exception; FILE: src/test/java/ysoserial/test/WrappedTest.java type WrappedTest (line 9) | public interface WrappedTest extends CustomPayloadArgs { method createCallable (line 11) | Callable createCallable ( Callable innerCallable ); FILE: src/test/java/ysoserial/test/exploit/RMIRegistryExploitTest.java class RMIRegistryExploitTest (line 7) | public class RMIRegistryExploitTest { method createRegistry (line 8) | public static void createRegistry(int port) throws RemoteException { method main (line 12) | public static void main(String[] args) throws RemoteException, Interru... FILE: src/test/java/ysoserial/test/payloads/CommandExecTest.java class CommandExecTest (line 12) | public class CommandExecTest implements CustomTest { method run (line 16) | @Override method getPayloadArgs (line 29) | @Override FILE: src/test/java/ysoserial/test/payloads/FileUploadTest.java class FileUploadTest (line 19) | public class FileUploadTest implements CustomTest { method FileUploadTest (line 32) | public FileUploadTest () { method run (line 43) | public synchronized void run ( Callable payload ) throws Excep... method safeDeleteOnExit (line 74) | private static void safeDeleteOnExit(File f) { method getPayloadArgs (line 84) | public String getPayloadArgs () { FILE: src/test/java/ysoserial/test/payloads/JRMPReverseConnectSMTest.java class JRMPReverseConnectSMTest (line 15) | public class JRMPReverseConnectSMTest extends RemoteClassLoadingTest imp... method JRMPReverseConnectSMTest (line 20) | public JRMPReverseConnectSMTest (String command) { method createCallable (line 35) | @Override method getPayloadArgs (line 56) | @Override FILE: src/test/java/ysoserial/test/payloads/JRMPReverseConnectTest.java class JRMPReverseConnectTest (line 18) | public class JRMPReverseConnectTest implements CustomTest { method JRMPReverseConnectTest (line 26) | public JRMPReverseConnectTest () { method run (line 32) | public void run ( Callable payload ) throws Exception { method getPayloadArgs (line 53) | public String getPayloadArgs () { FILE: src/test/java/ysoserial/test/payloads/MyfacesTest.java class MyfacesTest (line 35) | public class MyfacesTest extends RemoteClassLoadingTest implements Custo... method MyfacesTest (line 38) | public MyfacesTest ( String command ) { method getCustomDeserializer (line 44) | public Class getCustomDeserializer () { class MyfacesDeserializer (line 54) | public static final class MyfacesDeserializer extends Deserializer { method getExtraDependencies (line 56) | public static Class[] getExtraDependencies () { class MockRequestContext (line 62) | private static class MockRequestContext implements Answer { method answer (line 67) | public Object answer ( InvocationOnMock invocation ) throws Throwa... class MockELResolver (line 82) | private static class MockELResolver extends ELResolver { method MockELResolver (line 87) | public MockELResolver (ServletRequest req) { method getValue (line 92) | @Override method getType (line 103) | @Override method setValue (line 113) | @Override method isReadOnly (line 119) | @Override method getFeatureDescriptors (line 125) | @Override method getCommonPropertyType (line 131) | @Override method MyfacesDeserializer (line 138) | public MyfacesDeserializer ( byte[] bytes ) { method call (line 143) | @Override method createMockFacesContext (line 161) | private static FacesContext createMockFacesContext () throws Malform... FILE: src/test/java/ysoserial/test/payloads/PayloadsTest.java class PayloadsTest (line 51) | @SuppressWarnings ( { method payloads (line 57) | @Parameters ( name = "payloadClass: {0}" ) method PayloadsTest (line 67) | public PayloadsTest ( Class> payloadClass ) { method testPayload (line 72) | @Test method testPayload (line 78) | public static void testPayload ( final Class makeSerializeCallable ( final Class makeDeserializeCallable ( PayloadTest ... method checkPrecondition (line 177) | private static boolean checkPrecondition ( Class createCallable ( Callable innerCallabl... method getExploitClassName (line 47) | public String getExploitClassName () { method makePayloadClass (line 51) | protected byte[] makePayloadClass () { class RemoteClassLoadingTestCallable (line 66) | static class RemoteClassLoadingTestCallable extends NanoHTTPD implemen... method RemoteClassLoadingTestCallable (line 73) | public RemoteClassLoadingTestCallable ( int port, byte[] data, Calla... method waitFor (line 81) | public void waitFor() throws InterruptedException { method call (line 88) | public Object call () throws Exception { method setup (line 102) | private void setup () throws IOException { method cleanup (line 107) | private void cleanup () { method serve (line 112) | @Override class Exploit (line 126) | public static class Exploit implements Serializable { FILE: src/test/java/ysoserial/test/payloads/TestHarnessTest.java class TestHarnessTest (line 12) | public class TestHarnessTest { method testHarnessExecFail (line 14) | @Test method testHarnessClassLoaderFail (line 26) | @Test method testHarnessExecPass (line 37) | @Test class ExecMockPayload (line 42) | public static class ExecMockPayload implements ObjectPayload { method getObject (line 49) | public Integer getObject(String command) throws Exception { class ExecMockSerializable (line 54) | @SuppressWarnings("serial") method ExecMockSerializable (line 57) | public ExecMockSerializable(String cmd) { this.cmd = cmd; } method readObject (line 59) | private void readObject(final ObjectInputStream ois) throws IOExcept... FILE: src/test/java/ysoserial/test/util/Callables.java class Callables (line 5) | public class Callables { type BeforeAfterCallback (line 6) | public static interface BeforeAfterCallback { method before (line 7) | public void before(); method after (line 8) | public void after(); class Wrapper (line 11) | public static class Wrapper implements Callable { method Wrapper (line 15) | public Wrapper(Callable callable, BeforeAfterCallback callback) { method call (line 20) | @Override method wrap (line 31) | public static Callable wrap(Callable callable, BeforeAfterCa... FILE: src/test/java/ysoserial/test/util/Files.java class Files (line 5) | public class Files { method waitForFile (line 6) | public static void waitForFile(File file, int timeoutMs) throws Interr... FILE: src/test/java/ysoserial/test/util/GadgetsTest.java class GadgetsTest (line 6) | public class GadgetsTest { method test_createTemplatesImpl_noCompilationError (line 7) | @Test FILE: src/test/java/ysoserial/test/util/OS.java type OS (line 3) | public enum OS { method get (line 11) | public static OS get() { method determineOs (line 15) | private static OS determineOs() { method getTmpDir (line 28) | public static String getTmpDir() { FILE: src/test/java/ysoserial/test/util/Throwables.java class Throwables (line 3) | public class Throwables { method getInnermostCause (line 4) | public static Throwable getInnermostCause(final Throwable t) {