hackedteam/vector-applet

View on GitHub
twostage/src-exploit/x/MyORBData.java

Summary

Maintainability
B
6 hrs
Test Coverage
package x;

import org.omg.PortableInterceptor.ORBInitializer;

import com.sun.corba.se.impl.encoding.CodeSetComponentInfo;
import com.sun.corba.se.impl.legacy.connection.USLPort;
import com.sun.corba.se.impl.orbutil.ORBConstants;
import com.sun.corba.se.pept.transport.Acceptor;
import com.sun.corba.se.spi.ior.iiop.GIOPVersion;
import com.sun.corba.se.spi.legacy.connection.ORBSocketFactory;
import com.sun.corba.se.spi.orb.ORBData;
import com.sun.corba.se.spi.orb.StringPair;
import com.sun.corba.se.spi.transport.CorbaContactInfoListFactory;
import com.sun.corba.se.spi.transport.IIOPPrimaryToContactInfo;
import com.sun.corba.se.spi.transport.IORToSocketInfo;
import com.sun.corba.se.spi.transport.ReadTimeouts;

public class MyORBData implements ORBData {

    @Override
    public String acceptorSocketType() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public boolean acceptorSocketUseSelectThreadToWait() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean acceptorSocketUseWorkerThreadForEvent() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean alwaysSendCodeSetServiceContext() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public String connectionSocketType() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public boolean connectionSocketUseSelectThreadToWait() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean connectionSocketUseWorkerThreadForEvent() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean disableDirectByteBufferUse() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public Acceptor[] getAcceptors() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Class<?> getBadServerIdHandler() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public CodeSetComponentInfo getCodeSetComponentInfo() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public CorbaContactInfoListFactory getCorbaContactInfoListFactory() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public short getGIOPAddressDisposition() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public int getGIOPBuffMgrStrategy(GIOPVersion gv) {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public int getGIOPBufferSize() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public int getGIOPFragmentSize() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public short getGIOPTargetAddressPreference() {
        return ORBConstants.ADDR_DISP_HANDLE_ALL;
    }

    @Override
    public GIOPVersion getGIOPVersion() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public int getHighWaterMark() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public IIOPPrimaryToContactInfo getIIOPPrimaryToContactInfo() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public IORToSocketInfo getIORToSocketInfo() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public ORBSocketFactory getLegacySocketFactory() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String getListenOnAllInterfaces() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public int getLowWaterMark() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public int getNumberToReclaim() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public String[] getORBDebugFlags() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String getORBDefaultInitialReference() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String getORBId() {
        return "";
    }

    @Override
    public String getORBInitialHost() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public int getORBInitialPort() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public StringPair[] getORBInitialReferences() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public ORBInitializer[] getORBInitializers() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public String getORBServerHost() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public boolean getORBServerIdPropertySpecified() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public int getORBServerPort() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public boolean getPersistentPortInitialized() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public int getPersistentServerId() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public boolean getPersistentServerIdInitialized() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public int getPersistentServerPort() {
        // TODO Auto-generated method stub
        return 0;
    }

    @Override
    public boolean getServerIsORBActivated() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public com.sun.corba.se.spi.transport.ORBSocketFactory getSocketFactory() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public ReadTimeouts getTransportTCPReadTimeouts() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public USLPort[] getUserSpecifiedListenPorts() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public boolean isJavaSerializationEnabled() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean isLocalOptimizationAllowed() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean useByteOrderMarkers() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean useByteOrderMarkersInEncapsulations() {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean useRepId() {
        // TODO Auto-generated method stub
        return false;
    }

}