package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
GenerateBatchQueryChunkedPacket split a batch query into multiple network packets.
GenerateBatchQueryPacket generates a final SQLBatch with the provided query.
GenerateCustomRPCCallPacket generates a packet containing a custom RPC call with an empty integer parameter.
GenerateExecuteSQLRPCChunkedPacket slipt a RPC Call into multiple network packets.
GenerateExecuteSQLRPCPacket generates a RPC call packet containing a single parameter (NVARCHARTYPE).
GenerateExecuteSQLRPCPacketNTEXT generates a RPC call packet containing a single parameter (NTEXT).
GeneratePacketHeader generates a packet header based on the specified parameters.
RPCClientVariableLength returns a RPCCLientRequest packet containing a partially Length-prefixed Bytes request, as described here: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tds/3f983fde-0509-485a-8c40-a9fa6679a828.
# Variables
AllHeadersSliceWithTransactionDescriptor is a ALL_HEADERS data stream header containing the TransactionDescriptor data.
FieldCollation definition for data parameters.
Login7 is an example Login7 request packet from the protocol spec:
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-tds/ce5ad23f-6bf8-4fa5-9426-6b0d36e14da2.
MalformedPacketTest is an RPC Request malformed packet.
PreLogin is an example Pre-Login request packet from the protocol spec:
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-tds/9420b4a3-eb9f-4f5e-90bd-3160444aa5a7.