首先,我通过以下方法在ubuntu上安装了wpscan
apt-get install git
sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
sudo gem install bundler && bundle install --without test development然后,当我通过输入ruby wpscan.rb运行它时,它说
Could not find ffi-1.9.18 in any of the sources
Run `bundle install` to install missing gems.当我运行bundle安装时,我得到了这个输出
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.4.0/gems/ffi-1.9.18 for
inspection.
Results logged to
/var/lib/gems/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.9.18/gem_make.out
An error occurred while installing ffi (1.9.18), and Bundler cannot
continue.
Make sure that `gem install ffi -v '1.9.18'` succeeds before bundling.
In Gemfile:
typhoeus was resolved to 1.3.0, which depends on
ethon was resolved to 0.10.1, which depends on我们将非常感谢您的帮助,谢谢
发布于 2022-01-15 04:29:55
安装RMV
先决条件
sudo apt-获取安装软件-属性-通用
sudo apt-add- -y ppa:rael-gc/rvm sudo apt-获取更新sudo apt获取安装rvm
sudo usermod -a -G rvm $USER
3.重新启动了许多更改(需要重新加载的脚本,您现在是rvm组的成员),为了使所有脚本正常工作,您需要重新启动(在大多数情况下,注销/登录就足够了,但是在一些Ubuntu派生程序或一些终端模拟器中,没有执行shell登录,因此我们建议重新启动)。
rvm用户集
rvm安装ruby
RVM使用手册rvm
从RubyGems安装- WPSCAN
gem安装wpscan
您可以使用wpscan --update更新本地数据库。
枚举用户名wpscan -url https://target.tld/ --枚举u
枚举一系列用户名
wpscan -url https://target.tld/ -枚举u1-100
Doc>> https://github.com/wpscanteam/wpscan/wiki/WPScan-User-Documentation
https://stackoverflow.com/questions/46786955
复制相似问题