Skip to content

Commit 56f6a65

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

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
@@ -48,7 +48,7 @@ def completepbx_login(username, password)
4848
end
4949

5050
sid = res.get_cookies.scan(/sid=[a-f0-9]+/).first
51-
fail_with(Failure::NoAccess, 'No session ID received') unless sid
51+
fail_with(Msf::Module::Failure::NoAccess, 'No session ID received') unless sid
5252

5353
vprint_good("Authentication successful! Session ID: #{sid}")
5454
sid

0 commit comments

Comments
 (0)