From ce014e4d88c7d0071ea3539baac50db9a96a7d70 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Tue, 5 Feb 2013 09:30:18 +0100 Subject: [PATCH] rearrange output --- wpscan.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wpscan.rb b/wpscan.rb index 7b3eb94b..c4245719 100755 --- a/wpscan.rb +++ b/wpscan.rb @@ -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 ... '