()
The program may have enabled monitor mode on a wireless interface.
        We want to disable this before we exit, so we will do that.
The program may have enabled monitor mode on a wireless interface.
        We want to disable this before we exit, so we will do that.
The program may have enabled monitor mode on a wireless interface . We want to disable this before we exit so we will do that .
def disable_monitor_mode():
    """
        The program may have enabled monitor mode on a wireless interface.
        We want to disable this before we exit, so we will do that.
    """
    global RUN_CONFIG
    if RUN_CONFIG.IFACE_TO_TAKE_DOWN == '': return
    print GR+' [+]'+W+' disabling monitor mode on %s...' % (G+RUN_CONFIG.IFACE_TO_TAKE_DOWN+W),
    stdout.flush()
    call(['airmon-ng', 'stop', RUN_CONFIG.IFACE_TO_TAKE_DOWN], stdout=DN, stderr=DN)
    print 'done'
def disable_monitor_mode ( ) : global RUN_CONFIG if RUN_CONFIG . IFACE_TO_TAKE_DOWN == '' : return print GR + ' [+]' + W + ' disabling monitor mode on %s...' % ( G + RUN_CONFIG . IFACE_TO_TAKE_DOWN + W ) , stdout . flush ( ) call ( [ 'airmon-ng' , 'stop' , RUN_CONFIG . IFACE_TO_TAKE_DOWN ] , stdout = DN , stderr = DN ) print 'done'