diff --git a/lib/rex/post/meterpreter/channels/pools/stream_pool.rb b/lib/rex/post/meterpreter/channels/pools/stream_pool.rb index e6b650d6b9..cd513a1134 100644 --- a/lib/rex/post/meterpreter/channels/pools/stream_pool.rb +++ b/lib/rex/post/meterpreter/channels/pools/stream_pool.rb @@ -12,7 +12,7 @@ module Pools ### # # StreamPool -# ---- +# ---------- # # This class represents a channel that is associated with a # streaming pool that has no definite end-point. While this @@ -24,12 +24,6 @@ module Pools ### class StreamPool < Rex::Post::Meterpreter::Channels::Pool - ## - # - # Factory - # - ## - ## # # Constructor diff --git a/lib/rex/post/meterpreter/channels/streams/.cvskeep b/lib/rex/post/meterpreter/channels/streams/.cvskeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/rex/post/meterpreter/channels/streams/Tcp.rb b/lib/rex/post/meterpreter/channels/streams/Tcp.rb deleted file mode 100644 index 0beecd98fb..0000000000 --- a/lib/rex/post/meterpreter/channels/streams/Tcp.rb +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/ruby - -require 'Rex/Post/Meterpreter/Channels/Stream' -require 'Rex/Post/Meterpreter/Extensions/Stdapi/Tlv' - -module Rex -module Post -module Meterpreter -module Channels - -### -# -# Tcp -# --- -# -# The TCP class wrappers a stream-based meterpreter channel. -# -### -class Tcp < Rex::Post::Meterpreter::Channels::Stream - - ## - # - # Factory - # - ## - - def Tcp.open(client, host, port) - return Channel.create(client, 'stdapi_net_tcp_client', - self, CHANNEL_FLAG_SYNCHRONOUS, - [ - { - 'type' => TLV_TYPE_HOST_NAME, - 'value' => host - }, - { - 'type' => TLV_TYPE_PORT, - 'value' => port - } - ]) - end - - ## - # - # Constructor - # - ## - - # Passes the initialization information up to the base class - def initialize(client, cid, type, flags) - super(client, cid, type, flags) - end - -end - -end; end; end; end