我想安装 BeEF,但是按照他们的脚步存在一些错误。
1)-RVM未安装。
2)执行 source ~/.rvm/scripts/rvm 出现错误:
raph@raph-xxxxxxxxx ~/beef $ source ~/.rvm/scripts/rvm
bash: /home/raph/.rvm/scripts/rvm: No such file or directory
3)执行 bundle install 时出错
An error occurred while installing json (1.8.1), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.1'` succeeds before bundling.
答案1
感谢 mibbit 的 mrt:必须安装 RVM 才能安装 BeEF。遵循他们的脚步,我能够安装 RVM。下一步是gem install bundler
。最后,按照以下步骤安装 BeEF:
git clone git://github.com/beefproject/beef.git
cd beef
bundle install
ruby beef