Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings in dependent gem #1709

Closed
tomjn opened this issue Feb 22, 2022 · 1 comment
Closed

Deprecation warnings in dependent gem #1709

tomjn opened this issue Feb 22, 2022 · 1 comment

Comments

@tomjn
Copy link

tomjn commented Feb 22, 2022

Subject of the issue

This appears repeatedly when running wpscan:

/opt/homebrew/lib/ruby/gems/3.1.0/gems/cms_scanner-0.13.6/lib/cms_scanner/formatter.rb:96: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.

Your environment

  • Version of WPScan: 3.8.20
  • Version of Ruby: ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin21]
  • Operating System (OS): MacOS 12.2 Monterey Arm64

Steps to reproduce

I installed ruby via homebrew, then installed WP Scan via homebrew, and tested it on my site. The output was interrupted repeatedly by the deprecation warning shown further above

Expected behavior

No deprecation warnings

Actual behavior

Deprecation warnings

What have you already tried

  • Update WPScan to the latest version [x]
  • Update Ruby to the latest version [x]
  • Ensure you can reach the target site using cURL [ ] ¯\_(ツ)_/¯
  • Proxied WPScan through a HTTP proxy to view the raw traffic [ ] ¯\_(ツ)_/¯
  • Ensure you are using a supported Operating System (Linux and macOS) [x]
@erwanlr
Copy link
Member

erwanlr commented Feb 22, 2022

Thanks! Everything has been updated to fix that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants