From 17ad98e8e3d4b04456a59e75c0d5a76c58f474df Mon Sep 17 00:00:00 2001 From: kris <> Date: Sat, 11 Apr 2009 12:07:50 +0000 Subject: [PATCH] Add 'Msf' to 'Context' in the connect command's socket for db_tracker git-svn-id: file:///home/svn/framework3/trunk@6476 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/ui/console/command_dispatcher/core.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/msf/ui/console/command_dispatcher/core.rb b/lib/msf/ui/console/command_dispatcher/core.rb index c2d9edc6ac..3d9c8a44e5 100644 --- a/lib/msf/ui/console/command_dispatcher/core.rb +++ b/lib/msf/ui/console/command_dispatcher/core.rb @@ -295,7 +295,10 @@ class Core 'PeerPort' => port, 'LocalHost' => srcaddr, 'LocalPort' => srcport, - 'Timeout' => cto + 'Timeout' => cto, + 'Context' => { + 'Msf' => framework + } }) rescue print_error("Unable to connect: #{$!}")