dpc-hashcrack.py 文件源码

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

项目:darkc0de-old-stuff 作者: tuwid 项目源码 文件源码
def bottomtotop(crack): 
    k = 0 
    big = len(asshole) - len(asshole)/2 
    while k < (big): 
        if len(crack) == 32: 
            if crack == md5(asshole[-k]): 
                print "\n\t[p2] 3===D  passwd is = %s\n"%asshole[-k] 
                break 
        elif len(crack) == 40: 
                        if crack == sha1(asshole[-k]): 
                                print "\n\t[p2] 3===D  passwd is = %s\n"%asshole[-k] 
                                break 
                elif len(crack) == 56: 
                        if crack == sha224(asshole[-k]): 
                                print "\n\t[p2] 3===D  passwd is = %s\n"%asshole[-k] 
                                break 
                elif len(crack) == 64: 
                        if crack == sha256(asshole[-k]): 
                                print "\n\t[p2] 3===D  passwd is = %s\n"%asshole[-k] 
                                break 
                elif len(crack) == 96: 
                        if crack == sha384(asshole[-k]): 
                                print "\n\t[p2] 3===D  passwd is = %s\n"%asshole[-k] 
                                break 
                elif len(crack) == 128: 
                        if crack == sha512(asshole[-k]): 
                                print "\n\t[p2] 3===D  passwd is = %s\n"%asshole[-k] 
                                break 
        else: 
            sys.exit() 
        k += 1
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号