mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
refact: better sniffer messages
This commit is contained in:
parent
66f6ba8e62
commit
e64a24dd13
5 changed files with 7 additions and 15 deletions
|
@ -37,11 +37,9 @@ func (s EventsStream) viewModuleEvent(e session.Event) {
|
|||
|
||||
func (s EventsStream) viewSnifferEvent(e session.Event) {
|
||||
se := e.Data.(SnifferEvent)
|
||||
fmt.Printf("[%s] [%s] %s > %s | %s\n",
|
||||
fmt.Printf("[%s] [%s] %s\n",
|
||||
e.Time.Format(eventTimeFormat),
|
||||
core.Green(e.Tag),
|
||||
se.Source,
|
||||
se.Destination,
|
||||
se.Message)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue