Skip to content

Commit 43294df

Browse files
committed
Add a message about what is failing
1 parent e2bf216 commit 43294df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/selenium_greed_chrome_rce_cve_2022_28108.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def check
8989
rescue JSON::ParserError
9090
return Exploit::CheckCode::Unknown('Unable to determine the version.')
9191
end
92-
return Exploit::CheckCode::Unknown unless json_data && json_data.include?('version') && json_data['version']
92+
return Exploit::CheckCode::Unknown('Unable to determine the version.') unless json_data && json_data.include?('version') && json_data['version']
9393

9494
# Extract the version
9595
version = Rex::Version.new(json_data['version'])

0 commit comments

Comments
 (0)