diff --git a/modules/exploits/multi/http/wp_bricks_builder_rce.rb b/modules/exploits/multi/http/wp_bricks_builder_rce.rb index a10e4098b1e2..526cf374123b 100644 --- a/modules/exploits/multi/http/wp_bricks_builder_rce.rb +++ b/modules/exploits/multi/http/wp_bricks_builder_rce.rb @@ -122,12 +122,12 @@ def check print_status("WordPress Version: #{wp_version}") if wp_version theme_check_code = check_theme_version_from_style('bricks', '1.9.6.1') - return CheckCode::Unknown('The Brick Builders theme does not appear to be installed') unless theme_check_code - return CheckCode::Detected('The Brick Builder theme is running but the version was unable to be determined') if theme_check_code.code == 'detected' - return CheckCode::Safe("The Brick Builder is running version: #{theme_check_code.details[:version]}, which is not vulnerable.") unless theme_check_code.code == 'appears' + return CheckCode::Unknown('The Bricks Builder theme does not appear to be installed') unless theme_check_code + return CheckCode::Detected('The Bricks Builder theme is running but the version was unable to be determined') if theme_check_code.code == 'detected' + return CheckCode::Safe("The Bricks Builder is running version: #{theme_check_code.details[:version]}, which is not vulnerable.") unless theme_check_code.code == 'appears' theme_version = theme_check_code.details[:version] - print_good("Detected Bricks theme version: #{theme_version}") + print_good("Detected Bricks Builder theme version: #{theme_version}") CheckCode::Appears end