You are here: Home » Wireless Attacks » OneShot


OneShot Description

OneShot is a Python script that performs a Pixie Dust attack without having to switch a Wi-Fi adapter to monitor mode. To obtain the necessary data, wpa_supplicant is used.


  • Python 3.6 and above;
  • Wpa supplicant;
  • Pixiewps.

Homepage: (current mod), (original version)

Author: rofl0r, moded by drygdryg

License: ?

OneShot Help

Usage: <arguments>


Required Arguments:
    -i, --interface=<wlan0>  : Name of the interface to use
    -b, --bssid=<mac>        : BSSID of the target AP

Optional Arguments:
    -p, --pin=<wps pin>      : Use the specified pin (arbitrary string or 4/8 digit pin)
    -K, --pixie-dust         : Run Pixie Dust attack
    -F, --force              : Run Pixiewps with --force option (bruteforce full range)
    -X                       : Always print Pixiewps command
    -v                       : Verbose output

Usage Example OneShot

Launch a Pixie Dust attack (-K) against the Access Point (-b 00:90:4C:C1:AC:21) using the specified interface (-i wlan0): -i wlan0 -b 00:90:4C:C1:AC:21 -K

How to install OneShot

Installation on Kali Linux

All the necessary dependencies are already present in Kali Linux, just download the script itself:

git clone
cd OneShot/
sudo ./ --help

Installation on BlackArch and Arch Linux

Dependency Installation:

sudo pacman -S wpa_supplicant pixiewps wget python

Downloading the script itself:

python3 --help

Installation on Linux (Debian, Mint, Ubuntu)

Dependency Installation:

sudo apt install -y python3 wpasupplicant wget pixiewps

Download script:

python3 --help

OneShot Screenshots

OneShot Tutorials

Related tools