pintool2-win.py 文件源码

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

项目:theJunkyard 作者: fevral 项目源码 文件源码
def getCharset(num,addchar):
    char = ""
    charset = { '1': s.ascii_lowercase, 
                '2': s.ascii_uppercase,
                '3': s.digits,
                '4': s.hexdigits,
                '5': s.punctuation,
                '6': s.printable}


    if num is 1:
        return charset['1']
    else:
        num = num.split(',')

    for i in num:
        if 1 <= int(i) <= 6:
            i= '%s' % i
            char += charset[i]
        else:
            print "Number %s out of range." % (i)

    return char+''.join(addchar)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号