Fix vuln_version?
parent
53a52fafd5
commit
138e48b202
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue