Skip to content

Installation

Brendan Coles edited this page Feb 1, 2016 · 16 revisions
Clone this wiki locally

Installation on Windows

Install dependencies

ruby dk.rb init
ruby dk.rb install
gem install libv8 -v '3.11.8.17' -- --with-system-v8
  • Browse to where you extracted BeEF and run:
gem install bundler
  • At this stage you should have the following gems installed:
bundler (1.5.1)
ref (1.0.5)
therubyracer (0.11.0beta1 x86-mingw32)
  • You're now ready for the last step. After that, you can start BeEF.
bundle install

Installation on Linux

Note, in any place listing RVM installation instructions you can replcae them with this two steps:

  1. get ruby - assuming you do not want RVM and know a way to get ruby
  2. run: gem install bundler

Debian / Ubuntu

Install dependencies

    sudo apt-get update
    sudo apt-get install curl git
    curl -sSL https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable
    source ~/.rvm/scripts/rvm
    rvm install 2.1.5
    rvm use 2.1.5 -- default
    gem install bundler

Follow this instruction http://rvm.io/integration/gnome-terminal

Download BeEF

    git clone git://github.com/beefproject/beef.git

Install gems and launch

    cd beef
    bundle install
    ruby beef

Red Hat / Fedora

Install dependencies

    curl -sSL https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable
    source ~/.rvm/scripts/rvm
    rvm install 2.1.5
    rvm use 2.1.5 --default
    gem install bundler

Download BeEF

    git clone git://github.com/beefproject/beef.git

Install Gems and use it

    cd beef
    bundle
    source ~/.bash_profile
    cd beef
    ./beef

Alternative install method

bash << curl -sSL https://raw.github.com/xntrik/beefcloud/master/beef-installer
source ~/.bash_profile
cd beef
./beef

BackTrack

Look the dedicated page


Installation on MAC OS

Install RVM and Ruby 2.1.5:

    bash -s stable < <(curl -s https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer) source ~/.bash_profile
    rvm install 2.1.5 --with-gcc=clang
    rvm use 2.1.5

Download BeEF

You can download the zip or clone the git repository :

    git clone https://github.com/beefproject/beef.git

Install Gems

    bundle install

Installation on MAC OS

Install RVM and Ruby 2.1.5:

    curl -sSL https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable
    source ~/.rvm/scripts/rvm
    rvm install 2.1.5
    rvm use 2.1.5 --default
    gem install bundler

Previous | Next

Something went wrong with that request. Please try again.