mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
refact: better sniffer messages
This commit is contained in:
parent
66f6ba8e62
commit
e64a24dd13
5 changed files with 7 additions and 15 deletions
|
@ -52,8 +52,7 @@ func httpParser(ip *layers.IPv4, pkt gopacket.Packet, tcp *layers.TCP) bool {
|
|||
"path": url,
|
||||
"agent": ua,
|
||||
},
|
||||
"[%s] %s %s %s %s %s",
|
||||
vTime(pkt.Metadata().Timestamp),
|
||||
"%s %s %s %s %s",
|
||||
core.W(core.BG_RED+core.FG_BLACK, "http"),
|
||||
vIP(ip.SrcIP),
|
||||
core.W(core.BG_LBLUE+core.FG_BLACK, method),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue