Fix check return value
parent
65ee8c7d5c
commit
cf0375f7e6
|
@ -71,7 +71,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
print_status("#{peer} - Version #{version} detected")
|
print_status("#{peer} - Version #{version} detected")
|
||||||
|
|
||||||
if version < "4.1.2"
|
if version < "4.1.2"
|
||||||
return Exploit::CheckCode::Vulnerable
|
return Exploit::CheckCode::Detected
|
||||||
else
|
else
|
||||||
return Exploit::CheckCode::Safe
|
return Exploit::CheckCode::Safe
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue