StandIn
StandIn copied to clipboard
Set bind path for DirectorySearcher explicitly (fixes PTT)
A simple fix for the DirectorySearcher
to work with PTT in this PR.
When operating from a sacrificial process with a TGT injected, DirectorySearcher
fails to enumerate current domain root, but if the domain name is specified, we can pass it to the DirectoryEntry
constructer which results in a successful bind.
@TheWover's PR #6 also solves this, btw.