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 "| Started on #{start_time.asctime}"
puts 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? if wp_target.has_robots?
puts green('[+]') + " robots.txt available under '#{wp_target.robots_url}'" puts green('[+]') + " robots.txt available under '#{wp_target.robots_url}'"
end end
@@ -216,6 +208,14 @@ begin
end end
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 if wpscan_options.enumerate_plugins == nil and wpscan_options.enumerate_only_vulnerable_plugins == nil
puts puts
puts green('[+]') + ' Enumerating plugins from passive detection ... ' puts green('[+]') + ' Enumerating plugins from passive detection ... '