运行wpscan报错Could not find 'nokogiri' (~> 1.8.0)
报错 运行 not 39 gt Find could
2023-09-11 14:19:36 时间
/usr/local/lib/site_ruby/2.7.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'nokogiri' (~> 1.8.0) - did find: [nokogiri-1.10.9] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/root/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all' , execute `gem env` for more information
12: from /usr/bin/wpscan:23:in `<main>'
11: from /usr/local/lib/site_ruby/2.7.0/rubygems.rb:298:in `activate_bin_path'
10: from /usr/local/lib/site_ruby/2.7.0/rubygems.rb:298:in `synchronize'
9: from /usr/local/lib/site_ruby/2.7.0/rubygems.rb:299:in `block in activate_bin_path'
8: from /usr/local/lib/site_ruby/2.7.0/rubygems/specification.rb:1367:in `activate'
7: from /usr/local/lib/site_ruby/2.7.0/rubygems/specification.rb:1385:in `activate_dependencies'
6: from /usr/local/lib/site_ruby/2.7.0/rubygems/specification.rb:1385:in `each'
5: from /usr/local/lib/site_ruby/2.7.0/rubygems/specification.rb:1403:in `block in activate_dependencies'
4: from /usr/local/lib/site_ruby/2.7.0/rubygems/specification.rb:1367:in `activate'
3: from /usr/local/lib/site_ruby/2.7.0/rubygems/specification.rb:1385:in `activate_dependencies'
2: from /usr/local/lib/site_ruby/2.7.0/rubygems/specification.rb:1385:in `each'
1: from /usr/local/lib/site_ruby/2.7.0/rubygems/specification.rb:1396:in `block in activate_dependencies'
/usr/local/lib/site_ruby/2.7.0/rubygems/specification.rb:1399:in `rescue in block in activate_dependencies': Could not find 'nokogiri' (~> 1.8.0) among 255 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/root/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all' at: /usr/share/rubygems-integration/all/specifications/cms_scanner-0.0.41.3.gemspec, execute `gem env` for more information
尝试过
gem install pkg-config
apt-get install libxml2-dev libxslt-dev zlib1g-dev -y
gem install nokogiri -- --use-system-libraries
但也没用,只能先卸载,再以gem方式来重装wpscan
pcat尝试过以apt方式来安装wpscan,但总会出现public_suffix的依赖冲突。
apt remove wpscan -y
apt-get autoremove -y
apt-get autoclean
hash -r
apt install ruby-dev -y
gem install wpscan
相关文章
- 报错需要选择一个空目录,或者选择的非空目录下存在 app.json 或者 project.config.json解决方案
- [sql]sqlite3板子上安装运行报错
- 倍福TwinCAT(贝福Beckhoff)基础教程 松下官方软件开启报错伺服未就绪怎么办
- Android studio环境配置(运行报错)
- IDEA导出jar包后运行报错 找不到或无法加载主类
- python:backgroundremover安装及运行中报错的处理(backgroundremover 0.1.9)
- 大叔问题定位分享(38)impala报错内存不足
- 大叔经验分享(54)flume kudu sink运行一段时间kudu client报错
- linux gcc 编译报错undefined reference to `pow‘解决
- tensorflow + GPU运行时崩溃解决 报错Process finished with exit code -1073740791 (0xC0000409)
- 【26】报错[ERROR] [rgb_node-1]: process has died
- linux fedora安装、运行mybase7.3.5报错:error while loading shared libraries: libpng12.so.0
- 【網址收藏】解决VSCODE“因为在此系统上禁止运行脚本“报错
- Docker Hello World容器运行报错的解决办法
- Docker Hello World容器运行报错的解决办法
- 执行tsc -v命令后报错‘tsc‘ 不是内部或外部命令,也不是可运行的程序或批处理文件。怎样解决?
- hibernate3报错 XXX is not mapped
- 【异常】ES报错ResponseException: method [HEAD], host [], URI [/], status line [HTTP/1.1 401 Unauthorized]
- 已解决在Jupyter成功运行的代码,但是在pycharm上运行报错的解决方法,亲测有效
- 已解决(cmd进入Python环境报错)No Python at ‘C:Users…Python Python39python. exe’
- 运行python不报错,运行pip报错
- C# 链接webservice报错
- 【错误记录】Tinker 热修复示例运行报错 ( patch receive fail: /storage/emulated/0/patch_signed_7zip.apk, code: -2)
- 【错误记录】Tinker 热修复示例运行报错 ( Execution failed for task ‘:app:tinkerProcessD‘ . tinkerId is not set!!! )
- koa项目用mongoose与mongodb交互,始终报错FormModel is not defined
- “java.lang.IllegalArgumentException: Failed to evaluate expression ‘ROLE_USER’”报错的解决
- 【openvino-python】 cv2.dnn.readNet(xml, bin)运行报错
- 通过yarn提交作业到spark,运行一段时间后报错。
- 如何解决npm run serve运行vue项目时,出现报错:Error: error:0308010C:digital envelope routines::unsupported
- 搭建SpringCloud Gateway环境启动报错:GatewayAutoConfiguration$NettyConfiguration.buildConnectionProvider
- SpringBoot聚合工程,使用maven打jar包,然后使用java -jar运行报错:xxxx.jar中没有主清单属性
- Vue项目运行后控制台报错Cannot assign to read only property ‘exports‘ of object ‘#<Object>‘
- vscode——运行程序报错 cc1plus.exe: fatal error: xxx: No such file or directory
- 【taro react】---- 编译H5运行后报错:Uncaught ReferenceError: $RefreshSig$ is not defined