ruby conditional operator -> expression
parent
4a3ab9d464
commit
4a4904149b
|
@ -78,7 +78,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
end
|
end
|
||||||
disconnect_udp
|
disconnect_udp
|
||||||
resp_str = resp.join(',')
|
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
|
end
|
||||||
|
|
||||||
def check
|
def check
|
||||||
|
|
Loading…
Reference in New Issue