Check nil
parent
8e6a1d203b
commit
2dff66aacb
|
@ -61,7 +61,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
sock.put("DOTI0000000A#{dtag}\n")
|
||||
|
||||
err, out = read_output
|
||||
if out.index(r)
|
||||
if out && out.index(r)
|
||||
return Exploit::CheckCode::Vulnerable
|
||||
end
|
||||
return Exploit::CheckCode::Safe
|
||||
|
|
Loading…
Reference in New Issue