genesis icon indicating copy to clipboard operation
genesis copied to clipboard

Not working with large PowerShell scripts

Open Simon-Davies opened this issue 5 years ago • 2 comments

Genesis doesn't seem to be working with large PowerShell scripts. I have tried obfuscating the below with the LOW obfuscation profile:

Mimidogz

Simon-Davies avatar Dec 11 '19 09:12 Simon-Davies

I'm aware of the fact that PS is limited to 4096 functions in a single script. The script you linked, however, can not be added as Genesis expects the function body of a function. If you add functions in there, you will encounter syntax errors in the generated output.

The limitation of functions in Powershell is on the to-do list for later versions.

ThisIsLibra avatar Dec 11 '19 18:12 ThisIsLibra

Thank you

Simon-Davies avatar Dec 12 '19 00:12 Simon-Davies