It also adds the functions to wrap each, making them available to call more easily. SamrEnumeratDomainsInSamServer uses the common PsamprEnumerationBuffer type definition, so that one and some others that were already defined were moved into the higher-level samr.rb file. Also the application key is now calculated by the client for SMB v3 dialects. This is necessary for some DCERPC operations.
Basic unit tests were added for the new data definitions.
The easiest way to test this will be with the accompanying Metasploit module which will be posted shortly.
Also adds a new FautlError which inherits from InvalidPacket and allows the caller to get a better idea of why an exception occurred.
This adds the necessary SAMR definitions for:
It also adds the functions to wrap each, making them available to call more easily.
SamrEnumeratDomainsInSamServer
uses the commonPsamprEnumerationBuffer
type definition, so that one and some others that were already defined were moved into the higher-levelsamr.rb
file. Also the application key is now calculated by the client for SMB v3 dialects. This is necessary for some DCERPC operations.Basic unit tests were added for the new data definitions.
The easiest way to test this will be with the accompanying Metasploit module which will be posted shortly.
Also adds a new
FautlError
which inherits fromInvalidPacket
and allows the caller to get a better idea of why an exception occurred.