remove redundant return

bug/bundler_fix
Patrick Thomas 2017-09-06 23:01:13 -07:00
parent 97d08e0da4
commit 048316864c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class MetasploitModule < Msf::Exploit::Remote
escaped_payload = payload.encoded.gsub(/"/, '\\"')
msg_body = MESSAGE_TEMPLATE % {:payload => escaped_payload}
msg_header = MESSAGE_HEADER_TEMPLATE % {:length => msg_body.length}
return msg_header + msg_body
msg_header + msg_body
end
def check