Skip to content

Commit 405eae4

Browse files
committed
Remove EOL whitespace
1 parent fc1635e commit 405eae4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

modules/auxiliary/server/browser_autopwn.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ def client_matches_module_spec?(client_str, module_spec)
851851
return !! client_str.match(module_spec)
852852
when ::Array
853853
return !! exploit_spec.map{ |spec|
854-
client_matches_module_spec?(client_str, spec)
854+
client_matches_module_spec?(client_str, spec)
855855
}.include?(true)
856856
end
857857

@@ -935,7 +935,6 @@ def record_detection(cli, request)
935935
detected_version = Rex::Text.decode_base64(Rex::Text.uri_decode(detected_version))
936936
print_status("JavaScript Report: #{detected_version}")
937937

938-
939938
(os_name, os_vendor, os_flavor, os_device, os_sp, os_lang, arch, ua_name, ua_ver) = detected_version.split(':')
940939

941940
if framework.db.active
@@ -947,7 +946,7 @@ def record_detection(cli, request)
947946
note_data['os.version'] = os_sp if os_sp != 'undefined'
948947
note_data['os.language'] = os_lang if os_lang != 'undefined'
949948
note_data['os.arch'] = arch if arch != 'undefined'
950-
note_data['os.certainty'] = '0.7'
949+
note_data['os.certainty'] = '0.7'
951950
print_status("Reporting: #{note_data.inspect}")
952951

953952
# Reporting stuff isn't really essential since we store all

0 commit comments

Comments
 (0)