How Can I Prevent the -Extract Parameter in an EXE?

0
5
Asked By ChillPanda77 On

I'm looking for ways to block the use of the -extract parameter when running an executable created with ps2exe. I know it might seem risky to some, but I'm willing to take that chance in certain circumstances. Any suggestions on how to approach this?

1 Answer

Answered By SmartCoder32 On

Honestly, if you're using ps2exe to obfuscate your code, you might want to reconsider that approach. If you need a proper executable, consider using a compiled language instead. With Powershell auditing enabled, anyone can extract the original script from the event logs, so it doesn't offer as much protection as you think.

ChillPanda77 -

Good point, looks like that’s my answer!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.