aboutsummaryrefslogtreecommitdiff
path: root/Exfiltration
diff options
context:
space:
mode:
authorFixTheExchange <josh.bryant@custommopar.com>2015-10-30 12:48:05 -0500
committerFixTheExchange <josh.bryant@custommopar.com>2015-10-30 12:48:05 -0500
commite179b2e9327135040b28cfc9719a2ffa0320a1f0 (patch)
tree2bb5c93cceae45bb9719e8ce8b2f311b79ececfe /Exfiltration
parent17dd6835b97ee8c40e02319301e09be35770cd2f (diff)
downloadPowerSploit-e179b2e9327135040b28cfc9719a2ffa0320a1f0.tar.gz
PowerSploit-e179b2e9327135040b28cfc9719a2ffa0320a1f0.zip
Update Invoke-TokenManipulation.ps1
Removed 2 unnecessary lines.
Diffstat (limited to 'Exfiltration')
-rw-r--r--Exfiltration/Invoke-TokenManipulation.ps12
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)))
{