Skip to content

Commit 4cadffc

Browse files
committed
msftidy
1 parent 4613984 commit 4cadffc

File tree

1 file changed

+2
-2
lines changed
  • modules/auxiliary/server/capture

1 file changed

+2
-2
lines changed

modules/auxiliary/server/capture/smb.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def smb_get_hash(smb, arg = {}, esn=true)
529529
print_status(capturelogmessage)
530530
lm_text = (lm_hash + lm_cli_challenge.to_s).empty? ? "00" * 24 : lm_hash + lm_cli_challenge.to_s
531531
nt_text = (nt_hash + nt_cli_challenge.to_s).empty? ? "00" * 24 : nt_hash + nt_cli_challenge.to_s
532-
pass = "#{smb[:domain]}:#{lm_text}:#{nt_text}:#{datastore['CHALLENGE'].to_s}"
532+
pass = "#{smb[:domain]}:#{lm_text}:#{nt_text}:#{datastore['CHALLENGE'].to_s}"
533533

534534
# DB reporting
535535
report_auth_info(
@@ -575,7 +575,7 @@ def smb_get_hash(smb, arg = {}, esn=true)
575575
smb[:username],
576576
smb[:domain] ? smb[:domain] : "NULL",
577577
@challenge.unpack("H*")[0],
578-
lm_hash.empty? ? "0" * 48 : lm_hash,
578+
lm_hash.empty? ? "0" * 48 : lm_hash,
579579
nt_hash.empty? ? "0" * 48 : nt_hash
580580
].join(":").gsub(/\n/, "\\n")
581581
)

0 commit comments

Comments
 (0)