From 982933cbda4a1ec70d3c141e81fc0d6f6d07789c Mon Sep 17 00:00:00 2001 From: adfoster-r7 Date: Mon, 7 Oct 2024 17:31:45 +0100 Subject: [PATCH] Update health checks for exploit files --- config/software/metasploit-framework.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/config/software/metasploit-framework.rb b/config/software/metasploit-framework.rb index 4226feb..67d83a2 100644 --- a/config/software/metasploit-framework.rb +++ b/config/software/metasploit-framework.rb @@ -35,13 +35,10 @@ def has_windows_metasploit_framework_repo? # This depends on extra system libraries on OS X whitelist_file "#{install_dir}//embedded/framework/data/isight.bundle" -# Files in this path are currently attached to exploits and required `bad` binaries +# Files in this path are currently attached to exploits and do not need to pass system-specific omnibus health checks +whitelist_file "#{install_dir}/embedded/framework/data/exploits/.*" whitelist_file "#{install_dir}//embedded/framework/data/exploits/.*" -# This depends on libfuse -whitelist_file "#{install_dir}/embedded/framework/data/exploits/CVE-2016-4557/hello" -whitelist_file "#{install_dir}/embedded/framework/data/exploits/CVE-2023-0386/cve_2023_0386.x64.elf" - # This depends on Openssl 1.x whitelist_file "#{install_dir}/embedded/lib/ruby/gems/#{ruby_abi_version}/gems/metasploit-payloads.*"