Skip to content

Commit e179b2e

Browse files
Update Invoke-TokenManipulation.ps1
Removed 2 unnecessary lines.
1 parent 17dd683 commit e179b2e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Exfiltration/Invoke-TokenManipulation.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1691,8 +1691,6 @@ Blog on this script: http://clymb3r.wordpress.com/2013/11/03/powershell-and-toke
16911691
ForEach ($SystemToken in $SystemTokens)
16921692
{
16931693
$SystemTokenInfo = Get-PrimaryToken -ProcessId $SystemToken.Id -WarningAction SilentlyContinue -ErrorAction SilentlyContinue
1694-
$SystemProcessName = $SystemToken.Name
1695-
$SystemProcessID = $SystemToken.Id
16961694
}
16971695
if ($systemTokenInfo -eq $null -or (-not (Invoke-ImpersonateUser -hToken $systemTokenInfo.hProcToken)))
16981696
{

0 commit comments

Comments
 (0)