We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e4ec7 commit fde2687Copy full SHA for fde2687
modules/auxiliary/scanner/smb/smb_version.rb
@@ -79,16 +79,19 @@ def run_host(ip)
79
if res['edition'].to_s.length > 0
80
desc << " #{res['edition']}"
81
conf[:os_edition] = res['edition']
82
+ match_conf['os.edition'] = res['edition']
83
end
84
85
if res['sp'].to_s.length > 0
86
desc << " #{res['sp'].downcase.gsub('service pack ', 'SP')}"
87
conf[:os_sp] = res['sp']
88
+ match_conf['os.version'] = res['sp']
89
90
91
if res['build'].to_s.length > 0
92
desc << " (build:#{res['build']})"
93
conf[:os_build] = res['build']
94
+ match_conf['os.build'] = res['build']
95
96
97
if res['lang'].to_s.length > 0 and res['lang'] != 'Unknown'
0 commit comments