From 872b293944cdc6297f73cfc39706083b834d19aa Mon Sep 17 00:00:00 2001 From: Erwan Date: Sun, 29 Jul 2012 12:21:40 +0200 Subject: [PATCH] Fix #6 : can't convert WpPlugin into String (to_s is not called when using +, it's to_str. However with "#{plugin}" the .to_s is called) --- wpscan.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpscan.rb b/wpscan.rb index c2ab5c2e..1f8d8a02 100755 --- a/wpscan.rb +++ b/wpscan.rb @@ -193,7 +193,7 @@ begin plugins.each do |plugin| puts - puts " | Name: " + plugin #this will also output the version number if detected + puts " | Name: #{plugin}" #this will also output the version number if detected puts " | Location: " + plugin.location_url puts " | Directory listing enabled? #{plugin.directory_listing? ? "Yes." : "No."}"