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

Prompt "Do you want to update now?" not printed #1827

Open
gnuletik opened this issue Jan 16, 2024 · 0 comments
Open

Prompt "Do you want to update now?" not printed #1827

gnuletik opened this issue Jan 16, 2024 · 0 comments

Comments

@gnuletik
Copy link

Subject of the issue

When running wpscan with an old database, the following message should be printed:

print '[?] Do you want to update now? [Y]es [N]o, default: [N]'

Your environment

  • Version of WPScan: 3.8.25
  • Version of Ruby: 3.3.0
  • Operating System (OS): Mac OS X 14.2.1
  • Terminal Emulator: iTerm2 (Build 3.4.23)

Steps to reproduce

To reproduce, I set on old date in the ~/.wpscan/db/.last_update file.

Expected behavior

The message should have been printed.

It seems to be the same issue as #1724 but no solution was found.

Actual behavior

As you can see, the message is not printed.

$ wpscan --url https://localhost
_______________________________________________________________
         __          _______   _____
         \ \        / /  __ \ / ____|
          \ \  /\  / /| |__) | (___   ___  __ _ _ __ ®
           \ \/  \/ / |  ___/ \___ \ / __|/ _` | '_ \
            \  /\  /  | |     ____) | (__| (_| | | | |
             \/  \/   |_|    |_____/ \___|\__,_|_| |_|

         WordPress Security Scanner by the WPScan Team
                         Version 3.8.25
       Sponsored by Automattic - https://automattic.com/
       @_WPScan_, @ethicalhack3r, @erwan_lr, @firefart
_______________________________________________________________

[i] It seems like you have not updated the database for some time.

What have you already tried

  • Update WPScan to the latest version [x]
  • Update Ruby to the latest version [x]
  • Ensure you are using a supported Operating System (Linux and macOS) [x]
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

1 participant