diff --git a/lib/msf/base/sessions/meterpreter_multi.rb b/lib/msf/base/sessions/meterpreter_multi.rb index c9e416985d..2e2d810fcb 100644 --- a/lib/msf/base/sessions/meterpreter_multi.rb +++ b/lib/msf/base/sessions/meterpreter_multi.rb @@ -12,13 +12,9 @@ module Sessions ### class Meterpreter_Multi < Msf::Sessions::Meterpreter def initialize(rstream, opts={}) + super self.base_platform = 'multi' self.base_arch = ARCH_ANY - - # TODO: can we read the opts and find the UUID to instantiate the right - # session type? Is it important? - - super end def self.create_session(rstream, opts={}) diff --git a/lib/msf/core/handler/reverse_http.rb b/lib/msf/core/handler/reverse_http.rb index dad866decd..f9fb9bfee1 100644 --- a/lib/msf/core/handler/reverse_http.rb +++ b/lib/msf/core/handler/reverse_http.rb @@ -318,7 +318,6 @@ protected resp.body = pkt.to_r when :init_python, :init_native, :init_java - STDERR.puts("#{uuid}\n") # TODO: at some point we may normalise these three cases into just :init url = payload_uri(req) + conn_id + '/'