aboutsummaryrefslogtreecommitdiff
path: root/Privesc/Privesc.psd1
diff options
context:
space:
mode:
authorHarmj0y <will@harmj0y.net>2016-06-03 22:43:12 -0400
committerHarmj0y <will@harmj0y.net>2016-06-03 22:43:12 -0400
commit09d253f0700e637b410dbab26de037f1317d0401 (patch)
treefe5a300a2e215865b30b165563b473c6be2ed6a8 /Privesc/Privesc.psd1
parent9711069b7e4458b3993aeacc1f336f97936408d9 (diff)
downloadPowerSploit-09d253f0700e637b410dbab26de037f1317d0401.tar.gz
PowerSploit-09d253f0700e637b410dbab26de037f1317d0401.zip
Added Get-CurrentUserTokenGroupSid to enumerate all group SIDs the current user is a part of, regardless of being disabled.
Replaced 'whoami /groups' local admin + medium integrity check with comparison against Get-CurrentUserTokenGroupSid
Diffstat (limited to 'Privesc/Privesc.psd1')
-rw-r--r--Privesc/Privesc.psd11
1 files changed, 1 insertions, 0 deletions
diff --git a/Privesc/Privesc.psd1 b/Privesc/Privesc.psd1
index fe964a3..e4222bf 100644
--- a/Privesc/Privesc.psd1
+++ b/Privesc/Privesc.psd1
@@ -27,6 +27,7 @@ FunctionsToExport = @(
'Find-PathHijack',
'Find-ProcessDLLHijack',
'Get-ApplicationHost',
+ 'Get-CurrentUserTokenGroupSid',
'Get-ModifiablePath',
'Get-ModifiableScheduledTaskFile',
'Get-ModifiableService',