PowerShellEmpire / PowerTools

PowerTools is a collection of PowerShell projects with a focus on offensive operations.
Other
2.03k stars 817 forks source link

Update to Get-NetDomainTrustsLDAP #43

Closed gentilkiwi closed 8 years ago

gentilkiwi commented 8 years ago

Get-NetDomainTrustsLDAP displays LDAP ObjectGuid (for DCSync :yum:), and correct TrustAttributes

HarmJ0y commented 8 years ago

sorry this took so long :) thanks!!

HarmJ0y commented 8 years ago

I'm guessing here https://msdn.microsoft.com/en-us/library/cc223779.aspx

For non-matching/non-standard values returned, would be it preferable to just output the raw numerical value as hex with something like '{0:x}' -f TRUSTVAL ? Would be an easy fix I think

gentilkiwi commented 8 years ago

Yep, ~same values from: https://msdn.microsoft.com/library/windows/desktop/ms722477.aspx

I've already seen others non-standard values in standard environments.