mirror of
https://github.com/bettercap/bettercap
synced 2025-07-12 16:13:48 -07:00
fix: fixed various sniffer parsers
This commit is contained in:
parent
c5baa7a077
commit
b36bf4376c
7 changed files with 9 additions and 18 deletions
|
@ -39,10 +39,7 @@ func dnsParser(ip *layers.IPv4, pkt gopacket.Packet, udp *layers.UDP) bool {
|
|||
"dns",
|
||||
ip.SrcIP.String(),
|
||||
ip.DstIP.String(),
|
||||
SniffData{
|
||||
"Hostname": hostname,
|
||||
"Addresses": ips,
|
||||
},
|
||||
nil,
|
||||
"%s %s > %s : %s is %s",
|
||||
core.W(core.BG_DGRAY+core.FG_WHITE, "dns"),
|
||||
vIP(ip.SrcIP),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue