From bac32273ab134c7bf2a17e635c56ddc80ba01034 Mon Sep 17 00:00:00 2001 From: rvazarkar Date: Fri, 19 Jan 2024 16:15:22 -0500 Subject: [PATCH 1/2] chore: bump commonlib, add dcfor info chore: bump version to v2.3.1 --- Sharphound.csproj | 16 ++++++++-------- src/Runtime/ObjectProcessors.cs | 2 ++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Sharphound.csproj b/Sharphound.csproj index b19c8a0..445431c 100644 --- a/Sharphound.csproj +++ b/Sharphound.csproj @@ -6,8 +6,8 @@ latest full favicon.ico - 2.3.0 - 2.3.0 + 2.3.1 + 2.3.1 SpecterOps SharpHound SharpHound @@ -24,8 +24,8 @@ - - + + @@ -40,8 +40,8 @@ - - - - + + + + diff --git a/src/Runtime/ObjectProcessors.cs b/src/Runtime/ObjectProcessors.cs index e4ca533..7ec9e48 100644 --- a/src/Runtime/ObjectProcessors.cs +++ b/src/Runtime/ObjectProcessors.cs @@ -179,6 +179,8 @@ private async Task ProcessComputerObject(ISearchResultEntry entry, var hasLaps = entry.HasLAPS(); ret.Properties.Add("haslaps", hasLaps); + ret.IsDC = resolvedSearchResult.IsDomainController; + ret.DomainSID = resolvedSearchResult.DomainSid; if ((_methods & ResolvedCollectionMethod.ACL) != 0) { From b9a4f7e3e997a3a9a97ec77746011d1467971fac Mon Sep 17 00:00:00 2001 From: rvazarkar Date: Fri, 19 Jan 2024 16:24:52 -0500 Subject: [PATCH 2/2] fix: uncomment ps1 build target --- Sharphound.csproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sharphound.csproj b/Sharphound.csproj index 445431c..7b6ea73 100644 --- a/Sharphound.csproj +++ b/Sharphound.csproj @@ -40,8 +40,8 @@ - - - - + + + +