Skip to content

Commit 9fb445f

Browse files
committed
Land rapid7#9300, Add private data type to auxiliary scanner ftp_login and telnet_login
2 parents 6b216f2 + 384b250 commit 9fb445f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

modules/auxiliary/scanner/ftp/ftp_login.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def run_host(ip)
9494
workspace_id: myworkspace_id
9595
)
9696
if result.success?
97+
credential_data[:private_type] = :password
9798
credential_core = create_credential(credential_data)
9899
credential_data[:core] = credential_core
99100
create_credential_login(credential_data)

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)