From 0dff51835a1879e3b31f8494acd76dd72ac92fe6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20B=C3=BClow=20Knudsen?=
<12843299+JonasBK@users.noreply.github.com>
Date: Tue, 3 Sep 2024 17:38:44 +0200
Subject: [PATCH] Bump SHC version (#111)
* feat: additional ldap properties
* bump SHC version
---
Sharphound.csproj | 10 +++++-----
src/Runtime/ObjectProcessors.cs | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Sharphound.csproj b/Sharphound.csproj
index ae75dac..1434395 100644
--- a/Sharphound.csproj
+++ b/Sharphound.csproj
@@ -24,8 +24,8 @@
-
-
+
+
@@ -33,9 +33,9 @@
-
-
-
+
diff --git a/src/Runtime/ObjectProcessors.cs b/src/Runtime/ObjectProcessors.cs
index f8ff61c..b427f44 100644
--- a/src/Runtime/ObjectProcessors.cs
+++ b/src/Runtime/ObjectProcessors.cs
@@ -368,7 +368,7 @@ private async Task ProcessDomainObject(IDirectoryObject entry,
.ToArrayAsync();
if ((_methods & CollectionMethod.ObjectProps) != 0) {
- ret.Properties = ContextUtils.Merge(ret.Properties, LdapPropertyProcessor.ReadDomainProperties(entry));
+ ret.Properties = ContextUtils.Merge(ret.Properties, await _ldapPropertyProcessor.ReadDomainProperties(entry, resolvedSearchResult.Domain));
if (_context.Flags.CollectAllProperties) {
ret.Properties = ContextUtils.Merge(_ldapPropertyProcessor.ParseAllProperties(entry),
ret.Properties);