RepositoryPythonBDBangladesh
Gtajisan

Gtajisan/FARHAN-Shot

**About Run WPS PIN attacks (Pixie Dust, online bruteforce, PIN prediction) without monitor mode with the wpa_supplicant**

182stars
34forks
9issues
0views
  ___  _   ____  _  _   __   _  _     ____  _  _   __  ____
 / __)( ) (  _ \( )( ) / _\ ( \( )   / ___)( )( ) /  \(_  _)
( (__  )(  ) __/ )() (/    \ )  (    \___ \ )__(  (  O ) )(
 \___)(__)(__)  \____/ \_/\_/(_)\_)   (____/(_)(_) \__/ (__)

FARHAN-Shot — WPS Penetration Testing Tool

Version Platform License Author

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.

AttackFlagSpeed
Pixie Dust — offline PIN crack-KFast
PIN Bruteforce — ~11k combinations-BSlow
Push-Button Connect — no PIN--pbcInstant

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

FlagWhat it does
-iWireless interface (auto-detected if omitted)
-bTarget BSSID — skips scan
-KPixie Dust attack
-BPIN Bruteforce
--pbcPush-Button Connect
-pUse a specific PIN
--all-pinsTry all 108+ algorithm PINs
--scan-onlyScan and exit
--channelLimit scan to one channel
-FForce full PIN range in Pixie Dust
-wSave credentials to file
-oExport results to JSON
-dDelay between attempts (seconds)
--timeoutWPS timeout per attempt (default: 30s)
-lLoop back to scan after each attack
-vVerbose wpa_supplicant output
--no-colorStrip colors (good for logging)
--mtk-wifiMediaTek driver fix (Android)
--iface-downBring interface down on exit

Troubleshooting

ProblemFix
RF-kill blockedsudo rfkill unblock wifi
Interface busysudo systemctl stop NetworkManager
wpa_supplicant socket errorsudo pkill wpa_supplicant then retry
pixiewps not foundsudo apt install pixiewps or pkg install pixiewps
Interface disappears (MediaTek)Add --mtk-wifi
Pixie Dust fails to find PINTry -F or --timeout 60
WPS lockedUse -K — needs only one handshake
No networks foundRetry: sudo python3 main.py --scan-only

Screenshots

 


Credits

DRYGDRYGCore OneShot architecture
rofl0rInitial OneShot implementation
Wiirepixiewps
fr0stb1rdWPS PIN algorithms
GtajisanFARHAN-Shot — all enhancements

YouTube  ·  GitHub

 

Built for security professionals. Use responsibly.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
Gtajisan/farhan_wifihack

Hack wifi using termux (rooted).

70
Nov 22, 2025
RepositoryPython
akashblackhat/wifi-hacking.py

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 ,

558
Mar 4, 2025
RepositoryPowerShell
EOF7/bruteforce-WiFi

Windows PowerShell Brute-Force Password Tester for WiFi Networks

59
Apr 5, 2025
RepositoryPython
sherlock-project/sherlock

Hunt down social media accounts by username across social networks

120.3k
Dec 2, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
Repository
awesome-selfhosted/awesome-selfhosted

A list of Free Software network services and web applications which can be hosted on your own servers

342.5k
Nov 28, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryMarkdown
DigitalPlatDev/FreeDomain

Free domain registration and practical DNS learning resources for everyone.

209.9k
Aug 12, 2026
Repository
jlevy/the-art-of-command-line

Master the command line, in one page

162.8k
Jun 25, 2024