ruby conditional operator -> expression

bug/bundler_fix
Vex Woo 2016-05-16 10:45:04 -05:00
parent 4a3ab9d464
commit 4a4904149b
1 changed files with 1 additions and 1 deletions

View File

@ -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