Hotfix for replacing $w-plugins$ by the real value when a plugin from passive detection is output in the agressive detection

This commit is contained in:
Erwan
2012-09-09 00:14:02 +02:00
parent a0a1c24006
commit 436793eb61

View File

@@ -190,7 +190,7 @@ begin
plugins.each do |plugin|
puts
puts " | Name: #{plugin}" #this will also output the version number if detected
puts " | Location: " + plugin.location_url
puts " | Location: " + plugin.location_url.gsub("$wp-plugins$", wp_target.wp_plugins_dir()) #Hotfix
puts " | Directory listing enabled? #{plugin.directory_listing? ? "Yes." : "No."}"