Enhacements to sql export code. Thanks to javiercasares for list.

This commit is contained in:
Ryan Dewhurst
2018-06-08 09:56:28 +02:00
parent 0e73774bd9
commit ce5d26a220
2 changed files with 13 additions and 10 deletions

View File

@@ -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