最近在提高自己编程能力,拿一些实用的小工具练下。该脚本为python语言,主要涉及模块zipfile,threadings模块。

功能:暴力猜解zip解压密码

#coding: utf-8

import zipfile
import threading

def zipbp(zfile, pwd):
    try:
        zfile.extractall(pwd=pwd)
        print 'password found : %s' % pwd
    except:
        return
def main():
    zfile = zipfile.ZipFile('c.zip')
    pwdall = open('aa.txt')
    for pwda in pwdall.readlines():
        pwd = pwda.strip('\n')
        t = threading.Thread(target=zipbp, args=(zfile, pwd))
        t.start()
        t.join()
if __name__ == '__main__':
    main()

python爆破zip脚本python爆破zip脚本

相关文章:

  • 2021-11-08
  • 2022-02-21
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2021-10-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-02-26
  • 2022-12-23
  • 2021-12-29
相关资源
相似解决方案