rearrange output

This commit is contained in:
Christian Mehlmauer
2013-02-05 09:30:18 +01:00
parent e5e99aee60
commit ce014e4d88

View File

@@ -148,14 +148,6 @@ begin
puts "| Started on #{start_time.asctime}"
puts
wp_theme = wp_target.theme
if wp_theme
# Theme version is handled in wp_item.to_s
puts green('[+]') + " The WordPress theme in use is #{wp_theme}"
output_item_details(wp_theme)
puts
end
if wp_target.has_robots?
puts green('[+]') + " robots.txt available under '#{wp_target.robots_url}'"
end
@@ -216,6 +208,14 @@ begin
end
end
wp_theme = wp_target.theme
if wp_theme
puts
# Theme version is handled in wp_item.to_s
puts green('[+]') + " The WordPress theme in use is #{wp_theme}"
output_item_details(wp_theme)
end
if wpscan_options.enumerate_plugins == nil and wpscan_options.enumerate_only_vulnerable_plugins == nil
puts
puts green('[+]') + ' Enumerating plugins from passive detection ... '