Fix vuln_version?

bug/bundler_fix
nixawk 2016-02-22 00:39:44 +08:00
parent 53a52fafd5
commit 138e48b202
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class Metasploit4 < Msf::Exploit::Remote
version = postgres_fingerprint
if version[:auth]
major_version = postgres_major_version(version[:auth])
return true if major_version.to_i >= 8
return true if major_version && major_version.to_i >= 8
end
false
end