Skip to content

Bettercap Tips

Óscar Alfonso Díaz edited this page May 23, 2020 · 21 revisions
Important tips about bettercap

bettercap is used by airgeddon to perform a special Evil Twin attack. The last supported bettercap version is 1.6.2. It was updated on most popular Linux distributions repositories to 2.x version which is not compatible. On this 2.x versions, the program suffered major changes which make it uncompatible to airgeddon.

The last compatible version (1.6.2) can be downloaded and compiled from the official author's page. More info at Bettercap official's page.

Anyway, there is an available deb package ready to be installed on a Debian based Linux distribution. Here is the link: https://github.com/v1s1t0r1sh3r3/airgeddon_deb_packages/blob/master/amd64/bettercap_1.6.2-0parrot1_all.deb

Donwgrade instructions for Debian based Linux distributions

If you have chosen the legacy deb package, follow this instructions to install it:

Requirements: wget

  • Uninstall latest 2.x bettercap package
    • ~# apt remove bettercap
  • Install the ruby dependencies
    • ~# apt install ruby-packetfu ruby-colorize ruby-net-dns ruby-em-proxy ruby-network-interface
  • Download the legacy deb bettercap package
    • ~# wget https://github.com/v1s1t0r1sh3r3/airgeddon_deb_packages/raw/master/arm64/bettercap_1.6.2-0parrot1_all.deb
  • Install the downloaded package
    • ~# dpkg -i bettercap_1.6.2-0parrot1_all.deb

Additionally, you may want as optional to mark the package as "hold" to avoid its update in order to keep the downgraded compatible version:

~# apt-mark hold bettercap

Important note. This downgrade method was tested only on Kali and Parrot Security Linux. If you have another non-Debian based Linux distribution, then keep reading...

Bettercap was migrated from ruby to go language. Last ruby released version was 1.6.2 so it can be installed as ruby gem. Just uninstall your bettercap 2.x however: yum, emerge, pacman or whatever package manager depending of your Linux distribution and then execute gem install bettercap. This will install the needed 1.6.2 version for airgeddon.

Clone this wiki locally