xmlrpc-bruteforcer.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:xmlrpc-bruteforcer 作者: AresS31 项目源码 文件源码
def signal_handler(signum, *kwargs):
    """ A handler for various interrupts 
    """

    global exit_flag
    exit_flag = True

    if signum == signal.SIGINT:
        print(ERROR + "user quit" + Style.RESET_ALL) 
    else:
        print(ERROR + "signal caught: {}".format(signum) + Style.RESET_ALL)

    print("[*] shutting down at {}".format(time.ctime()))
    # let time for the threads to terminate
    time.sleep(2)
    sys.exit(0)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号