Ice3man543 2021-09-09 19:54:10 +05:30
parent d75a85a68f
commit ee74561bbf
1 changed files with 3 additions and 6 deletions

View File

@ -18,13 +18,10 @@ func Summary(event *output.ResultEvent) string {
template := GetMatchedTemplate(event)
builder := &strings.Builder{}
builder.WriteString("[")
builder.WriteString(template)
builder.WriteString("] [")
builder.WriteString(types.ToString(event.Info.SeverityHolder))
builder.WriteString("] ")
builder.WriteString(types.ToString(event.Info.Name))
builder.WriteString(" found on ")
builder.WriteString(" (")
builder.WriteString(template)
builder.WriteString(") found on ")
builder.WriteString(event.Host)
data := builder.String()
return data