Skip to content

Commit

Permalink
Variable and String token fix
Browse files Browse the repository at this point in the history
Variable token fix: Some variables were being obfuscated without trimming out double quotes (i.e. ${"var`Name"} instead of ${varName})

String token fix: ParameterSetName strings (but not DefaultParameterSetName) string values now error when trying to concatenate or reorder even when encapsulated with curly braces. This fix downgrades these parameter binding scenarios with double quotes and tick markes, same as a member token obfuscation. This was causing errors when obfuscating, for example, Invoke-Mimikatz with any kind of STRING token obfuscation (Token\String\* or Token\All\1).
  • Loading branch information
Daniel Bohannon authored Feb 12, 2017
1 parent cba7dd3 commit e6b01ed
Showing 1 changed file with 0 additions and 0 deletions.
Binary file modified Out-ObfuscatedTokenCommand.ps1
Binary file not shown.

0 comments on commit e6b01ed

Please sign in to comment.