We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3b37c7 commit 54de805Copy full SHA for 54de805
modules/post/multi/gather/remmina_creds.rb
@@ -41,6 +41,7 @@ def run
41
42
creds.each do |cred|
43
cred_table << cred
44
+ report_credential(cred[3], cred[4])
45
end
46
47
print_line(cred_table.to_s)
@@ -169,4 +170,19 @@ def get_settings(file)
169
170
vprint_error("No settings found in #{file}") if settings.empty?
171
settings
172
173
+
174
+ def report_credential(user, pass)
175
+ credential_data = {
176
+ workspace_id: myworkspace_id,
177
+ origin_type: :session,
178
+ session_id: session_db_id,
179
+ post_reference_name: self.refname,
180
+ username: user,
181
+ private_data: pass,
182
+ private_type: :password
183
+ }
184
185
+ create_credential(credential_data)
186
+ end
187
188
0 commit comments