Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
Gr1mmie committed Jan 8, 2025
1 parent 2dd89db commit 4cb99eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ func outputCveExplained(cves []types.CVEData) {
gologger.Silent().Msgf("Vulnerability Status: %s", cve.VulnStatus)
gologger.Silent().Msgf("Exploited Remotely: %t", cve.IsRemote)
gologger.Silent().Msgf("POC Available: %t", cve.IsPoc)
if cve.IsPoc == true {
if cve.IsPoc {
gologger.Silent().Msgf("POC(s):")
for _,poc := range cve.Poc {
gologger.Silent().Msgf("\t%s - %s", poc.Source, poc.URL)
Expand All @@ -574,7 +574,7 @@ func outputCveExplained(cves []types.CVEData) {
gologger.Silent().Msgf("\t- %s", patch)
}
}
if cve.IsTemplate == true {
if cve.IsTemplate {
gologger.Silent().Msgf("Nuclei Template:")
gologger.Silent().Msgf("\tPath: %s", cve.NucleiTemplates.TemplatePath)
gologger.Silent().Msgf("\tURL: %s", cve.NucleiTemplates.TemplateURL)
Expand Down

0 comments on commit 4cb99eb

Please sign in to comment.