BloodHoundAD / SharpHoundCommon

Common library used by SharpHound.
GNU General Public License v3.0
78 stars 47 forks source link

Fix properties with incorrect types #173

Closed rvazarkar closed 1 week ago

rvazarkar commented 3 weeks ago

Description

Several properties being collected currently are collected as strings instead of as integers or other value types. This MR corrects this

Additionally, elevates some try/catch blocks to fix some unhandled exceptions around principalcontext checks

Motivation and Context

https://specterops.atlassian.net/browse/BED-4928 https://github.com/BloodHoundAD/SharpHound/issues/120

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist: