Skip to content

Commit 8efbfc0

Browse files
committed
Fix a regression in Windows version fingerprinting
1 parent b6ed7f0 commit 8efbfc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/smb/smb_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def run_host(ip)
327327
port: rport,
328328
proto: 'tcp',
329329
ntype: 'fingerprint.match',
330-
data: { :finger_print => nd_fingerprint_match }
330+
data: nd_fingerprint_match
331331
)
332332
elsif smb1_fingerprint['native_os'] || smb1_fingerprint['native_lm']
333333
desc = "#{smb1_fingerprint['native_os']} (#{smb1_fingerprint['native_lm']})"
@@ -352,7 +352,7 @@ def run_host(ip)
352352
port: rport,
353353
proto: 'tcp',
354354
ntype: 'smb.fingerprint',
355-
data: { :finger_print => nd_smb_fingerprint }
355+
data: nd_smb_fingerprint
356356
)
357357

358358
disconnect

0 commit comments

Comments
 (0)