Exception: Msf::Exploit::Remote::HTTP::Kubernetes::Error::ForbiddenError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/msf/core/exploit/remote/http/kubernetes/error.rb

Instance Attribute Summary

Attributes inherited from ApiError

#res

Instance Method Summary collapse

Constructor Details

#initialize(message: nil, res: nil) ⇒ ForbiddenError

Returns a new instance of ForbiddenError.


34
35
36
# File 'lib/msf/core/exploit/remote/http/kubernetes/error.rb', line 34

def initialize(message: nil, res: nil)
  super(message: message || "Kubernetes ForbiddenError - token does not have permission to access this resource", res: res)
end