diff --git a/modules/exploits/multi/http/mantisbt_php_exec.rb b/modules/exploits/multi/http/mantisbt_php_exec.rb index 76617be012..dbe103a605 100644 --- a/modules/exploits/multi/http/mantisbt_php_exec.rb +++ b/modules/exploits/multi/http/mantisbt_php_exec.rb @@ -89,7 +89,7 @@ class Metasploit3 < Msf::Exploit::Remote unless res.redirection.to_s !~ /login_page.php/ print_error("Wrong credentials") - return false + fail_with(Failure::NoAccess) end @cookies = "#{ @cookies } #{ res.get_cookies }"