From cc6900d2ece23a104d662f7a3151e8f73f89b099 Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Thu, 17 Aug 2006 01:57:52 +0000 Subject: [PATCH] fix to bind_tcp handler where it wouldn't use the proper comm git-svn-id: file:///home/svn/framework3/trunk@3834 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/handler/bind_tcp.rb | 1 - lib/rex/io/stream_abstraction.rb | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/msf/core/handler/bind_tcp.rb b/lib/msf/core/handler/bind_tcp.rb index 819cc72ae4..bc8704c95b 100644 --- a/lib/msf/core/handler/bind_tcp.rb +++ b/lib/msf/core/handler/bind_tcp.rb @@ -86,7 +86,6 @@ module BindTcp 'PeerHost' => datastore['RHOST'], 'PeerPort' => datastore['LPORT'].to_i, 'Proxies' => datastore['Proxies'], - 'Comm' => comm, 'Context' => { 'Msf' => framework, diff --git a/lib/rex/io/stream_abstraction.rb b/lib/rex/io/stream_abstraction.rb index cffe10cd7b..c130b76d2d 100644 --- a/lib/rex/io/stream_abstraction.rb +++ b/lib/rex/io/stream_abstraction.rb @@ -32,14 +32,14 @@ module StreamAbstraction # Symbolic peer information. # def peerinfo - (@peer || "Remote Pipe") + " (HTTP)" + (@peer || "Remote Pipe") end # # Symbolic local information. # def localinfo - "Local Pipe (HTTP)" + "Local Pipe" end end