Missed one more bug in append_workspace

GSoC/Meterpreter_Web_Console
James Barnett 2018-03-29 15:18:31 -05:00
parent 19e01b4b66
commit 3b1e3a4256
No known key found for this signature in database
GPG Key ID: 647983861A4EC5EA
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class RemoteHTTPDataService
# We only want to pass the workspace name, so grab it if it is currently an object.
if data_hash[:workspace] && (data_hash[:workspace].is_a?(OpenStruct) || data_hash[:workspace].is_a?(::Mdm::Workspace))
data_hash[:workspace] = workspace.name
data_hash[:workspace] = data_hash[:workspace].name
end
# If we still don't have a :workspace value, just set it to the current workspace.