Path: blob/master/lib/rex/post/meterpreter/channels/stream.rb
19758 views
# -*- coding: binary -*-12require 'rex/io/stream_abstraction'3require 'rex/post/meterpreter/channels/socket_abstraction'45module Rex6module Post7module Meterpreter89###10#11# Stream12# ------13#14# This class represents a channel that is streaming. This means15# that sequential data is flowing in either one or both directions.16#17###18class Stream < Rex::Post::Meterpreter::Channel1920include Rex::Post::Meterpreter::SocketAbstraction21include Rex::IO::StreamAbstraction2223class << self24def cls25return CHANNEL_CLASS_STREAM26end27end2829module SocketInterface30include Rex::Post::Meterpreter::SocketAbstraction::SocketInterface3132def type?33'tcp'34end35end3637end3839end; end; end40414243