def any_callback(sender):
    """
    Callback function to take action following Hashcat aborting
    """
    logger.debug('Callback Triggered: Any')
    hc_state = sender.status_get_status_string()
    logger.debug('Hashcat status: {}'.format(hc_state))
    #if hc_state == 'Bypass':
    #    sender.hashcat_session_quit()
    #if hc_state == "Aborted":
    #    event_log = sender.hashcat_status_get_log()
    #    raise ValueError('Aborted: {}'.format(event_log))

    Callback function to take action following Hashcat aborting
    
crackq/run_hashcat.py