Ejemplo n.º 1
0
def scan(message):
    print("starting scan")
    handler = icmpv6.ICMPv6()
    handler.echoAllNodes()
    handler.echoAllNodeNames()
    handler.echoMulticastQuery()
    handler = dns.DNS()
    handler.mDNSQuery()
Ejemplo n.º 2
0
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'])