Skip to content

Commit

Permalink
Merge pull request #74 from tls-attacker/fix/serialization
Browse files Browse the repository at this point in the history
Added workaround for TLS-Scanner result recursion again
  • Loading branch information
mmaehren authored Feb 19, 2024
2 parents 7722129 + 60fe280 commit ae7110e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import de.rub.nds.anvilcore.context.AnvilContext;
import de.rub.nds.anvilcore.junit.extension.EndpointConditionExtension;
import de.rub.nds.scanner.core.probe.ProbeType;
import de.rub.nds.scanner.core.probe.result.TestResults;
import de.rub.nds.tlsattacker.core.config.Config;
import de.rub.nds.tlsattacker.core.config.delegate.GeneralDelegate;
import de.rub.nds.tlsattacker.core.connection.OutboundConnection;
Expand All @@ -23,6 +24,7 @@
import de.rub.nds.tlsattacker.transport.tcp.ServerTcpTransportHandler;
import de.rub.nds.tlsscanner.clientscanner.config.ClientScannerConfig;
import de.rub.nds.tlsscanner.clientscanner.execution.TlsClientScanner;
import de.rub.nds.tlsscanner.core.constants.TlsAnalyzedProperty;
import de.rub.nds.tlsscanner.core.constants.TlsProbeType;
import de.rub.nds.tlsscanner.serverscanner.config.ServerScannerConfig;
import de.rub.nds.tlsscanner.serverscanner.execution.TlsServerScanner;
Expand Down Expand Up @@ -306,6 +308,7 @@ private void serverTestPreparation() {
new TlsServerScanner(scannerConfig, testContext.getStateExecutor());

ServerReport serverReport = scanner.scan();
serverReport.putResult(TlsAnalyzedProperty.HTTPS_HEADER, TestResults.ERROR_DURING_TEST);
FeatureExtractionResult report =
ServerFeatureExtractionResult.fromServerScanReport(serverReport);
saveToCache(report);
Expand Down

0 comments on commit ae7110e

Please sign in to comment.