Avoid return where not required
parent
b0a0544627
commit
51bb950201
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue