Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Several optimizations for the BloodHound.ps1 ingestor:
-Combined Export-BloodHoundData and Export-BloodHoundCSV into Get-BloodHound data, new function renamed to Invoke-BloodHound -Eliminated superfluous usage of the pipeline -Eliminated PSObjects, migrated to hashtables for results -Reduced query counts (e.g. combined Get-NetGroup/Get-NetGroupMember logic into a custom query) -.NET StreamWriters instead of Out-File -Output is exported as soon as it comes in -Threading now mandatory/built in for computer enumeration -'Moving window' introduced for retrieving threaded results before all threads complete -LocalGroup enumeration tries API and falls back to WinNT enumeration -PropertiesToLoad used in LDAP to only return needed attributes -Many of these optimizations adapted from Meatballs1 (#7 (comment)) Trimmed BloodHound.ps1 to only required functions
- Loading branch information