diff --git a/modules/exploits/linux/http/netis_unauth_rce_cve_2024_22729.rb b/modules/exploits/linux/http/netis_unauth_rce_cve_2024_22729.rb index dc541b2b7b2d..e37b5a8f2491 100644 --- a/modules/exploits/linux/http/netis_unauth_rce_cve_2024_22729.rb +++ b/modules/exploits/linux/http/netis_unauth_rce_cve_2024_22729.rb @@ -124,9 +124,9 @@ def check if version_number && model_number == 'MW5360' if Rex::Version.new(version_number) <= Rex::Version.new('1.0.1.3442') return CheckCode::Appears("Netis #{model_number} #{version_number}") - else - return CheckCode::Safe("Netis #{model_number} #{version_number}") end + + return CheckCode::Safe("Netis #{model_number} #{version_number}") end CheckCode::Safe("#{model_number} #{version_number}") end