Skip to content

VII. Hardware Modes

Gabriel Ryan edited this page Sep 12, 2019 · 3 revisions

The --hw-mode flag can be used to manually select a hardware mode for eaphammer to use. For example, the following command creates a rogue access point that uses 802.11b:

./eaphammer -i wlan0 \
	-e oldskool \
	--creds \
	--hw-mode b

The primary modes you'll most likely need to concern yourself with are:

  • 802.11b - Older specification, 2.4GHz only
  • 802.11a - Used for creating 5GHz access points
  • 802.11g - Used for creating 2.4GHz access points
  • 802.11n - Can be used on both the 2.4GHz and 5GHz spectrums.

802.11n is complicated enough that it has been given its own section within this document, which you should read if you plan to use it. See: VI. Attacking 802.11n Networks

If the --hw-mode flag is not used, eaphammer will automatically select 802.11a or 802.11g depending on whether you have specified a 2.4GHz or 5GHz channel. For example:

# --hw-mode flag omitted, 2.4GHz channel selected. EAPHammer will automatically set hw_mode to g
./eaphammer -i wlan0 \
	-e safewifis \
	--creds \
	--channel 2

# --hw-mode flag omitted, 5GHz channel selected. EAPHammer will automatically set hw_mode to a
./eaphammer -i wlan0 \
	-e safewifis \
	--creds \
	--channel 36

EAPHammer Wiki

Clone this wiki locally