-
Notifications
You must be signed in to change notification settings - Fork 245
Configuration
WEF has a configuration file which can be found in /usr/share/wef/wef.cnf and you can edit for your needs, this is the example configuration:
# This is the default configuration file
# This file must be saved as /usr/share/wef/wef.cnf
# Default lenguage to use. Values: en, es
lang=en
# Enable/disable verbose (recommended to be enabled)
verbose=true
# Execute 'airmon check kill' when monitor mode is enabled (you should disable it on headless devices)
airmon_check_kill=true
# Automatically enable monitor mode during launch
auto_enable_monitor=true
# Automatically randomize the MAC address during launch (this option requires auto_enable_monitor to be enabled)
auto_random_mac=true
# Wifi band in which to scan access points. Values: 2.4, 5, auto
frequency_band=auto
# Create a graph of every single scan you perform using airgraph-ng to see found APs, their devices and the relationship between them
create_graph=false
# Pwnagotchi whitelist to avoid attacking APs based on their BSSID
whitelist=XX:XX:XX:XX:XX:XX
# WPA-SEC private key to upload and crack handshakes online (if you don't have one, obtain it here https://wpa-sec.stanev.org/)
wpa_sec_key=
lang
can be used to change between english and spanish
verbose
can be set either to true
or false
. It will enable or disable verbose every time you execute the tool. Very useful if you don't want to enable or disable verbose every time
airmon_check_kill
allows you to kill or not active connections with airmon-ng check kill
which can be useful in headless systems. Set it to true if you want to kill them or false to not to do it (recommended for headless)
auto_enable_monitor
allows you to directly enable monitor mode automatically each time the tool starts.
auto_random_mac
allows you to randomize the MAC address automatically each time the tool starts.
frequency_band
refers to the band to use when scanning APs. If you set it to 2.4
it will scan APs on the first 14 channels (2.4 GHz). Otherwise if you set it to 5
it will scan on 5 GHz channels. You can also set its value to auto
and the tool will detect the band your adapter supports.
create_graph
is used to create graphs in .png format of AP-stations relationships using airgraph-ng of each APs scan. They are stored under /usr/share/wef/graphs/
whitelist
as its name says, it prevents attacking the APs from this list when using Pwnagotchi mode (allows multiple BSSID separated by comma)
wpa_sec_key
requires a valid WPA-SEC key in order to crack handshakes online (this field is completely optional)