changed some colors

This commit is contained in:
Christian Mehlmauer
2014-09-22 23:34:42 +02:00
parent b19696090f
commit 7f9e178f75
8 changed files with 83 additions and 67 deletions

View File

@@ -6,7 +6,7 @@ class Vulnerability
# output the vulnerability
def output(verbose = false)
puts
puts "#{red('[!]')} Title: #{title}"
puts "#{critical('[!]')} Title: #{title}"
references.each do |key, urls|
methodname = "url_#{key}"
urls.each do |u|
@@ -15,7 +15,7 @@ class Vulnerability
end
end
if !fixed_in.nil?
puts "#{blue('[i]')} Fixed in: #{fixed_in}"
puts "#{notice('[i]')} Fixed in: #{fixed_in}"
end
end
end