ubuntu沒有用kali的源,因此上wpscan的官網去下最新版。https://wpscan.org/html
首先要安裝依賴。git
ubuntu下的安裝指令:github
sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev
爲了搭建github-pages博客,而github-pages後端依賴於ruby,且對版本有嚴格要求,本身嘗試了各類姿式升級ruby2.3無果,最終在查閱了各類資料以後找到一個可行方案。ubuntu
icebug@localhost:~$ sudo apt-get -y install software-properties-common icebug@localhost:~$ sudo apt-add-repository ppa:brightbox/ruby-ng icebug@localhost:~$ sudo apt-get update icebug@localhost:~$ sudo apt-get -y install ruby2.3
同時不要忘記了安裝ruby2.3的開發庫,否則仍是會遇到各類坑.....後端
icebug@localhost:~$ sudo apt-get install ruby2.3-dev
$ gem update --system
$ gem install rubygems-update # again, might need to be admin/root $ update_rubygems # ... here too
sudo gem install bundler && bundle install --without test安裝好bundler,以後就能夠運行