(net, timeout=2, fake_bcast="ff:ff:ff:ff:ff:fe", **kargs)
return ans,unans
Send ARP who-has requests to determine which hosts are in promiscuous mode
    promiscping(net, iface=conf.iface)
Send ARP who-has requests to determine which hosts are in promiscuous mode
    promiscping(net, iface=conf.iface)
Send ARP who - has requests to determine which hosts are in promiscuous mode promiscping ( net iface = conf . iface )
def promiscping(net, timeout=2, fake_bcast="ff:ff:ff:ff:ff:fe", **kargs):
    """Send ARP who-has requests to determine which hosts are in promiscuous mode
    promiscping(net, iface=conf.iface)"""
    ans,unans = srp(Ether(dst=fake_bcast)/ARP(pdst=net),
                    filter="arp and arp[7] = 2", timeout=timeout, iface_hint=net, **kargs)
    ans = ARPingResult(ans.res, name="PROMISCPing")

    ans.display()
    return ans,unans
def promiscping ( net , timeout = 2 , fake_bcast = "ff:ff:ff:ff:ff:fe" , * * kargs ) : ans , unans = srp ( Ether ( dst = fake_bcast ) / ARP ( pdst = net ) , filter = "arp and arp[7] = 2" , timeout = timeout , iface_hint = net , * * kargs ) ans = ARPingResult ( ans . res , name = "PROMISCPing" ) ans . display ( ) return ans , unans