Skip to content
rhaidiz edited this page Feb 10, 2019 · 17 revisions

BetterCap

Release Software License Travis Go Report Card

bettercap is the Swiss army knife for network attacks and monitoring.

How to Install

A precompiled version is available for each release, alternatively you can use the latest version of the source code from this repository in order to build your own binary.

Make sure you have a correctly configured Go >= 1.8 environment, that $GOPATH/bin is in $PATH, that the libpcap-dev and libnetfilter-queue-dev (this one is only required on Linux) package installed for your system and then:

$ go get github.com/bettercap/bettercap
$ cd $GOPATH/src/github.com/bettercap/bettercap
$ make build && sudo make install

This command will download bettercap, install its dependencies, compile it and move the bettercap executable to /usr/local/bin.

Now you can use sudo bettercap -h to show the basic command line options and just sudo bettercap to start an interactive session on your default network interface, otherwise you can load a caplet from the dedicated repository.

In order to update to an unstable but bleeding edge release from this repository, run the command below:

$ go get -u github.com/bettercap/bettercap
$ cd $GOPATH/src/github.com/bettercap/bettercap
$ make build && sudo make install