From 95648f0023e793dc0639a6f73c30d0c476e49dc2 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Wed, 19 Sep 2012 22:57:51 +0200 Subject: [PATCH] reduce output --- wpscan.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wpscan.rb b/wpscan.rb index e7bd74d7..e09c69da 100755 --- a/wpscan.rb +++ b/wpscan.rb @@ -196,7 +196,7 @@ begin puts puts " | Name: #{plugin}" #this will also output the version number if detected puts " | Location: #{plugin.get_url_without_filename}" - puts " | Directory listing enabled? #{plugin.directory_listing? ? "Yes." : "No."}" + puts " | Directory listing enabled: Yes" if plugin.directory_listing? puts " | Readme: #{plugin.readme_url}" if plugin.has_readme? puts " | Changelog: #{plugin.changelog_url}" if plugin.has_changelog? @@ -250,7 +250,7 @@ begin puts puts " | Name: #{theme}" #this will also output the version number if detected puts " | Location: #{theme.get_url_without_filename}" - puts " | Directory listing enabled? #{theme.directory_listing? ? "Yes." : "No."}" + puts " | Directory listing enabled: Yes" if theme.directory_listing? puts " | Readme: #{theme.readme_url}" if theme.has_readme? puts " | Changelog: #{theme.changelog_url}" if theme.has_changelog?