Pode.Web icon indicating copy to clipboard operation
Pode.Web copied to clipboard

Converting server.ps1 to exe

Open fitzwar opened this issue 1 year ago • 2 comments

Question

Hi,

I wanted to know if anyone has tried converting the server.ps1 into an exe and if this is supported with pode.web?

The reason is because i've nearly finished developing a portal im going to sell to clients and want to hide the code to stop clients from seeing the powershell code within the server.ps1 file and any potential competitors stealing the code

Thanks Andrew

fitzwar avatar Feb 09 '24 16:02 fitzwar

Converting to exe does NOT stop people from being able to access code. You're welcome to try using ps2exe or Win-PS2EXE, but you must understand that if I had that exe, it would be trivial to go and pull your code out of it. Feel free to report back about compiling and whether that works or not.

Szeraax avatar Feb 21 '24 18:02 Szeraax

Converting to exe does NOT stop people from being able to access code. You're welcome to try using ps2exe or Win-PS2EXE, but you must understand that if I had that exe, it would be trivial to go and pull your code out of it. Feel free to report back about compiling and whether that works or not.

PS2EXE compiled scripts actually even have an -extract switch to get to the code.

RobinBeismann avatar Feb 21 '24 19:02 RobinBeismann