diff --git a/wpscan.rb b/wpscan.rb index e3ba62ad..5547535b 100755 --- a/wpscan.rb +++ b/wpscan.rb @@ -44,6 +44,10 @@ def main exit(0) end + unless wpscan_options.url + raise 'The URL is mandatory, please supply it with --url or -u' + end + wp_target = WpTarget.new(wpscan_options.url, wpscan_options.to_h) # Remote website up?