1. 安裝rvm
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable --ruby
注意提示
source /usr/local/rvm/scripts/rvm
2. 安裝Ruby 2.1.5
rvm install 2.1.5
rvm use 2.1.5 --default
3. 安裝bundler
gem install bundler
4. 下載BeEF
cd /opt
git clone git://github.com/beefproject/beef.git
5. 安裝BeEF
cd beef
bundle
(bundle這一步如果有錯誤,解決錯誤後重新執行此命令)(重複執行bundle可解決)
直到出現
6. 運行BeEF
./beef
7. 參考資料
[1] https://github.com/beefproject/beef/wiki/Installation
[2] https://rvm.io/rvm/install