Enhacements to sql export code. Thanks to javiercasares for list.
This commit is contained in:
12
wpscan.rb
12
wpscan.rb
@@ -255,12 +255,6 @@ def main
|
||||
end
|
||||
end
|
||||
|
||||
unless wp_target.sql_file_export.empty?
|
||||
wp_target.sql_file_export.each do |file|
|
||||
puts critical("SQL export file found: #{file}")
|
||||
end
|
||||
end
|
||||
|
||||
code = get_http_status(wp_target.humans_url)
|
||||
if code == 200
|
||||
puts info("humans.txt available under: #{wp_target.humans_url} [HTTP #{code}]")
|
||||
@@ -279,6 +273,12 @@ def main
|
||||
end
|
||||
end
|
||||
|
||||
unless wp_target.sql_file_export.empty?
|
||||
wp_target.sql_file_export.each do |file|
|
||||
puts critical("SQL export file found: #{file}")
|
||||
end
|
||||
end
|
||||
|
||||
if wp_target.has_debug_log?
|
||||
puts critical("Debug log file found: #{wp_target.debug_log_url}")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user