twostage/src-exploit/x/MyObjectKeyFactory.java
package x;
import org.omg.CORBA_2_3.portable.InputStream;
import com.sun.corba.se.spi.ior.ObjectKey;
import com.sun.corba.se.spi.ior.ObjectKeyFactory;
import com.sun.corba.se.spi.ior.ObjectKeyTemplate;
public class MyObjectKeyFactory implements ObjectKeyFactory {
@Override
public ObjectKey create(byte[] key) {
return new MyObjectKey();
}
@Override
public ObjectKeyTemplate createTemplate(InputStream is) {
return null;
}
}