Fix #506 - Timthumbs WebShot RCE detection

This commit is contained in:
erwanlr
2014-07-01 21:44:39 +02:00
parent f9b10dc9db
commit dd53c7b200
3 changed files with 52 additions and 7 deletions

View File

@@ -4,7 +4,10 @@ class WpTimthumb < WpItem
module Output
def output(verbose = false)
puts " | #{vulnerable? ? red('[!] Vulnerable') : green('[i] Not Vulnerable')} #{self}"
puts
puts "#{green('[+]')} #{self}" #this will also output the version number if detected
vulnerabilities.output
end
end