Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit e084329

Browse files
Fixed KerberosPreauthNotRequired
1 parent ce19ebd commit e084329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Recon/PowerView.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4760,7 +4760,7 @@ The raw DirectoryServices.SearchResult object, if -Raw is enabled.
47604760
Write-Verbose '[Get-DomainUser] Searching for users that are trusted to authenticate for other principals'
47614761
$Filter += '(msds-allowedtodelegateto=*)'
47624762
}
4763-
if ($PSBoundParameters['KerberosPreauthNotRequireduthNotRequired']) {
4763+
if ($PSBoundParameters['KerberosPreauthNotRequired']) {
47644764
Write-Verbose '[Get-DomainUser] Searching for user accounts that do not require kerberos preauthenticate'
47654765
$Filter += '(userAccountControl:1.2.840.113556.1.4.803:=4194304)'
47664766
}

0 commit comments

Comments
 (0)