diff --git a/modules/exploits/multi/misc/nodejs_v8_debugger.rb b/modules/exploits/multi/misc/nodejs_v8_debugger.rb index b56f01402c..60d8969fcd 100644 --- a/modules/exploits/multi/misc/nodejs_v8_debugger.rb +++ b/modules/exploits/multi/misc/nodejs_v8_debugger.rb @@ -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