()
return should_we_exit
Promps user to decide if they want to exit, 
        skip to cracking WPA handshakes,
        or continue attacking the remaining targets (if applicable).
        returns True if user chose to exit complete, False otherwise
Promps user to decide if they want to exit, 
        skip to cracking WPA handshakes,
        or continue attacking the remaining targets (if applicable).
        returns True if user chose to exit complete, False otherwise
Promps user to decide if they want to exit skip to cracking WPA handshakes or continue attacking the remaining targets ( if applicable ) . returns True if user chose to exit complete False otherwise
def attack_interrupted_prompt():
    """
        Promps user to decide if they want to exit, 
        skip to cracking WPA handshakes,
        or continue attacking the remaining targets (if applicable).
        returns True if user chose to exit complete, False otherwise
    """
    global RUN_CONFIG
    should_we_exit = False
    # If there are more targets to attack, ask what to do next
    if RUN_CONFIG.TARGETS_REMAINING > 0:
        options = ''
        print GR+"\n [+] %s%d%s target%s remain%s" % (G, RUN_CONFIG.TARGETS_REMAINING, W,
                                '' if RUN_CONFIG.TARGETS_REMAINING == 1 else 's', 
                                's' if RUN_CONFIG.TARGETS_REMAINING == 1 else '')
        print GR+" [+]"+W+" what do you want to do?"
        options += G+'c'+W
        print G+"     [c]ontinue"+W+" attacking targets"
        
        if len(RUN_CONFIG.WPA_CAPS_TO_CRACK) > 0:
            options += W+', '+O+'s'+W
            print O+"     [s]kip"+W+" to cracking WPA cap files"
        options += W+', or '+R+'e'+W
        print R+"     [e]xit"+W+" completely"
        ri = ''
        while ri != 'c' and ri != 's' and ri != 'e': 
            ri = raw_input(GR+' [+]'+W+' please make a selection (%s): ' % options)
        
        if ri == 's':
            RUN_CONFIG.TARGETS_REMAINING = -1 # Tells start() to ignore other targets, skip to cracking
        elif ri == 'e':
            should_we_exit = True
    return should_we_exit
def attack_interrupted_prompt ( ) : global RUN_CONFIG should_we_exit = False # If there are more targets to attack, ask what to do next if RUN_CONFIG . TARGETS_REMAINING > 0 : options = '' print GR + "\n [+] %s%d%s target%s remain%s" % ( G , RUN_CONFIG . TARGETS_REMAINING , W , '' if RUN_CONFIG . TARGETS_REMAINING == 1 else 's' , 's' if RUN_CONFIG . TARGETS_REMAINING == 1 else '' ) print GR + " [+]" + W + " what do you want to do?" options += G + 'c' + W print G + "     [c]ontinue" + W + " attacking targets" if len ( RUN_CONFIG . WPA_CAPS_TO_CRACK ) > 0 : options += W + ', ' + O + 's' + W print O + "     [s]kip" + W + " to cracking WPA cap files" options += W + ', or ' + R + 'e' + W print R + "     [e]xit" + W + " completely" ri = '' while ri != 'c' and ri != 's' and ri != 'e' : ri = raw_input ( GR + ' [+]' + W + ' please make a selection (%s): ' % options ) if ri == 's' : RUN_CONFIG . TARGETS_REMAINING = - 1 # Tells start() to ignore other targets, skip to cracking elif ri == 'e' : should_we_exit = True return should_we_exit