From 14e87bf06f52cd410f6bbbe3f741fbfae37cfd62 Mon Sep 17 00:00:00 2001 From: Nate Caroe Date: Thu, 11 Oct 2018 11:10:36 -0600 Subject: [PATCH] Baby come back --- lib/msf/core/exploit/tcp.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/msf/core/exploit/tcp.rb b/lib/msf/core/exploit/tcp.rb index 532b8cb042..e414c58c98 100644 --- a/lib/msf/core/exploit/tcp.rb +++ b/lib/msf/core/exploit/tcp.rb @@ -194,6 +194,14 @@ module Exploit::Remote::Tcp super disconnect end + + def print_prefix + if rhost && rhost.split(' ').length < 2 + super + peer + ' - ' + else + super + end + end ## #