Skip to content

Commit 26f224b

Browse files
committed
Merge branch 'bbrework' of https://github.com/RUB-NDS/TLS-Scanner into bbrework
2 parents 4cecfaa + 8c21d79 commit 26f224b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/main/java/de/rub/nds/tlsscanner/MultiThreadedScanJobExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private void checkProbesDone(List<Future<ProbeResult>> futureResults, ProgressBa
170170
boolean isNotReady = true;
171171
int done = 0;
172172
int tempDone = 0;
173-
while (isNotReady) {
173+
while (isNotReady && futureResults.size() > 0) {
174174
tempDone = 0;
175175
for (Future<ProbeResult> probeResult : futureResults) {
176176
if (probeResult.isDone()) {

src/main/java/de/rub/nds/tlsscanner/TlsScanner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private void fillDefaultProbeLists() {
133133
phaseTwoTestList.add(new RenegotiationProbe(config, parallelExecutor));
134134
phaseTwoTestList.add(new HeartbleedProbe(config, parallelExecutor));
135135
phaseTwoTestList.add(new PaddingOracleProbe(config, parallelExecutor));
136-
//phaseTwoTestList.add(new BleichenbacherProbe(config, parallelExecutor));
136+
phaseTwoTestList.add(new BleichenbacherProbe(config, parallelExecutor));
137137
phaseTwoTestList.add(new PoodleProbe(config, parallelExecutor));
138138
phaseTwoTestList.add(new TlsPoodleProbe(config, parallelExecutor));
139139
phaseTwoTestList.add(new Cve20162107Probe(config, parallelExecutor));

src/main/java/de/rub/nds/tlsscanner/probe/HeartbleedProbe.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ public ProbeResult executeTest() {
5454

5555
@Override
5656
public boolean shouldBeExecuted(SiteReport report) {
57-
for (ExtensionType type : report.getSupportedExtensions()) {
58-
if (type == ExtensionType.HEARTBEAT) {
59-
return true;
57+
if (report.getSupportedExtensions() != null) {
58+
for (ExtensionType type : report.getSupportedExtensions()) {
59+
if (type == ExtensionType.HEARTBEAT) {
60+
return true;
61+
}
6062
}
63+
} else {
64+
return true;
6165
}
6266
return false;
6367
}

0 commit comments

Comments
 (0)