Update style

GSoC/Meterpreter_Web_Console
William Vu 2018-10-19 15:52:26 -05:00
parent 763506f28d
commit db7bd3d50c
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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