Skip to content

Commit 4a1f9e5

Browse files
Update lib/msf/core/exploit/remote/http/xorcom_complete_pbx.rb
Co-authored-by: jheysel-r7 <[email protected]>
1 parent 7431958 commit 4a1f9e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/remote/http/xorcom_complete_pbx.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def completepbx_login(username, password)
4444
)
4545
unless res&.code == 200
4646
vprint_error('Authentication failed')
47-
fail_with(Failure::NoAccess, 'Authentication failed')
47+
fail_with(Msf::Module::Failure::NoAccess, 'Authentication failed')
4848
end
4949

5050
sid = res.get_cookies.scan(/sid=[a-f0-9]+/).first

0 commit comments

Comments
 (0)