This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
injection_test [2012/08/17 23:30] jano [Usage] |
injection_test [2013/04/25 11:17] (current) jano [Airserv-ng Test] Minor Update |
||
---|---|---|---|
Line 34: | Line 34: | ||
* -9 means injection test. Long form is -''''-test. | * -9 means injection test. Long form is -''''-test. | ||
* -e teddy is the network name (SSID). This is optional. | * -e teddy is the network name (SSID). This is optional. | ||
- | * -b 00:de:ad:ca:fe:00 ath0 is MAC address of the access point (BSSID). This is optional. | + | * -a 00:de:ad:ca:fe:00 ath0 is MAC address of the access point (BSSID). This is optional. |
* -i wlan1 is interface name of the second card if you want to determine which attacks your card supports. This interfaces acts as an AP and receives packets. This is optional. | * -i wlan1 is interface name of the second card if you want to determine which attacks your card supports. This interfaces acts as an AP and receives packets. This is optional. | ||
* wlan0 is the interface name or airserv-ng IP Address plus port number. This interface is used to send packets. For example - 127.0.0.1:666. (Mandatory) | * wlan0 is the interface name or airserv-ng IP Address plus port number. This interface is used to send packets. For example - 127.0.0.1:666. (Mandatory) | ||
Line 143: | Line 143: | ||
==== Airserv-ng Test ==== | ==== Airserv-ng Test ==== | ||
- | Run the following command: | + | Run Airserv-ng: |
+ | |||
+ | airserv-ng -d wlan0 | ||
+ | |||
+ | The system responds: | ||
+ | |||
+ | Opening card wlan0 | ||
+ | Setting chan 1 | ||
+ | Opening sock port 666 | ||
+ | Serving wlan0 chan 1 on port 666 | ||
+ | |||
+ | Then run the following command: | ||
aireplay-ng -9 127.0.0.1:666 | aireplay-ng -9 127.0.0.1:666 |