You are here: Home » Wireless Attacks » OneShot

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.

Requirements:

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

Homepage: https://github.com/drygdryg/OneShot (current mod), https://github.com/rofl0r/oneshot (original version)

Author: rofl0r, moded by drygdryg

License: ?

OneShot Help

Usage:

oneshot.py <arguments>

Options:

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):

oneshot.py -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 https://github.com/drygdryg/OneShot
cd OneShot/
sudo ./oneshot.py --help

Installation on BlackArch and Arch Linux

Dependency Installation:

sudo pacman -S wpa_supplicant pixiewps wget python

Downloading the script itself:

wget https://raw.githubusercontent.com/drygdryg/OneShot/master/oneshot.py
python3 oneshot.py --help

Installation on Linux (Debian, Mint, Ubuntu)

Dependency Installation:

sudo apt install -y python3 wpasupplicant wget pixiewps

Download script:

wget https://raw.githubusercontent.com/drygdryg/OneShot/master/oneshot.py
python3 oneshot.py --help

OneShot Screenshots

OneShot Tutorials

Related tools