mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46: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
|
@ -39,8 +39,7 @@ func sniParser(ip *layers.IPv4, pkt gopacket.Packet, tcp *layers.TCP) bool {
|
|||
SniffData{
|
||||
"Domain": domain,
|
||||
},
|
||||
"[%s] %s %s > %s",
|
||||
vTime(pkt.Metadata().Timestamp),
|
||||
"%s %s > %s",
|
||||
core.W(core.BG_YELLOW+core.FG_WHITE, "sni"),
|
||||
vIP(ip.SrcIP),
|
||||
core.Yellow("https://"+domain),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue