Report a fingerprint instead of overwriting host.os_name

bug/bundler_fix
HD Moore 2014-03-30 06:32:38 -07:00
parent 76720e9cf8
commit b5561cc9ec
1 changed files with 12 additions and 1 deletions

View File

@ -3426,7 +3426,18 @@ class DBManager
:task => args[:task]
}
conf[:os_name] = os if os
if os
report_note(
:workspace => wspace,
:task => args[:task],
:host => ip,
:type => 'host.os.spiceworks_fingerprint',
:data => {
:os => os.to_s.strip
}
)
end
info = []
info << "Serial Number: #{serialno}" unless (serialno.blank? or serialno == name)