__ ___ _____ _ _ _ _
\ \ / (_)_ __ | ___(_) | | | __ _ ___| | __
\ \ /\ / /| | '_ \| |_ | | |_| |/ _` |/ __| |/ /
\ V V / | | | | | _| | | _ | (_| | (__| <
\_/\_/ |_|_| |_|_| |_|_| |_|\__,_|\___|_|\_\
WinFiHack 是我个人尝试重写之前项目 Brute-Hacking-Framework's 的主WiFi破解脚本的娱乐性尝试,该脚本使用 netsh 和原生 Windows 脚本创建了一个 WiFi 暴力破解器。这绝不是快速脚本,也不是实现相同破解的优越方法,但它不需要外部库,只需要 Python 和 Python 脚本。
所需包很少,甚至几乎没有😅。安装命令如下:
pip install rich pyfiglet
就这样。
列出功能如下:
rich 的交互式菜单驱动系统。以下是暴力破解器的工作流程:
sequenceDiagram
participant User
participant Tool
participant Interface
participant Network
participant File
participant Attack
User->>Tool: Provide interface (default: Wi-Fi)
Tool->>Interface: Disconnect all active network connections
Interface->>Network: Search for all available networks
User->>Tool: Set target network
User->>Tool: Input password file (default: ./wordlist/default.txt)
Note over Tool: Ready to run the attack
Tool->>Attack: Begin password loop
loop For each password
Attack->>File: Generate and store custom XML
Attack->>Network: Attempt connection
Network->>Attack: Verify connection (1 packet ping to Google)
alt Ping successful
Attack->>User: Connection established (Success)
else Ping failed
Attack->>User: Output failed
end
end
提供界面:
Wi-Fi。搜索并设置目标:
输入密码文件:
./wordlist/default.txt。运行攻击:
攻击过程:
安装所有包后,只需运行 python main.py,其余就顺其自然了👍。请确保在 Windows 上运行,因为此工具在其他操作系统上无法工作。
界面如下:

贡献方式: