Skip to content

Commit 2be1781

Browse files
committed
Remove unnecessary version check
1 parent d788a3b commit 2be1781

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/exploits/linux/http/selenium_greed_firefox_rce_cve_2022_28108.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,7 @@ def check
9898

9999
# Extract the version
100100
version = Rex::Version.new(json_data['version'])
101-
if version == Rex::Version.new('4.0.0-alpha-7') || Rex::Version.new('4.0.1') <= version
102-
return Exploit::CheckCode::Safe("Version #{version} detected, which is not vulnerable.")
103-
end
104-
105101
@version3 = version < Rex::Version.new('4.0.0')
106-
107102
CheckCode::Appears("Version #{version} detected, which is vulnerable.")
108103
end
109104

0 commit comments

Comments
 (0)