Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ClientMaxReceiveMessageSize - Max gRPC message size ~2Gb
ClientMaxReceiveMessageSize = 2 * gb
)
Variables ¶
This section is empty.
Functions ¶
func MTLSConnect ¶
func MTLSConnect(config *assets.ClientConfig) (rpcpb.SliverRPCClient, *grpc.ClientConn, error)
MTLSConnect - Connect to the sliver server
func RootOnlyVerifyCertificate ¶ added in v1.5.0
RootOnlyVerifyCertificate - Go doesn't provide a method for only skipping hostname validation so we have to disable all of the certificate validation and re-implement everything. https://github.com/golang/go/issues/21971
Types ¶
type TokenAuth ¶ added in v1.5.0
type TokenAuth struct {
// contains filtered or unexported fields
}
func (TokenAuth) GetRequestMetadata ¶ added in v1.5.0
Return value is mapped to request headers.
func (TokenAuth) RequireTransportSecurity ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.