ruby conditional operator -> expression
parent
4a3ab9d464
commit
4a4904149b
|
@ -78,7 +78,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
end
|
||||
disconnect_udp
|
||||
resp_str = resp.join(',')
|
||||
true ? resp.length >= 1 && resp_str.include?("\x00\x00\x00\x05") : false
|
||||
resp.length >= 1 && resp_str.include?("\x00\x00\x00\x05")
|
||||
end
|
||||
|
||||
def check
|
||||
|
|
Loading…
Reference in New Issue