danielbohannon / Invoke-Obfuscation

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

create automated script #59

Open Lennardri opened 2 years ago

Lennardri commented 2 years ago

Hi i try to obfuscate multiple scripts with this amazing tool, but to do this all per single command, it is to expensive. Is there already a solution:

  1. To execute all step in one Line e.g.: SET SCRIPTPATH /home/user/testScript; STRING/1; OUT /home/user/testScriptObf;
  2. To execute this steps from e.g. my python code?

I am quiet sure similar things were done in the past but i don't know how and cannot find anything to do that.

nosec2 commented 1 year ago

us os module to execute powershell commands, make sure to use triple quotes to escape the quotes in your command, if you need help my discord is Hypogenic#4294