Fix #201 Incorrect Paramter Parsing when no url was supplied
This commit is contained in:
@@ -44,6 +44,10 @@ def main
|
|||||||
exit(0)
|
exit(0)
|
||||||
end
|
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)
|
wp_target = WpTarget.new(wpscan_options.url, wpscan_options.to_h)
|
||||||
|
|
||||||
# Remote website up?
|
# Remote website up?
|
||||||
|
|||||||
Reference in New Issue
Block a user