Skip to content

Commit

Permalink
fix badkey output line
Browse files Browse the repository at this point in the history
  • Loading branch information
hdm committed Aug 30, 2024
1 parent 995aa2b commit 2fc30ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/check_hostkeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func sshCheckBadKeysBlocklist(addr string, conf *ScanConfig, options *auth.Optio
continue
}

conf.Logger.Warnf("%s %s is using a compromised hostkey: %s)", addr, tname, bkr.ToURL())
conf.Logger.Warnf("%s %s found compromised hostkey: %s", addr, tname, bkr.ToURL())

root.AddVuln(auth.VulnResult{
ID: "badkeys-" + bkr.RepoType + "-" + bkr.Repo + "-" + bkr.RepoPath + "-" + hkt,
Expand Down

0 comments on commit 2fc30ac

Please sign in to comment.