Skip to content

Commit

Permalink
refactor: Rewrite scan result if mitigations are supported
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueSkrillor committed Dec 18, 2023
1 parent 0b8d3d1 commit a0d918d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ func printReport(report *TerrapinVulnerabilityReport) {
if report.IsVulnerable() {
fmt.Println("==> The scanned peer is VULNERABLE to Terrapin.")
} else {
fmt.Println("==> The scanned peer is NOT VULNERABLE to Terrapin. Glad to see this.")
fmt.Println("==> The scanned peer supports Terrapin mitigations and can establish")
fmt.Println(" connections that are NOT VULNERABLE to Terrapin. Glad to see this.")
fmt.Println(" For strict key exchange to take effect, both peers must support it.")
}
}

Expand Down

0 comments on commit a0d918d

Please # to comment.