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 9624f75 commit 11c64b8Copy full SHA for 11c64b8
lib/msf/core/exploit/remote/http/flowise.rb
@@ -95,9 +95,7 @@ def flowise_login(email, password)
95
return true
96
end
97
98
- if res.code == 401
99
- fail_with(Msf::Exploit::Failure::NoAccess, 'Authentication failed - invalid credentials')
100
- end
+ fail_with(Msf::Exploit::Failure::NoAccess, 'Authentication failed - invalid credentials') if res.code == 401
101
102
fail_with(Msf::Exploit::Failure::UnexpectedReply, "Login failed with HTTP #{res.code}")
103
0 commit comments