diff --git a/modules/auxiliary/scanner/http/hp_sys_mgmt_login.rb b/modules/auxiliary/scanner/http/hp_sys_mgmt_login.rb index 5590c3b3c9..2e88f65b94 100644 --- a/modules/auxiliary/scanner/http/hp_sys_mgmt_login.rb +++ b/modules/auxiliary/scanner/http/hp_sys_mgmt_login.rb @@ -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