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-b9f4589650daunstable
parent
a785add956
commit
17ad98e8e3
|
@ -295,7 +295,10 @@ class Core
|
||||||
'PeerPort' => port,
|
'PeerPort' => port,
|
||||||
'LocalHost' => srcaddr,
|
'LocalHost' => srcaddr,
|
||||||
'LocalPort' => srcport,
|
'LocalPort' => srcport,
|
||||||
'Timeout' => cto
|
'Timeout' => cto,
|
||||||
|
'Context' => {
|
||||||
|
'Msf' => framework
|
||||||
|
}
|
||||||
})
|
})
|
||||||
rescue
|
rescue
|
||||||
print_error("Unable to connect: #{$!}")
|
print_error("Unable to connect: #{$!}")
|
||||||
|
|
Loading…
Reference in New Issue