我按照说明安装了metasploit 和所有依赖项这里:
sudo apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-dev openjdk-7-jre git-core autoconf postgresql pgadmin3 curl zlib1g-dev libxml2-dev libxslt1-dev vncviewer libyaml-dev curl zlib1g-dev
并使用RVM
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
source ~/.bashrc
rvm install 2.1.9
rvm use 2.1.9 --default
ruby -v
虽然 Metasploit 运行良好,但当我安装 wpscan 时:
sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler && bundle install --without test
并尝试运行它,我收到一个错误:
cannot load such file -- bundler/setup
但我已经安装了捆绑器以及它和 Metasploit 的所有依赖项。我究竟做错了什么?