danielbohannon / Invoke-Obfuscation

PowerShell Obfuscator
Apache License 2.0
3.59k stars 759 forks source link

Fix Get-AstChildren doesn't work with IfStatementAst #51

Open KevinsBobo opened 5 years ago

KevinsBobo commented 5 years ago

For example: Out-ObfuscatedAst -ScriptBlock { If($true) { $a = 1 + 3 + 4 $b = 5 $c = $a + $b $d = 8 + 9 $e = $d } }