Fix bug creating sessions when connected to remote data service

GSoC/Meterpreter_Web_Console
James Barnett 2018-04-19 16:19:39 -05:00
parent 7e971721f0
commit f4a949e649
No known key found for this signature in database
GPG Key ID: 647983861A4EC5EA
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ module Msf::DBManager::Session
::ActiveRecord::Base.connection_pool.with_connection {
host_data = session_dto[:host_data]
workspace = workspaces({ name: host_data[:workspace].name })
workspace = workspaces({ name: host_data[:workspace] })
h_opts = {}
h_opts[:host] = host_data[:host]
h_opts[:arch] = host_data[:arch]