Remove EOL whitespace

This commit is contained in:
William Vu 2014-11-17 11:46:36 -06:00
parent fc1635e80a
commit 405eae4b6e
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
1 changed files with 2 additions and 3 deletions

View File

@ -851,7 +851,7 @@ class Metasploit3 < Msf::Auxiliary
return !! client_str.match(module_spec) return !! client_str.match(module_spec)
when ::Array when ::Array
return !! exploit_spec.map{ |spec| return !! exploit_spec.map{ |spec|
client_matches_module_spec?(client_str, spec) client_matches_module_spec?(client_str, spec)
}.include?(true) }.include?(true)
end end
@ -935,7 +935,6 @@ class Metasploit3 < Msf::Auxiliary
detected_version = Rex::Text.decode_base64(Rex::Text.uri_decode(detected_version)) detected_version = Rex::Text.decode_base64(Rex::Text.uri_decode(detected_version))
print_status("JavaScript Report: #{detected_version}") print_status("JavaScript Report: #{detected_version}")
(os_name, os_vendor, os_flavor, os_device, os_sp, os_lang, arch, ua_name, ua_ver) = detected_version.split(':') (os_name, os_vendor, os_flavor, os_device, os_sp, os_lang, arch, ua_name, ua_ver) = detected_version.split(':')
if framework.db.active if framework.db.active
@ -947,7 +946,7 @@ class Metasploit3 < Msf::Auxiliary
note_data['os.version'] = os_sp if os_sp != 'undefined' note_data['os.version'] = os_sp if os_sp != 'undefined'
note_data['os.language'] = os_lang if os_lang != 'undefined' note_data['os.language'] = os_lang if os_lang != 'undefined'
note_data['os.arch'] = arch if arch != 'undefined' note_data['os.arch'] = arch if arch != 'undefined'
note_data['os.certainty'] = '0.7' note_data['os.certainty'] = '0.7'
print_status("Reporting: #{note_data.inspect}") print_status("Reporting: #{note_data.inspect}")
# Reporting stuff isn't really essential since we store all # Reporting stuff isn't really essential since we store all