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

ParrotOS: wpan scan fails to run with error "uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger #1897

Open
8iiiiiiNary opened this issue Mar 2, 2025 · 0 comments
Labels

Comments

@8iiiiiiNary
Copy link

8iiiiiiNary commented Mar 2, 2025

``

``Before submitting an issue, please make sure you fully read any potential error messages output and did some research on your own.

Subject of the issue

Describe your issue here.
wpan scan fails to run with error "uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)"

Your environment

  • Version of WPScan:

  • Version of Ruby:3.1.2p20
    [root@parrot]─[/home/parrot/Downloads]
    └──╼ #ruby -v
    ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux-gnu]

  • Operating System (OS): ParrotOS [ based on Debian]
    ┌─[✗]─[root@parrot]─[/home/parrot]
    └──╼ #cat /etc/os-release
    PRETTY_NAME="Parrot Security 6.3 (lorikeet)"
    NAME="Parrot Security"
    VERSION_ID="6.3"
    VERSION="6.3 (lorikeet)"
    VERSION_CODENAME=lory
    ID=debian
    HOME_URL="https://www.parrotsec.org/"
    SUPPORT_URL="https://www.parrotsec.org/community/"
    BUG_REPORT_URL="https://gitlab.com/parrotsec/"

Steps to reproduce

Tell us how to reproduce this issue.
install wpscan on ParrotOS. Run wpscan

Expected behavior

Tell us what should happen.
scan the given wpurl.

Actual behavior

Tell us what happens instead.

What have you already tried

Tell us what you have already tried to do to fix the issue you are having.
uninstall and reinstall wpscan, followed by update ruby

Things you have tried (where relevant):

  • Update WPScan to the latest version [ ] yes
  • Update Ruby to the latest version [ ] yes
  • Ensure you can reach the target site using cURL [ ] yes
  • Proxied WPScan through a HTTP proxy to view the raw traffic [ ]
  • Ensure you are using a supported Operating System (Linux and macOS) [ ]

─[root@parrot]─[/home/parrot/Downloads] └──╼ #wpscan --url https://hackersploit.org /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/logger_thread_safe_level.rb:16:inmodule:LoggerThreadSafeLevel': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)

Logger::Severity.constants.each do |severity|
^^^^^^
from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/logger_thread_safe_level.rb:9:in `<module:ActiveSupport>'
from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/logger_thread_safe_level.rb:8:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/logger_silence.rb:5:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/logger.rb:3:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support.rb:29:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/all.rb:3:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /var/lib/gems/3.1.0/gems/wpscan-3.8.28/lib/wpscan.rb:7:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /var/lib/gems/3.1.0/gems/wpscan-3.8.28/bin/wpscan:4:in `<top (required)>'
from /usr/local/bin/wpscan:25:in `load'
from /usr/local/bin/wpscan:25:in `<main>

`

@alexsanford alexsanford added the bug label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants