aboutsummaryrefslogtreecommitdiff
path: root/Recon
diff options
context:
space:
mode:
authorHarmJ0y <will@harmj0y.net>2017-01-16 23:52:19 -0500
committerHarmJ0y <will@harmj0y.net>2017-01-16 23:52:19 -0500
commit445f7b2510c4553dcd9451bc4daccb20c8e67cbb (patch)
tree4e0b2ac4f14396b4859de07f98ebb74e9630e65c /Recon
parent454e04005db7678163a1610080d1dff0782ac35d (diff)
downloadPowerSploit-445f7b2510c4553dcd9451bc4daccb20c8e67cbb.tar.gz
PowerSploit-445f7b2510c4553dcd9451bc4daccb20c8e67cbb.zip
Changed -KerberosPreauthNotRequired to -PreauthNotRequired
Diffstat (limited to 'Recon')
-rwxr-xr-xRecon/PowerView.ps17
1 files changed, 4 insertions, 3 deletions
diff --git a/Recon/PowerView.ps1 b/Recon/PowerView.ps1
index ef9048a..79a415c 100755
--- a/Recon/PowerView.ps1
+++ b/Recon/PowerView.ps1
@@ -4471,7 +4471,7 @@ Switch. Return user accounts that are marked as 'sensitive and not allowed for d
Switch. Return computer objects that are trusted to authenticate for other principals.
-.PARAMETER KerberosPreauthNotRequired
+.PARAMETER PreauthNotRequired
Switch. Return user accounts with "Do not require Kerberos preauthentication" set.
@@ -4628,8 +4628,9 @@ The raw DirectoryServices.SearchResult object, if -Raw is enabled.
[Switch]
$TrustedToAuth,
+ [Alias('KerberosPreauthNotRequired', 'NoPreauth')]
[Switch]
- $KerberosPreauthNotRequired,
+ $PreauthNotRequired,
[ValidateNotNullOrEmpty()]
[String]
@@ -4763,7 +4764,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['KerberosPreauthNotRequired']) {
+ if ($PSBoundParameters['PreauthNotRequired']) {
Write-Verbose '[Get-DomainUser] Searching for user accounts that do not require kerberos preauthenticate'
$Filter += '(userAccountControl:1.2.840.113556.1.4.803:=4194304)'
}