airtun-ng
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
airtun-ng [2007/09/18 22:20] – Added troubleshooting info for: error opening tap device: No such file or directory darkaudax | airtun-ng [2009/08/17 00:29] – Add WDS support aspj | ||
---|---|---|---|
Line 10: | Line 10: | ||
Traffic injection can be fully bidirectional if you have the full encyption key. It is outgoing unidirectional if you have the PRGA obtained via [[korek_chopchop|chopchop]] or [[fragmentation]] attacks. The prime advantage of airtun-ng over the other injection tools in the aircrack-ng suite is that you may use any tool subsequently to create, inject or sniff packets. | Traffic injection can be fully bidirectional if you have the full encyption key. It is outgoing unidirectional if you have the PRGA obtained via [[korek_chopchop|chopchop]] or [[fragmentation]] attacks. The prime advantage of airtun-ng over the other injection tools in the aircrack-ng suite is that you may use any tool subsequently to create, inject or sniff packets. | ||
- | Airtun-ng also has repeater and tcpreplay-type functionality. | + | Airtun-ng also has repeater and tcpreplay-type functionality. |
- | + | ||
- | Airtun-ng only runs on linux platforms. | + | |
+ | Airtun-ng only runs on linux platforms and does support WDS if you have a pretty recent version (svn rev 1624?). | ||
===== Usage ===== | ===== Usage ===== | ||
Line 20: | Line 18: | ||
| | ||
- | *-x nbpps : maximum number of packets per second (optional) | + | *-x nbpps : maximum number of packets per second (optional) |
- | *-a bssid : set Access Point MAC address (mandatory) | + | *-a bssid : set Access Point MAC address (mandatory) |
- | *-i iface : capture packets from this interface (optional) | + | *-i iface : capture packets from this interface (optional) |
- | *-y file | + | *-y file : read PRGA from this file (optional / one of -y or -w must be defined) |
*-w wepkey : use this WEP-KEY to encrypt packets (optional / one of -y or -w must be defined) | *-w wepkey : use this WEP-KEY to encrypt packets (optional / one of -y or -w must be defined) | ||
- | *-t tods | + | *-t tods : send frames to AP (1) or to client (0) (optional / defaults to 0) |
- | *-r file : read frames out of pcap file (optional) | + | *-r file : read frames out of pcap file (optional) |
Repeater options (the following all require double dashes): | Repeater options (the following all require double dashes): | ||
- | *- -repeat | + | *- -repeat : activates repeat mode. Short form -f. |
- | *- -bssid < | + | *- -bssid <mac> : BSSID to repeat. |
*- -netmask < | *- -netmask < | ||
- | |||
===== Scenarios ===== | ===== Scenarios ===== | ||
Line 56: | Line 53: | ||
| | ||
- | This interface (at0) will receive a copy of every wireless network packet. The packets will have been decrypted with the key you have provided. | + | This interface (at0) will receive a copy of every wireless network packet. The packets will have been decrypted with the key you have provided. |
==== WEP injection ==== | ==== WEP injection ==== | ||
Line 134: | Line 131: | ||
At this point, any packets for the AP (00: | At this point, any packets for the AP (00: | ||
- | |||
==== Packet Replay Mode ==== | ==== Packet Replay Mode ==== | ||
Line 165: | Line 161: | ||
You can also inject management and control frames. | You can also inject management and control frames. | ||
- | |||
===== Usage Troubleshooting ===== | ===== Usage Troubleshooting ===== | ||
- | + | ==== I can't find the airtun-ng tool! ==== | |
- | ===== I can't find the airtun-ng tool! ===== | + | |
Windows platforms - "I can't find the airtun-ng tool!" | Windows platforms - "I can't find the airtun-ng tool!" | ||
- | + | ==== Error opening tap device: No such file or directory ==== | |
- | ===== error opening tap device: No such file or directory | + | |
When you run airtun-ng, you get a message similar to "error opening tap device: No such file or directory" | When you run airtun-ng, you get a message similar to "error opening tap device: No such file or directory" | ||
Line 179: | Line 172: | ||
Make sure you have the OpenVPN package installed and run: | Make sure you have the OpenVPN package installed and run: | ||
- | modprobe tun | + | modprobe tun |
This loads the " | This loads the " | ||
- | |||
- | |||
- |
airtun-ng.txt · Last modified: 2015/04/12 23:15 by mister_x