Use Gem::Version

bug/bundler_fix
jvazquez-r7 2014-09-12 10:35:12 -05:00
parent 25a09ea227
commit 67c0ee654b
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Metasploit3 < Msf::Auxiliary
def is_version_tested?(version)
# As of Sep 4 2014, version 7.4 is the latest and that's the last one we've tested
if version < '7.5'
if Gem::Version.new(version) < Gem::Version.new('7.5')
return true
end