Skip to content

Commit

Permalink
Several optimizations for the BloodHound.ps1 ingestor:
Browse files Browse the repository at this point in the history
-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
HarmJ0y committed Sep 8, 2016
1 parent d99b85e commit 9bc355e
Showing 1 changed file with 2,975 additions and 11,969 deletions.
Loading

0 comments on commit 9bc355e

Please sign in to comment.