From 048316864c4de6e82f03f521c6f2ad0422ec787b Mon Sep 17 00:00:00 2001 From: Patrick Thomas Date: Wed, 6 Sep 2017 23:01:13 -0700 Subject: [PATCH] remove redundant return --- modules/exploits/multi/misc/nodejs_v8_debugger.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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