A cross-platform WiFi password brute-forcing tool that works on Windows, macOS, and Linux operating systems.
- Cross-Platform Support: Works on Windows, macOS, and Linux
- Automatic WiFi Interface Detection: Dynamically detects correct WiFi interface on macOS
- WiFi Network Discovery: Displays available WiFi networks
- Brute Force Attack: Dictionary-based password cracking
- Colored Terminal Output: Enhanced user experience with colorama
- Platform-Specific Commands: Uses native networking tools for each OS
- Smart Connection Logic: Improved network connection detection and handling
| Platform | Tools Used | Requirements |
|---|---|---|
| Windows | netsh |
Built-in Windows utility |
| macOS | networksetup, airport |
Built-in macOS utilities |
| Linux | nmcli (NetworkManager) |
NetworkManager package |
- Python 3.6+: Download from python.org
- Git: Download from git-scm.com
# Ubuntu/Debian
sudo apt-get install network-manager
# CentOS/RHEL/Fedora
sudo yum install NetworkManager
# or
sudo dnf install NetworkManagergit clone https://github.com/spider863644/WiFi-Hack
cd WiFi-Hackpip install -r requirements.txt# Basic usage
python3 wifi.py
# For WiFi hacking on macOS/Linux (requires admin privileges)
sudo python3 wifi.py-
Launch the tool:
- Basic usage:
python3 wifi.py - For WiFi hacking:
sudo python3 wifi.py(macOS/Linux)
- Basic usage:
-
Select an option:
[1]Hack WiFi - Start brute force attack (requires admin privileges)[2]Display available networks - Scan for WiFi networks[3]Check version - Show tool version and platform info[4]Report issues - Open GitHub issues page
-
For WiFi hacking:
- Enter the target SSID (network name)
- Provide path to your password wordlist file
- The tool will attempt each password until successful
WiFi-Hack/
├── wifi.py # Main script
├── requirements.txt # Python dependencies
├── README.md # This file
└── config.xml # Generated WiFi profile (Windows only)
- colorama==0.4.6: For colored terminal output
- Educational Use Only: This tool is intended for educational purposes and authorized testing only
- Permission Required: Only use on networks you own or have explicit permission to test
- Responsibility: Users are responsible for complying with local laws and regulations
- Windows: Creates XML profiles for WiFi connections
- macOS:
- Automatically detects WiFi interface (e.g., en0, en1, etc.)
- Requires administrator privileges for network changes (
sudo) - Uses
networksetupandairportutilities
- Linux: Requires NetworkManager service to be running
-
Script stuck in loop or won't start (Fixed in v1.1+)
- Updated connection logic resolves infinite loop issues
- Smart detection of WiFi vs mobile data connections
-
"networksetup not found" (macOS)
- This utility should be built-in. Try running with
sudo
- This utility should be built-in. Try running with
-
Wrong WiFi interface detected (Fixed in v1.1+)
- Script now automatically detects correct WiFi interface
- No longer assumes en0 for all Mac systems
-
"nmcli not found" (Linux)
- Install NetworkManager:
sudo apt-get install network-manager
- Install NetworkManager:
-
Permission denied errors
- Run with administrator/root privileges when necessary
- On macOS/Linux:
sudo python3 wifi.py
-
No networks showing
- Ensure WiFi adapter is enabled
- Check if WiFi scanning requires elevated privileges
- WhatsApp: +2349052863644
- Issues: GitHub Issues
This project is for educational purposes only. Use responsibly and in accordance with local laws.
Developer: Spider Anongreyhat
Team: TermuxHackz Society