Skip to content

Commit 384b250

Browse files
authored
Add credential data type
Added credential data type so that successful passwords are stored in the database and accessible via the creds command.
1 parent be4939b commit 384b250

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/auxiliary/scanner/telnet/telnet_login.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def run_host(ip)
8585
workspace_id: myworkspace_id
8686
)
8787
if result.success?
88+
credential_data[:private_type] = :password
8889
credential_core = create_credential(credential_data)
8990
credential_data[:core] = credential_core
9091
create_credential_login(credential_data)

0 commit comments

Comments
 (0)