File tree Expand file tree Collapse file tree 11 files changed +14
-1
lines changed
src/main/java/de/rub/nds/tlsscanner/probe Expand file tree Collapse file tree 11 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,6 @@ release.properties
1111dependency-reduced-pom.xml
1212buildNumber.properties
1313.mvn /timing.properties
14+ .classpath
15+ .project
16+ .settings /
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ public ProbeResult executeTest() {
5252 StarttlsDelegate starttlsDelegate = (StarttlsDelegate ) bleichenbacherConfig .getDelegate (StarttlsDelegate .class );
5353 starttlsDelegate .setStarttlsType (scannerConfig .getStarttlsDelegate ().getStarttlsType ());
5454 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
55+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
5556 ((CiphersuiteDelegate ) (bleichenbacherConfig .getDelegate (CiphersuiteDelegate .class ))).setCipherSuites (suiteList );
5657 RSAPublicKey publicKey = (RSAPublicKey ) CertificateFetcher .fetchServerPublicKey (bleichenbacherConfig .createConfig ());
5758 if (publicKey == null ) {
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public ProbeResult executeTest() {
5757 tlsConfig .setDefaultClientSupportedCiphersuites (toTestList );
5858 tlsConfig .setStopActionsAfterFatal (true );
5959 Certificate serverCert = CertificateFetcher .fetchServerCertificate (tlsConfig );
60- CertificateChain chain = new CertificateChain (serverCert , getScannerConfig ().getClientDelegate ().getHost ());
60+ CertificateChain chain = new CertificateChain (serverCert , getScannerConfig ().getClientDelegate ().getSniHostname ());
6161 return new CertificateResult (getType (), chain , serverCert );
6262 }
6363
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public ProbeResult executeTest() {
3636 StarttlsDelegate starttlsDelegate = (StarttlsDelegate ) cve20162106config .getDelegate (StarttlsDelegate .class );
3737 starttlsDelegate .setStarttlsType (scannerConfig .getStarttlsDelegate ().getStarttlsType ());
3838 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
39+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
3940 Cve20162107Attacker attacker = new Cve20162107Attacker (cve20162106config , cve20162106config .createConfig ());
4041 Boolean vulnerable = attacker .isVulnerable ();
4142 return new Cve20162107Result (vulnerable );
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ public ProbeResult executeTest() {
3131 DrownCommandConfig drownCommandConfig = new DrownCommandConfig (getScannerConfig ().getGeneralDelegate ());
3232 ClientDelegate delegate = (ClientDelegate ) drownCommandConfig .getDelegate (ClientDelegate .class );
3333 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
34+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
3435 StarttlsDelegate starttlsDelegate = (StarttlsDelegate ) drownCommandConfig .getDelegate (StarttlsDelegate .class );
3536 starttlsDelegate .setStarttlsType (scannerConfig .getStarttlsDelegate ().getStarttlsType ());
3637 DrownAttacker attacker = new DrownAttacker (drownCommandConfig , drownCommandConfig .createConfig ());
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ public ProbeResult executeTest() {
3131 EarlyCCSCommandConfig earlyCcsCommandConfig = new EarlyCCSCommandConfig (getScannerConfig ().getGeneralDelegate ());
3232 ClientDelegate delegate = (ClientDelegate ) earlyCcsCommandConfig .getDelegate (ClientDelegate .class );
3333 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
34+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
3435 StarttlsDelegate starttlsDelegate = (StarttlsDelegate ) earlyCcsCommandConfig .getDelegate (StarttlsDelegate .class );
3536 starttlsDelegate .setStarttlsType (scannerConfig .getStarttlsDelegate ().getStarttlsType ());
3637 EarlyCCSAttacker attacker = new EarlyCCSAttacker (earlyCcsCommandConfig , earlyCcsCommandConfig .createConfig ());
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ public ProbeResult executeTest() {
4141 HeartbleedCommandConfig heartbleedConfig = new HeartbleedCommandConfig (getScannerConfig ().getGeneralDelegate ());
4242 ClientDelegate delegate = (ClientDelegate ) heartbleedConfig .getDelegate (ClientDelegate .class );
4343 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
44+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
4445 StarttlsDelegate starttlsDelegate = (StarttlsDelegate ) heartbleedConfig .getDelegate (StarttlsDelegate .class );
4546 starttlsDelegate .setStarttlsType (getScannerConfig ().getStarttlsDelegate ().getStarttlsType ());
4647 if (supportedCiphers != null ) {
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ public ProbeResult executeTest() {
4141 InvalidCurveAttackConfig invalidCurveAttackConfig = new InvalidCurveAttackConfig (getScannerConfig ().getGeneralDelegate ());
4242 ClientDelegate delegate = (ClientDelegate ) invalidCurveAttackConfig .getDelegate (ClientDelegate .class );
4343 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
44+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
4445 StarttlsDelegate starttlsDelegate = (StarttlsDelegate ) invalidCurveAttackConfig .getDelegate (StarttlsDelegate .class );
4546 starttlsDelegate .setStarttlsType (scannerConfig .getStarttlsDelegate ().getStarttlsType ());
4647 InvalidCurveAttacker attacker = new InvalidCurveAttacker (invalidCurveAttackConfig , invalidCurveAttackConfig .createConfig ());
@@ -53,6 +54,7 @@ public ProbeResult executeTest() {
5354 starttlsDelegate .setStarttlsType (scannerConfig .getStarttlsDelegate ().getStarttlsType ());
5455 ClientDelegate delegate = (ClientDelegate ) invalidCurveAttackConfig .getDelegate (ClientDelegate .class );
5556 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
57+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
5658 InvalidCurveAttacker attacker = new InvalidCurveAttacker (invalidCurveAttackConfig , invalidCurveAttackConfig .createConfig ());
5759 vulnerableEphemeral = attacker .isVulnerable ();
5860 }
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ public ProbeResult executeTest() {
4949 PaddingOracleCommandConfig paddingOracleConfig = new PaddingOracleCommandConfig (getScannerConfig ().getGeneralDelegate ());
5050 ClientDelegate delegate = (ClientDelegate ) paddingOracleConfig .getDelegate (ClientDelegate .class );
5151 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
52+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
5253 StarttlsDelegate starttlsDelegate = (StarttlsDelegate ) paddingOracleConfig .getDelegate (StarttlsDelegate .class );
5354 starttlsDelegate .setStarttlsType (scannerConfig .getStarttlsDelegate ().getStarttlsType ());
5455 List <PaddingOracleCipherSuiteFingerprint > testResultList = new LinkedList <>();
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ public ProbeResult executeTest() {
3434 PoodleCommandConfig poodleCommandConfig = new PoodleCommandConfig (getScannerConfig ().getGeneralDelegate ());
3535 ClientDelegate delegate = (ClientDelegate ) poodleCommandConfig .getDelegate (ClientDelegate .class );
3636 delegate .setHost (getScannerConfig ().getClientDelegate ().getHost ());
37+ delegate .setSniHostname (getScannerConfig ().getClientDelegate ().getSniHostname ());
3738 StarttlsDelegate starttlsDelegate = (StarttlsDelegate ) poodleCommandConfig .getDelegate (StarttlsDelegate .class );
3839 starttlsDelegate .setStarttlsType (scannerConfig .getStarttlsDelegate ().getStarttlsType ());
3940 PoodleAttacker attacker = new PoodleAttacker (poodleCommandConfig , poodleCommandConfig .createConfig ());
You can’t perform that action at this time.
0 commit comments