mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
17 lines
699 B
Markdown
17 lines
699 B
Markdown
|
# Usage
|
||
|
|
||
|
Install the dependencies in `../../requirements.txt`. Then you can run
|
||
|
`./inject.py interface tests` where the first argument is the interface
|
||
|
to use. This inferface should NOT be set to monitor mode (the script will
|
||
|
handle this). The second parameter is the test to execute.
|
||
|
|
||
|
You can first execute a simple ping to see if everything is working:
|
||
|
|
||
|
./inject.py wlan0 ping --ip 192.168.100.10 --peerip 192.168.100.1
|
||
|
|
||
|
Here `peerip` is the IP address of the AP/router we are testing, and `ip`
|
||
|
denotes the IP address we are assignment to the client. Edit the file
|
||
|
`client.conf` the specify the SSID and password of the network you are
|
||
|
testing. You should see a message "SUCCESSFULL INJECTION".
|
||
|
|