fix #814
This commit is contained in:
@@ -87,6 +87,9 @@ def main
|
||||
|
||||
# Remote website has a redirection?
|
||||
if (redirection = wp_target.redirection)
|
||||
if redirection =~ /\/wp-admin\/install\.php$/
|
||||
puts "#{critical('[!]')} The Website is not fully configured and currently in install mode. Call it to create a new admin user."
|
||||
else
|
||||
if wpscan_options.follow_redirection
|
||||
puts "Following redirection #{redirection}"
|
||||
else
|
||||
@@ -105,6 +108,7 @@ def main
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if wp_target.has_basic_auth? && wpscan_options.basic_auth.nil?
|
||||
raise 'Basic authentication is required, please provide it with --basic-auth <login:password>'
|
||||
|
||||
Reference in New Issue
Block a user