wpscan icon indicating copy to clipboard operation
wpscan copied to clipboard

Pedantic typo Scan rather than Update in error message

Open digininja opened this issue 4 years ago • 2 comments

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

The app gives an error of "Scan Aborted" rather then "Update Aborted" when the update can't connect to the update server.

Your environment

  • Version of WPScan: Just update the gem
  • Version of Ruby: 2.?
  • Operating System (OS): DOS 3.1

Steps to reproduce

Run a database update when the app can't connect to the server.

Expected behaviour

The message should say "Update Aborted"

Actual behaviour

[i] Updating the Database ...

Scan Aborted: Unable to get https://data.wpscan.org/metadata.json.sha512 (Couldn't resolve host name)

What have you already tried

Absolutely nothing

Things you have tried (where relevant):

  • Update WPScan to the latest version [x ]
  • 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 avatar Mar 12 '20 11:03 digininja

That is intended. Regardless of the error type (CLI, Update etc), the message will start with Scan Aborted

erwanlr avatar Mar 12 '20 21:03 erwanlr

But with only --update you are not running a scan so surely it should be Update Aborted.

digininja avatar Mar 12 '20 23:03 digininja