Fix #413 - Check the version of the Timthumbs files found
This commit is contained in:
9
lib/common/models/wp_timthumb/vulnerable.rb
Normal file
9
lib/common/models/wp_timthumb/vulnerable.rb
Normal 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
|
||||
Reference in New Issue
Block a user