Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions SharpHound3/Tasks/ObjectPropertyTasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ private static async Task ParseUserProperties(User wrapper)
passwdNotReq = (uacFlags & UacFlags.PasswordNotRequired) != 0;
unconstrained = (uacFlags & UacFlags.TrustedForDelegation) != 0;
pwdNeverExires = (uacFlags & UacFlags.DontExpirePassword) != 0;

// Adding the raw UAC flags for extensibility
// Can be used in queries via the apoc.bitwise.op functions
wrapper.Properties.Add("uac", baseFlags);
}

wrapper.Properties.Add("dontreqpreauth", dontReqPreAuth);
Expand Down