Wpscan Official website: http://wpscan.org/
Ctrl + Alt + T Open terminal, enter:
1 sudo Install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential2 git clone https://github.com/wpscanteam/wpscan.git3cd wpscan4 sudoinstallinstall --without test
Where the fourth command, due to the gem default source is the wall, need to change the source. The methods given on the Web are simply modifying the source by command, but the default source is used when it is actually executed. The reason is that Gemfile has not been modified.
Open Gemfile with gedit:
Gedit Gemfile
Modify the first line to:
' https://ruby.taobao.org '
After saving exits, return to the terminal to continue execution:
Gem Sources--remove http://rubygems.org/gem sources-a https://ruby.taobao.org Gem Sources-L* * * Current SOURCES * * *https://ruby.taobao.org- -U
Then execute the sudo gem install bundler && bundle Install --without test with no problem.
The methods above to modify the gem source should be generic.
Ubuntu 14.04 Installation Wpscan