Skip to content

Commit dc95b01

Browse files
committed
Land rapid7#3670, smb_login private_type fix
[FixRM rapid7#8841]
2 parents b748cee + f169b8d commit dc95b01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/auxiliary/scanner/smb/smb_login.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ def report_creds(ip, port, result)
172172
module_fullname: self.fullname,
173173
origin_type: :service,
174174
private_data: result.credential.private,
175-
private_type: :password,
175+
private_type: (
176+
Rex::Proto::NTLM::Utils.is_pass_ntlm_hash?(result.credential.private) ? :ntlm_hash : :password
177+
),
176178
username: result.credential.public,
177179
}.merge(service_data)
178180

0 commit comments

Comments
 (0)