diff --git a/modules/payloads/singles/nodejs/shell_reverse_tcp.rb b/modules/payloads/singles/nodejs/shell_reverse_tcp.rb index 58885503f8..d36168e685 100644 --- a/modules/payloads/singles/nodejs/shell_reverse_tcp.rb +++ b/modules/payloads/singles/nodejs/shell_reverse_tcp.rb @@ -37,11 +37,7 @@ module Metasploit3 # Constructs the payload # def generate - # Future proof for PrependEncoder - ret = super + command_string - # For copy-paste to files or other sessions - vprint_good(ret) - return ret + super + command_string end # diff --git a/modules/payloads/singles/nodejs/shell_reverse_tcp_ssl.rb b/modules/payloads/singles/nodejs/shell_reverse_tcp_ssl.rb index 32fbb0d4b0..e57e752c46 100644 --- a/modules/payloads/singles/nodejs/shell_reverse_tcp_ssl.rb +++ b/modules/payloads/singles/nodejs/shell_reverse_tcp_ssl.rb @@ -34,11 +34,7 @@ module Metasploit3 # Constructs the payload # def generate - # Future proof for PrependEncoder - ret = super + command_string - # For copy-paste to files or other sessions - vprint_good(ret) - return ret + super + command_string end #