Skip to content

Commit d7ad443

Browse files
committed
Merge branch 'master' of https://github.com/rapid7/metasploit-framework into upstream-master
2 parents c0a5341 + deacebc commit d7ad443

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/auxiliary/scanner/ssh/ssh_login.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ def run_host(ip)
132132
case result.status
133133
when Metasploit::Model::Login::Status::SUCCESSFUL
134134
print_brute :level => :good, :ip => ip, :msg => "Success: '#{result.credential}' '#{result.proof.to_s.gsub(/[\r\n\e\b\a]/, ' ')}'"
135+
credential_data[:private_type] = :password
135136
credential_core = create_credential(credential_data)
136137
credential_data[:core] = credential_core
137138
create_credential_login(credential_data)

0 commit comments

Comments
 (0)