Fix #413 - Check the version of the Timthumbs files found

This commit is contained in:
erwanlr
2014-02-24 18:15:43 +01:00
parent 90617c5433
commit b2d946794b
3 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
# encoding: UTF-8
class WpTimthumb < WpItem
module Vulnerable
def vulnerable?
VersionCompare.is_newer_or_same?(version, '1.34')
end
end
end