diff options
author | FixTheExchange <josh.bryant@custommopar.com> | 2015-10-30 12:48:05 -0500 |
---|---|---|
committer | FixTheExchange <josh.bryant@custommopar.com> | 2015-10-30 12:48:05 -0500 |
commit | e179b2e9327135040b28cfc9719a2ffa0320a1f0 (patch) | |
tree | 2bb5c93cceae45bb9719e8ce8b2f311b79ececfe /Exfiltration | |
parent | 17dd6835b97ee8c40e02319301e09be35770cd2f (diff) | |
download | PowerSploit-e179b2e9327135040b28cfc9719a2ffa0320a1f0.tar.gz PowerSploit-e179b2e9327135040b28cfc9719a2ffa0320a1f0.zip |
Update Invoke-TokenManipulation.ps1
Removed 2 unnecessary lines.
Diffstat (limited to 'Exfiltration')
-rw-r--r-- | Exfiltration/Invoke-TokenManipulation.ps1 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Exfiltration/Invoke-TokenManipulation.ps1 b/Exfiltration/Invoke-TokenManipulation.ps1 index bc680e5..90f9d47 100644 --- a/Exfiltration/Invoke-TokenManipulation.ps1 +++ b/Exfiltration/Invoke-TokenManipulation.ps1 @@ -1691,8 +1691,6 @@ Blog on this script: http://clymb3r.wordpress.com/2013/11/03/powershell-and-toke ForEach ($SystemToken in $SystemTokens) { $SystemTokenInfo = Get-PrimaryToken -ProcessId $SystemToken.Id -WarningAction SilentlyContinue -ErrorAction SilentlyContinue - $SystemProcessName = $SystemToken.Name - $SystemProcessID = $SystemToken.Id } if ($systemTokenInfo -eq $null -or (-not (Invoke-ImpersonateUser -hToken $systemTokenInfo.hProcToken))) { |