mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
fix: propagating mod.started and mod.stopped events
This commit is contained in:
parent
0f427911be
commit
c89123f305
2 changed files with 10 additions and 10 deletions
|
@ -66,10 +66,12 @@ func (mod *EventsStream) viewEndpointEvent(e session.Event) {
|
|||
}
|
||||
|
||||
func (mod *EventsStream) viewModuleEvent(e session.Event) {
|
||||
fmt.Fprintf(mod.output, "[%s] [%s] %s\n",
|
||||
e.Time.Format(mod.timeFormat),
|
||||
tui.Green(e.Tag),
|
||||
e.Data)
|
||||
if *mod.Session.Options.Debug {
|
||||
fmt.Fprintf(mod.output, "[%s] [%s] %s\n",
|
||||
e.Time.Format(mod.timeFormat),
|
||||
tui.Green(e.Tag),
|
||||
e.Data)
|
||||
}
|
||||
}
|
||||
|
||||
func (mod *EventsStream) viewSnifferEvent(e session.Event) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue