mirror of
https://github.com/bettercap/bettercap
synced 2025-07-10 23:33:28 -07:00
new: net.sniff now will parse and print mDNS query responses
This commit is contained in:
parent
3034220f55
commit
00c32c2cc6
2 changed files with 62 additions and 0 deletions
|
@ -45,6 +45,8 @@ func udpParser(ip *layers.IPv4, pkt gopacket.Packet, verbose bool) {
|
|||
|
||||
if dnsParser(ip, pkt, udp) {
|
||||
return
|
||||
} else if mdnsParser(ip, pkt, udp) {
|
||||
return
|
||||
} else if krb5Parser(ip, pkt, udp) {
|
||||
return
|
||||
} else if verbose {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue