An open API service indexing awesome lists of open source software.

https://github.com/amitniz/spyfi

SpyFi is an opensource wifi exploitation tool written in rust
https://github.com/amitniz/spyfi

rust rust-hack tui-rs wifi wifi-hacking wifi-security

Last synced: 11 months ago
JSON representation

SpyFi is an opensource wifi exploitation tool written in rust

Awesome Lists containing this project

README

          


SpyFi :satellite:



An Opensource Wifi Exploitation Tool written in rust :crab:

![tui demonstration](.github/media/tui_demonstration.gif)

## Key Features
- portable and light weight all-in-one tool.
- easy to use terminal UI mode.
- fast and powerful.

## How to use
Spyfi has two modes of operation:
- TUI mode.
- CLI mode.

***TUI mode launches when no arguments are given.***

### **TUI:**

The TUI mode provides an intuitive, informative UI
from which you can monitor and attack nearby networks.

#### **TUI Keymaps**
| Action | Key(s) |
|------------------------|----------------------------------------------|
| Configuration Panel | `c` |
| Switching Pane | `TAB` |
| Send Deauth | `ENTER` or `d` |
| Move Up | `Up Arrow Key` or `k` |
| Move Down | `Down Arrow Key` or `j` |
| Quit/Stop Attack | `q` or `ESC` |
| Change Channel | `1` to `9` (when Configuration Panel enabled)|
| Sweep Mode | `s` (when Configuration Panel enabled) |
| random theme | `p` |

### **CLI:**

```
Usage: spyfi

Commands:
utility
enum
attack
help Print this message or the help of the given subcommand(s)

Options:
-h, --help Print help
-V, --version Print version
```

#### utility mode

commands:
- switch between managed/monitor mode.
- change the iface channel.
- generate psk.

```
Usage: spyfi utility [OPTIONS] [MODE]

Arguments:
[MODE] set the interface mode [possible values: managed, monitor]

Options:
-i, --iface name of the wlan interface
--psk generate psk
-s, --ssid ssid
-l, --list list available interfaces
-c, --channel set capturing channel
--ch
-h, --help Print help (see more with '--help')
```

#### enum mode

captures information about nearby networks

```
Usage: spyfi enum [OPTIONS] --iface

Options:
-i, --iface name of the wlan interface
-t, --timeout timeout in seconds [default: 60]
-o, --outputfile dump results into an outputfile
-s, --sweep use channel sweeping
-h, --help Print help
```

#### attack mode

performs dictionary attack on a network from a given pcap
file

```
Usage: spyfi attack [OPTIONS] --type --bssid <--iface |--capture >

Options:
-a, --type attack type [possible values: dict, dos]
-i, --iface interface
-c, --capture capture file
-t, --threads number of threads to use for dictionary/bruteforce attack [default: 1]
--target target MAC for DoS attack [default: broadcast]
-s, --ssid network's SSID. Might be used instead of BSSID and we will try to get it (Unrecommended)
-b, --bssid network's BSSID
--sweep use channel sweeping
--wordlist wordlist
-h, --help Print help (see more with '--help')
```

### Dependencies
- libpcap-dev