// Path: src/org/springframework/remoting/support/RemoteInvocation.java
// public class RemoteInvocation implements Serializable {
// 	//Dummy serialVersionUID
// 	private static final long serialVersionUID = 6876024250231820554L;
// 	
// 	/*******************
// 	 * Properties
// 	 ******************/
// 	public String methodName;
// 	public Class[] parameterTypes;
// 	public Object[] arguments;
// 	public Map<String, Serializable> attributes;
// }


import java.rmi.RemoteException;
import java.rmi.server.RemoteStub;
import org.springframework.remoting.support.RemoteInvocation;
package org.springframework.remoting.rmi;


/***********************************************************
 * RmiInvocationHandler stub for Spring Framework 2
 * attacks.
 * 
 * Written by Nicky Bloor (@NickstaDB).
 **********************************************************/
public class RmiInvocationWrapper_Stub extends RemoteStub implements RmiInvocationHandler {
	//Dummy serialVersionUID
	public static final long serialVersionUID = 2L;
	
	/*******************
	 * Stub to call the remote invoke() method.
	 ******************/
	public Object invoke(RemoteInvocation ri) throws RemoteException {
		try {
// Path: src/org/springframework/remoting/support/RemoteInvocation.java
// public class RemoteInvocation implements Serializable {
// 	//Dummy serialVersionUID
// 	private static final long serialVersionUID = 6876024250231820554L;
// 	
// 	/*******************
// 	 * Properties
// 	 ******************/
// 	public String methodName;
// 	public Class[] parameterTypes;
// 	public Object[] arguments;
// 	public Map<String, Serializable> attributes;
// }


// Path: src/org/springframework/remoting/rmi/RmiInvocationWrapper_Stub.java
import java.rmi.RemoteException;
import java.rmi.server.RemoteStub;
import org.springframework.remoting.support.RemoteInvocation;

package org.springframework.remoting.rmi;


/***********************************************************
 * RmiInvocationHandler stub for Spring Framework 2
 * attacks.
 * 
 * Written by Nicky Bloor (@NickstaDB).
 **********************************************************/
public class RmiInvocationWrapper_Stub extends RemoteStub implements RmiInvocationHandler {
	//Dummy serialVersionUID
	public static final long serialVersionUID = 2L;
	
	/*******************
	 * Stub to call the remote invoke() method.
	 ******************/
	public Object invoke(RemoteInvocation ri) throws RemoteException {
		try {
			Object result = this.ref.invoke(this, RmiInvocationHandler.class.getMethod("invoke", new Class[] {RemoteInvocation.class}), new Object[] { ri }, -5752512342587169831L);