mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
refact: minor refactoring
This commit is contained in:
parent
dc58fbbb36
commit
acf1e8b612
4 changed files with 10 additions and 8 deletions
|
@ -31,7 +31,7 @@ func httpParser(ip *layers.IPv4, pkt gopacket.Packet, tcp *layers.TCP) bool {
|
|||
}
|
||||
url += fmt.Sprintf("%s", string(m[2]))
|
||||
|
||||
fmt.Printf("[%s] %s %s %s %s\n",
|
||||
SniffPrinter("[%s] %s %s %s %s\n",
|
||||
vTime(pkt.Metadata().Timestamp),
|
||||
core.W(core.BG_RED+core.FG_BLACK, "http"),
|
||||
vIP(ip.SrcIP),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue