Installation and Executing
Installing bettercap is straightforward.
No additional packages or configurations of the wireless interface are necessary.
As long as no other processes are using the wireless interface,
bettercap will be able to configure monitor mode on it.
To start bettercap, we will use the bettercap command,
and pass in the wireless interface using the -iface argument
followed by the name of the interface, wlan0 in this case.
This will start an interactive session
where we can use the Wi-Fi module to perform various actions.
If we don’t provide the -iface argument,
bettercap will automatically select an interface.
Best practice, however, is to provide the intended interface.
If we have multiple wireless interfaces, or example, one connected to a network
and the other intended for bettercap, bettercap might select the wrong one.
We can change the interface for the Wi-Fi module
by running set wifi.interface in the interactive terminal.
On startup, bettercap will configure the terminal to display the interface name
or the IP address.
Even if we change the interface by using the set wifi.interface command,
the terminal will still show the old interface name/IP.
This is another reason to start bettercap with the -iface argument.
We type the help command,
to display the various actions that we can run with bettercap.
It also shows the modules that are active.
If the information on the screen ever gets too overwhelming,
we can use the clear command to clear the screen.
Finally, we can exit out of bettercap by typing exit.
Now let’s review bettercap’s functionality.