No explicit "return"
parent
f471f50092
commit
eec01e79ff
|
@ -33,12 +33,11 @@ end
|
|||
|
||||
|
||||
def check
|
||||
nmod = self.replicant
|
||||
nmod = replicant
|
||||
begin
|
||||
code = nmod.check_host(datastore['RHOST'])
|
||||
return code
|
||||
nmod.check_host(datastore['RHOST'])
|
||||
rescue NoMethodError
|
||||
return Exploit::CheckCode::Unsupported
|
||||
Exploit::CheckCode::Unsupported
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue