/** * * @param delegate */ public DrownCommandConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); addDelegate(clientDelegate); }
@Override public void applyDelegate(Config config) { config.setDefaulRunningMode(RunningModeType.CLIENT); if (host == null) { // Though host is a required parameter we can get here if // we call applyDelegate manually, e.g. in tests. throw new ParameterException("Could not parse provided host: " + host); } OutboundConnection con = config.getDefaultClientConnection(); if (con == null) { con = new OutboundConnection(); config.setDefaultClientConnection(con); } String[] parsedHost = host.split(":"); switch (parsedHost.length) { case 1: con.setHostname(host); break; case 2: con.setHostname(parsedHost[0]); con.setPort(parsePort(parsedHost[1])); break; default: throw new ParameterException("Could not parse provided host: " + host); } }
/** * * @param delegate */ public Cve20162107CommandConfig(GeneralDelegate delegate) { super(delegate); versions = new LinkedList<>(); versions.add(ProtocolVersion.TLS10); versions.add(ProtocolVersion.TLS11); versions.add(ProtocolVersion.TLS12); clientDelegate = new ClientDelegate(); cipherSuiteDelegate = new CiphersuiteDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); starttlsDelegate = new StarttlsDelegate(); addDelegate(clientDelegate); addDelegate(cipherSuiteDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(starttlsDelegate); }
/** * * @param delegate */ public PoodleCommandConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); starttlsDelegate = new StarttlsDelegate(); cipherSuiteDelegate = new CiphersuiteDelegate(); addDelegate(clientDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(starttlsDelegate); addDelegate(cipherSuiteDelegate); }
/** * * @param delegate */ public EarlyFinishedCommandConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); ciphersuiteDelegate = new CiphersuiteDelegate(); protocolVersionDelegate = new ProtocolVersionDelegate(); addDelegate(clientDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(ciphersuiteDelegate); addDelegate(protocolVersionDelegate); }
/** * * @param delegate */ public EarlyCCSCommandConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); ciphersuiteDelegate = new CiphersuiteDelegate(); protocolVersionDelegate = new ProtocolVersionDelegate(); addDelegate(clientDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(ciphersuiteDelegate); addDelegate(protocolVersionDelegate); }
/** * * @param delegate */ public TLSPoodleCommandConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); ciphersuiteDelegate = new CiphersuiteDelegate(); protocolVersionDelegate = new ProtocolVersionDelegate(); starttlsDelegate = new StarttlsDelegate(); addDelegate(clientDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(ciphersuiteDelegate); addDelegate(protocolVersionDelegate); addDelegate(starttlsDelegate); }
/** * * @param delegate */ public PaddingOracleCommandConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); ciphersuiteDelegate = new CiphersuiteDelegate(); protocolVersionDelegate = new ProtocolVersionDelegate(); starttlsDelegate = new StarttlsDelegate(); addDelegate(clientDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(ciphersuiteDelegate); addDelegate(protocolVersionDelegate); addDelegate(starttlsDelegate); }
/** * * @param delegate */ public PskBruteForcerAttackServerCommandConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); ciphersuiteDelegate = new CiphersuiteDelegate(); protocolVersionDelegate = new ProtocolVersionDelegate(); attackDelegate = new AttackDelegate(); addDelegate(clientDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(ciphersuiteDelegate); addDelegate(protocolVersionDelegate); addDelegate(attackDelegate); }
/** * * @param delegate */ public HeartbleedCommandConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); ciphersuiteDelegate = new CiphersuiteDelegate(); protocolVersionDelegate = new ProtocolVersionDelegate(); starttlsDelegate = new StarttlsDelegate(); addDelegate(clientDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(ciphersuiteDelegate); addDelegate(protocolVersionDelegate); addDelegate(starttlsDelegate); }
/** * * @param delegate */ public InvalidCurveAttackConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); ciphersuiteDelegate = new CiphersuiteDelegate(); protocolVersionDelegate = new ProtocolVersionDelegate(); attackDelegate = new AttackDelegate(); starttlsDelegate = new StarttlsDelegate(); addDelegate(clientDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(ciphersuiteDelegate); addDelegate(protocolVersionDelegate); addDelegate(attackDelegate); addDelegate(starttlsDelegate); }
/** * * @param delegate */ public BleichenbacherCommandConfig(GeneralDelegate delegate) { super(delegate); clientDelegate = new ClientDelegate(); hostnameExtensionDelegate = new HostnameExtensionDelegate(); ciphersuiteDelegate = new CiphersuiteDelegate(); protocolVersionDelegate = new ProtocolVersionDelegate(); attackDelegate = new AttackDelegate(); starttlsDelegate = new StarttlsDelegate(); addDelegate(clientDelegate); addDelegate(hostnameExtensionDelegate); addDelegate(ciphersuiteDelegate); addDelegate(protocolVersionDelegate); addDelegate(attackDelegate); addDelegate(starttlsDelegate); }
this.ellipticCurveDelegate = new NamedGroupsDelegate(); this.protocolVersionDelegate = new ProtocolVersionDelegate(); this.clientDelegate = new ClientDelegate(); this.signatureAndHashAlgorithmDelegate = new SignatureAndHashAlgorithmDelegate(); this.transportHandlerDelegate = new TransportHandlerDelegate();