fix: fixed various sniffer parsers

This commit is contained in:
evilsocket 2018-02-23 12:25:14 +01:00
parent c5baa7a077
commit b36bf4376c
7 changed files with 9 additions and 18 deletions

View file

@ -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),