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

app hung, possibly on updating #1724

Closed
digininja opened this issue Apr 24, 2022 · 3 comments
Closed

app hung, possibly on updating #1724

digininja opened this issue Apr 24, 2022 · 3 comments

Comments

@digininja
Copy link

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

I'd not used WPScan on a box for quite a while, when I ran it, I got this and the app hung:

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

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

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

Gave it a few minutes then killed it, ran with --update which finished in seconds, then tried scanning the site again and it worked fine.

Your environment

  • Version of WPScan: 3.8.17
  • Version of Ruby: 3.0.0
  • Operating System (OS): Debian

Steps to reproduce

Can't reproduce it

Expected behavior

It may have been doing some updates, but was doing them for a long time if it was. No progress indicator or anything.

Actual behavior

It hung.

What have you already tried

Nothing

Things you have tried (where relevant):

  • Update WPScan to the latest version [ ]
  • Update Ruby to the latest version [ ]
  • 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) [ ]
@digininja
Copy link
Author

Just realised, this was an older version. Unfortunately I can't reproduce it as it happened as it hadn't been ran for a while.

Feel free to close this, just reporting in case it is something obvious.

@erwanlr
Copy link
Member

erwanlr commented Apr 24, 2022

It's weird, another line should have been printed after this one, asking if you wanted to update the DB or not (https://github.com/wpscanteam/wpscan/blob/master/app/controllers/core.rb#L40), so as you did not type anything like Yes / Y or No / N or pressed Enter, then it was waiting for input, hence the hanging

@erwanlr erwanlr closed this as completed Apr 24, 2022
@digininja
Copy link
Author

digininja commented Apr 24, 2022 via email

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