We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d007b72 commit 862af07Copy full SHA for 862af07
modules/exploits/multi/http/mantisbt_php_exec.rb
@@ -91,7 +91,7 @@ def do_login()
91
})
92
fail_with(Failure::NoAccess, 'Login failed') unless res && res.code == 302
93
94
- fail_with(Failure::NoAccess, 'Wrong credentials') unless res && res.redirection.to_s.include?('login_page.php')
+ fail_with(Failure::NoAccess, 'Wrong credentials') unless res && !res.redirection.to_s.include?('login_page.php')
95
96
session_cookie = "#{session_cookie} #{res.get_cookies}"
97
end
0 commit comments