File tree Expand file tree Collapse file tree
modules/auxiliary/scanner/smb Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -295,9 +295,11 @@ def run_host(ip)
295295 if info [ :os_name ] && info [ :os_name ] != 'Unknown'
296296 smb_desc = smb_description ( info )
297297 os_desc = "Host is running #{ info [ :os_name ] } "
298+ smb1_desc = "; #{ smb1_fingerprint [ 'native_lm' ] } " if smb1_fingerprint [ 'native_lm' ] else ""
298299
299300 lines << { type : :status , message : smb_desc }
300301 lines << { type : :good , message : " #{ os_desc } " }
302+ lines << { type : :status , message : " #{ smb1_fingerprint [ 'native_lm' ] } " , verbose : true } if smb1_fingerprint [ 'native_lm' ]
301303
302304 unless info [ :signing_required ]
303305 report_vuln ( {
@@ -318,7 +320,7 @@ def run_host(ip)
318320 port : rport ,
319321 proto : 'tcp' ,
320322 name : 'smb' ,
321- info : "#{ smb_desc } ; #{ os_desc } "
323+ info : "#{ smb_desc } ; #{ os_desc } #{ smb1_desc } "
322324 )
323325
324326 # Report a fingerprint.match hash for name, domain, and language
You can’t perform that action at this time.
0 commit comments