Avoid return where not required

bug/bundler_fix
Mehmet Ince 2016-07-20 21:27:51 +03:00
parent b0a0544627
commit 51bb950201
No known key found for this signature in database
GPG Key ID: 11EF24A306357530
1 changed files with 3 additions and 2 deletions

View File

@ -63,9 +63,10 @@ class MetasploitModule < Msf::Exploit::Remote
}
)
if res && res.body.include?(r)
return Exploit::CheckCode::Vulnerable
Exploit::CheckCode::Vulnerable
else
Exploit::CheckCode::Safe
end
return Exploit::CheckCode::Safe
end
def exploit