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?