mirror of
https://github.com/PowerShellMafia/PowerSploit
synced 2026-06-08 12:13:33 +00:00
Fixed KerberosPreauthNotRequired
This commit is contained in:
+1
-1
@@ -4760,7 +4760,7 @@ The raw DirectoryServices.SearchResult object, if -Raw is enabled.
|
||||
Write-Verbose '[Get-DomainUser] Searching for users that are trusted to authenticate for other principals'
|
||||
$Filter += '(msds-allowedtodelegateto=*)'
|
||||
}
|
||||
if ($PSBoundParameters['KerberosPreauthNotRequireduthNotRequired']) {
|
||||
if ($PSBoundParameters['KerberosPreauthNotRequired']) {
|
||||
Write-Verbose '[Get-DomainUser] Searching for user accounts that do not require kerberos preauthenticate'
|
||||
$Filter += '(userAccountControl:1.2.840.113556.1.4.803:=4194304)'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user