def scan(message): print("starting scan") handler = icmpv6.ICMPv6() handler.echoAllNodes() handler.echoAllNodeNames() handler.echoMulticastQuery() handler = dns.DNS() handler.mDNSQuery()
def scan_llmnr(message): if "multicast_report" in message: handler = dns.DNS() for report in message['multicast_report']: if report['multicast_address'] == "ff02::1:3": handler.llmnr_noreceive(message['ip'])