Little refactoring
This commit is contained in:
@@ -128,12 +128,14 @@ def main
|
|||||||
end
|
end
|
||||||
|
|
||||||
wp_target.interesting_headers.each do |header|
|
wp_target.interesting_headers.each do |header|
|
||||||
|
output = "#{green('[+]')} Interesting header: "
|
||||||
|
|
||||||
if header[1].class == Array
|
if header[1].class == Array
|
||||||
header[1].each do |value|
|
header[1].each do |value|
|
||||||
puts green('[+]') + " Interesting header: #{header[0]}: #{value}"
|
puts output + "#{header[0]}: #{value}"
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts green('[+]') + " Interesting header: #{header[0]}: #{header[1]}"
|
puts output + "#{header[0]}: #{header[1]}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user