How kimocoder/oneshot works
OneShot is a command-line Wi-Fi/WPS tool. The user supplies an interface and optionally selects a network or attack mode; the tool can scan nearby networks, attempt WPS Pixie Dust or online PIN bruteforce, and report or save credentials. It also includes PIN generation and push-button connection support. The implementation is concentrated in oneshot.py; the excerpt shows scanner, PIN-generation and Pixiewps-data responsibilities, but omits much of the CLI and WPS control flow, so those links are documented or marked unverified.
Main entry points: oneshot.py WPS session · vulnwsc.txt Vulnerable-device list
Components 13
CLI and scanning
- CLI and workflow
oneshot.py - Wi-Fi scanner
oneshot.py
WPS operations
- WPS PIN generator
oneshot.py - WPS session
oneshot.py - Pixiewps data
oneshot.py - Pixie Dust attack
oneshot.py - Online bruteforce
oneshot.py - Push-button connect
oneshot.py
External tools and data
- iw
- wpa_supplicant
- Pixiewps
- Vulnerable-device list
vulnwsc.txt
Other components
- Operator
Connections 12
- Operator → CLI and workflow: runs
README.md - CLI and workflow → Wi-Fi scanner: can invoke
oneshot.py - Wi-Fi scanner → iw: scans with
oneshot.py - Wi-Fi scanner → Vulnerable-device list: highlights from
README.md - CLI and workflow → WPS PIN generator: offers
oneshot.py - CLI and workflow → WPS session: starts
oneshot.py - WPS session → Pixie Dust attack: runs
oneshot.py - Pixie Dust attack → Pixiewps data: uses
oneshot.py - Pixie Dust attack → Pixiewps: invokes
- WPS session → Online bruteforce: runs
oneshot.py - WPS session → Push-button connect: supports
oneshot.py - WPS session → wpa_supplicant: uses