-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v3' into anemeth/ldap-property-map
- Loading branch information
Showing
10 changed files
with
111 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM mono:6.12.0 | ||
|
||
# Install .NET SDK | ||
ENV DOTNET_VERSION=5.0 | ||
|
||
RUN curl -sSL https://dot.net/v1/dotnet-install.sh \ | ||
| bash -s -- -Channel $DOTNET_VERSION -InstallDir /usr/share/dotnet \ | ||
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet | ||
|
||
WORKDIR /build | ||
|
||
CMD [ "dotnet", "build" ] | ||
|
||
## Build Docker image (one time): | ||
# docker build -t shc-build . --no-cache | ||
|
||
## Build solution (every time): | ||
# docker run --rm -v .:/build shc-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
|
||
namespace SharpHoundCommonLib.Enums | ||
{ | ||
// from https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-crtd/f6122d87-b999-4b92-bff8-f465e8949667 | ||
[Flags] | ||
public enum PKIPrivateKeyFlag : uint | ||
{ | ||
REQUIRE_PRIVATE_KEY_ARCHIVAL = 0x00000001, | ||
EXPORTABLE_KEY = 0x00000010, | ||
STRONG_KEY_PROTECTION_REQUIRED = 0x00000020, | ||
REQUIRE_ALTERNATE_SIGNATURE_ALGORITHM = 0x00000040, | ||
REQUIRE_SAME_KEY_RENEWAL = 0x00000080, | ||
USE_LEGACY_PROVIDER = 0x00000100, | ||
ATTEST_NONE = 0x00000000, | ||
ATTEST_REQUIRED = 0x00002000, | ||
ATTEST_PREFERRED = 0x00001000, | ||
ATTESTATION_WITHOUT_POLICY = 0x00004000, | ||
EK_TRUST_ON_USE = 0x00000200, | ||
EK_VALIDATE_CERT = 0x00000400, | ||
EK_VALIDATE_KEY = 0x00000800, | ||
HELLO_LOGON_KEY = 0x00200000 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters