BangladeshGtajisan/FARHAN-Shot
**About Run WPS PIN attacks (Pixie Dust, online bruteforce, PIN prediction) without monitor mode with the wpa_supplicant**
___ _ ____ _ _ __ _ _ ____ _ _ __ ____
/ __)( ) ( _ \( )( ) / _\ ( \( ) / ___)( )( ) / \(_ _)
( (__ )( ) __/ )() (/ \ ) ( \___ \ )__( ( O ) )(
\___)(__)(__) \____/ \_/\_/(_)\_) (____/(_)(_) \__/ (__)
FARHAN-Shot — WPS Penetration Testing Tool
For authorized security testing only. Do not use on networks you don't own.
What It Does
FARHAN-Shot automates WPS attacks against Wi-Fi routers. No monitor mode needed — runs in managed mode via wpa_supplicant.
| Attack | Flag | Speed |
|---|---|---|
| Pixie Dust — offline PIN crack | -K | Fast |
| PIN Bruteforce — ~11k combinations | -B | Slow |
| Push-Button Connect — no PIN | --pbc | Instant |
Requirements
Python 3.6+ wpa_supplicant pixiewps iw Root/sudo
Installation
Linux / Kali
sudo apt install -y wpasupplicant pixiewps iw python3
git clone --depth 1 https://github.com/Gtajisan/FARHAN-Shot.git
cd FARHAN-Shot
sudo python3 main.py --help
Android / Termux — One-liner
curl -sSf https://raw.githubusercontent.com/Gtajisan/FARHAN-Shot_Termux_installer/master/installer.sh | bash
Android / Termux — Manual
pkg update && pkg upgrade -y
pkg install root-repo git tsu python wpa-supplicant pixiewps iw openssl -y
termux-setup-storage
git clone --depth 1 https://github.com/Gtajisan/FARHAN-Shot.git
cd FARHAN-Shot
sudo python3 main.py -i wlan0 -K
Update / Uninstall
cd FARHAN-Shot && git pull # update
sudo rm -rf FARHAN-Shot # uninstall
asking root issus fix
curl -sSf https://raw.githubusercontent.com/Gtajisan/FARHAN-Shot/refs/heads/dev/su.sh | bash # fix
Usage
sudo python3 main.py [OPTIONS]
# Scan nearby networks and attack
sudo python3 main.py -K
# Specify interface
sudo python3 main.py -i wlan0 -K
# Target a specific router
sudo python3 main.py -i wlan0 -b AA:BB:CC:DD:EE:FF -K
# Bruteforce
sudo python3 main.py -i wlan0 -b AA:BB:CC:DD:EE:FF -B
# Scan only — no attack
sudo python3 main.py --scan-only
# Save results
sudo python3 main.py -i wlan0 -b AA:BB:CC:DD:EE:FF -K -w -o results.json
Android tip: Turn Wi-Fi off → enable Hotspot → enable Location → run as root.
Options
| Flag | What it does |
|---|---|
-i | Wireless interface (auto-detected if omitted) |
-b | Target BSSID — skips scan |
-K | Pixie Dust attack |
-B | PIN Bruteforce |
--pbc | Push-Button Connect |
-p | Use a specific PIN |
--all-pins | Try all 108+ algorithm PINs |
--scan-only | Scan and exit |
--channel | Limit scan to one channel |
-F | Force full PIN range in Pixie Dust |
-w | Save credentials to file |
-o | Export results to JSON |
-d | Delay between attempts (seconds) |
--timeout | WPS timeout per attempt (default: 30s) |
-l | Loop back to scan after each attack |
-v | Verbose wpa_supplicant output |
--no-color | Strip colors (good for logging) |
--mtk-wifi | MediaTek driver fix (Android) |
--iface-down | Bring interface down on exit |
Troubleshooting
| Problem | Fix |
|---|---|
| RF-kill blocked | sudo rfkill unblock wifi |
| Interface busy | sudo systemctl stop NetworkManager |
| wpa_supplicant socket error | sudo pkill wpa_supplicant then retry |
| pixiewps not found | sudo apt install pixiewps or pkg install pixiewps |
| Interface disappears (MediaTek) | Add --mtk-wifi |
| Pixie Dust fails to find PIN | Try -F or --timeout 60 |
| WPS locked | Use -K — needs only one handshake |
| No networks found | Retry: sudo python3 main.py --scan-only |
Screenshots
Credits
| DRYGDRYG | Core OneShot architecture |
| rofl0r | Initial OneShot implementation |
| Wiire | pixiewps |
| fr0stb1rd | WPS PIN algorithms |
| Gtajisan | FARHAN-Shot — all enhancements |
Similar Projects
Discover other similar projects and AI models.
Cyber Security Tool For Hacking Wireless Connections Using Built-In Kali Tools. Supports All Securities (WEP, WPS, WPA, WPA2/TKIP/IES) hacking is not a crime it's a skills ,
Windows PowerShell Brute-Force Password Tester for WiFi Networks
Hunt down social media accounts by username across social networks
Reverse engineer anything with agents, from app behavior down to native binaries.
A list of Free Software network services and web applications which can be hosted on your own servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Free domain registration and practical DNS learning resources for everyone.