mirror of
https://github.com/bettercap/bettercap
synced 2025-07-30 11:40:33 -07:00
misc: using script to detect karma attacks
This commit is contained in:
parent
bfe307ffe6
commit
6aa8f45d20
2 changed files with 45 additions and 18 deletions
|
@ -127,7 +127,9 @@ func (mod *EventsStream) Render(output io.Writer, e session.Event) {
|
|||
mod.viewSynScanEvent(output, e)
|
||||
} else if e.Tag == "update.available" {
|
||||
mod.viewUpdateEvent(output, e)
|
||||
} else {
|
||||
} else if strings.HasPrefix(e.Tag, "graph.") {
|
||||
mod.viewGraphEvent(output, e)
|
||||
} else if e.Tag != "tick" {
|
||||
fmt.Fprintf(output, "[%s] [%s] %v\n", e.Time.Format(mod.timeFormat), tui.Green(e.Tag), e)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue