Modules vs. Commands
The main functionality of bettercap is separated into six main modules.
Four of the modules have to do with the technologies supported by bettercap:
Bluetooth LE,
HID on 2.4Ghz,
Ethernet,
and Wi-Fi.
The Core module helps us run commands specific to bettercap.
Utils works with utilities like GPS or MAC address changer.
Some modules, for example Ethernet,
also have submodules such as spoofers or proxies.
Each module contains commands and parameters.
The commands are the various actions that bettercap can take
within a specific module,
for example, deauthentication within the Wi-Fi module.
The parameters control the configuration of the module,
for example, how often the Wi-Fi module hops between channels.
We can set parameters by using the set command,
passing the parameter as the first argument
and the value of the parameter as the second argument.
For example, set wifi.hop.period 200
will set the channel-hopping period to 200 milliseconds.
While all the modules in bettercap are very powerful,
we will concentrate our efforts on the Wi-Fi module.