Handle when there are 2 headers of the same name

This commit is contained in:
ethicalhack3r
2013-07-25 19:41:03 +02:00
parent ab1381e830
commit c33e553175

View File

@@ -128,8 +128,14 @@ def main
end
wp_target.interesting_headers.each do |header|
if header[1].class == Array
header[1].each do |value|
puts green('[+]') + " Interesting header: #{header[0]}: #{value}"
end
else
puts green('[+]') + " Interesting header: #{header[0]}: #{header[1]}"
end
end
if wp_target.multisite?
puts green('[+]') + ' This site seems to be a multisite (http://codex.wordpress.org/Glossary#Multisite)'