diff --git a/lib/msf/java/rmi/client.rb b/lib/msf/java/rmi/client.rb index 16c207f4bb..97cfed79a9 100644 --- a/lib/msf/java/rmi/client.rb +++ b/lib/msf/java/rmi/client.rb @@ -107,7 +107,7 @@ module Msf def recv_return(opts = {}) nsock = opts[:sock] || sock data = safe_get_once(nsock) - puts "#{Rex::Text.to_hex(data)}" + begin return_data = Rex::Proto::Rmi::Model::ReturnData.decode(StringIO.new(data)) rescue ::RuntimeError => e