Added setup.py. Run: python -m wifite

As asked by @blshkv in #102.

Running: `sudo python -m wifite`
Install: `sudo python setup.py install`

These steps (and "uninstalling") are mentioned in the README.
This commit is contained in:
derv82
2018-08-19 15:13:22 -07:00
parent a157132387
commit 8b786b70b0
7 changed files with 180 additions and 4 deletions

View File

@@ -5,6 +5,31 @@ A complete re-write of [`wifite`](https://github.com/derv82/wifite), a Python sc
Wifite runs existing wireless-auditing tools for you. Stop memorizing command arguments & switches!
This version is compatible with both `python2` and `python3`.
Installation
------------
From the root directory of this package:
Run *wifite* using: `python -m wifite`
To install onto your computer (so you can just run `wifite` from any terminal), run:
```bash
sudo python setup.py install
```
----
Note: Uninstalling is [not as easy](https://stackoverflow.com/questions/1550226/python-setup-py-uninstall#1550235). The only way to uninstall is to record the files installed by the above command and *remove* those files:
```bash
sudo python setup.py install --record files.txt
cat files.txt | xargs sudo rm -f
sudo rm -f files.txt
```
What's new in Wifite2?
----------------------