Land #9552, add private_type for stored tomcat pw

Fixes #9513
4.x
Spencer McIntyre 2018-02-13 19:25:27 -05:00 committed by Metasploit
parent aecc1f143f
commit bdc0b47844
No known key found for this signature in database
GPG Key ID: CDFB5FA52007B954
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,8 @@ class MetasploitModule < Msf::Auxiliary
credential_data = result.to_h
credential_data.merge!(
module_fullname: self.fullname,
workspace_id: myworkspace_id
workspace_id: myworkspace_id,
private_type: :password
)
if result.success?
credential_core = create_credential(credential_data)