-
Notifications
You must be signed in to change notification settings - Fork 313
XVIII. Advanced Granular Controls
Sølst1c3 edited this page Oct 7, 2023
·
1 revision
To view a complete list of granular configuration options supported by eaphammer, use the -hh
flag as shown below:
./eaphammer -hh
If these configuration files are not enough, eaphammer can also be configured using the .ini files found in the project's settings directory. Some important things to know about how eaphammer handles config files:
- Command line options always take precedence over parameters set in eaphammer's config files. What this means is that if you try to specify a particular config value, such as the access point's ESSID, using both command line options and a config file, the value passed through the command line interface will take precedence.
- The parameters set in the config files serve as default values each corresponding command line option.
You can also load a hostapd config file manually using the
--manual-config
flag. When the--manual-config
flag is used, eaphammer will completely ignore both command line options and config file parameters. Example:
./eaphammer -i wlan0 \
--manual-config hostapd.conf
You can also save hostapd configurations for reuse using the --save-config
flag. You can then reuse the config file using the --manual-config
flag as shown in the previous example. The following command executes a rogue access point and saves the config for later use:
./eaphammer -i wlan0 \
-e pleaseRecycle \
--creds \
--save-config myconfig.conf
You can even use the --save-config-only
flag to generate a config file without actually executing an attack:
./eaphammer -i wlan0 \
-e saveForLater \
--creds \
--save-config-only myconfig.conf
-
- XIV.1 - Interactive Mode
-
XIV.2 - Creating Certificates
--cert-wizard create
-
XIV.3 - Importing Certificates and Keys
--cert-wizard import
- XIV.4 - Listing Previously Imported or Created Certificates
--cert-wizard list
- XIV.5 - Regenerating Diffie Hellman (DH) Parameters
--cert-wizard dh
- XIV.6 - Overriding EAPHammer's Static Configuration