mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r21464: add parsing code for the Primary:WDigest blob
the hashes are
MD5("user:realm:password") which a lot of user and realm combinations
see:
http://fresh.t-systems-sfr.com/unix/src/www/httpauth-0.6.tar.gz:a/httpauth-0.6/tools/mkha1.c
metze
(This used to be commit f764941af6
)
This commit is contained in:
parent
ea500fbdae
commit
c005b91adb
@ -303,6 +303,23 @@ interface drsblobs {
|
||||
[in] package_PrimaryCLEARTEXTBlob blob
|
||||
);
|
||||
|
||||
typedef [flag(NDR_PAHEX)] struct {
|
||||
uint8 hash[16];
|
||||
} package_PrimaryWDigestHash;
|
||||
|
||||
typedef [public] struct {
|
||||
[value(0x31)] uint16 unknown1;
|
||||
[value(0x01)] uint8 unknown2;
|
||||
uint8 num_hashes;
|
||||
[value(0)] uint32 unknown3;
|
||||
[value(0)] udlong uuknown4;
|
||||
package_PrimaryWDigestHash hashes[num_hashes];
|
||||
} package_PrimaryWDigestBlob;
|
||||
|
||||
void decode_PrimaryWDigest(
|
||||
[in] package_PrimaryWDigestBlob blob
|
||||
);
|
||||
|
||||
typedef struct {
|
||||
NTTIME time1;
|
||||
uint32 unknown1;
|
||||
|
Loading…
Reference in New Issue
Block a user