Add in myworkspace.id patch for the other missing modules
This commit is contained in:
@@ -181,7 +181,7 @@ class MetasploitModule < Msf::Post
|
||||
address: proxyhost,
|
||||
port: proxyport,
|
||||
protocol: 'tcp',
|
||||
workspace_id: myworkspace.id,
|
||||
workspace_id: myworkspace_id,
|
||||
origin_type: :service,
|
||||
private_type: :password,
|
||||
private_data: proxypass,
|
||||
|
||||
@@ -96,7 +96,7 @@ class MetasploitModule < Msf::Post
|
||||
credential_data = {
|
||||
origin_type: :session,
|
||||
session_id: session_db_id,
|
||||
workspace_id: myworkspace.id,
|
||||
workspace_id: myworkspace_id,
|
||||
post_reference_name: self.fullname,
|
||||
username: formatted_output.split(':')[0],
|
||||
private_data: formatted_output.split(':')[1],
|
||||
|
||||
@@ -186,7 +186,7 @@ class MetasploitModule < Msf::Post
|
||||
krbtgt_creds = Metasploit::Credential::Core.joins(:public, :private).where(
|
||||
metasploit_credential_publics: { username: 'krbtgt' },
|
||||
metasploit_credential_privates: { type: 'Metasploit::Credential::NTLMHash' },
|
||||
workspace_id: myworkspace.id)
|
||||
workspace_id: myworkspace_id)
|
||||
|
||||
if krbtgt_creds
|
||||
|
||||
|
||||
Reference in New Issue
Block a user