Update style
parent
763506f28d
commit
db7bd3d50c
|
@ -74,11 +74,12 @@ class MetasploitModule < Msf::Auxiliary
|
|||
s.platform = scanner.get_platform(result.proof)
|
||||
|
||||
# Create database host information
|
||||
host_info = {:host => scanner.host}
|
||||
host_info = {host: scanner.host}
|
||||
|
||||
unless s.platform == 'unknown'
|
||||
host_info[:os_name] = s.platform
|
||||
end
|
||||
|
||||
report_host(host_info)
|
||||
|
||||
s
|
||||
|
|
|
@ -93,11 +93,12 @@ class MetasploitModule < Msf::Auxiliary
|
|||
s.platform = scanner.get_platform(result.proof)
|
||||
|
||||
# Create database host information
|
||||
host_info = {:host => scanner.host}
|
||||
host_info = {host: scanner.host}
|
||||
|
||||
unless s.platform == 'unknown'
|
||||
host_info[:os_name] = s.platform
|
||||
end
|
||||
|
||||
report_host(host_info)
|
||||
|
||||
s
|
||||
|
|
Loading…
Reference in New Issue