powershell-4.0 - 是否有可能对最终用户隐藏代码?
问题描述
我编写了一个 PowerShell 脚本来为最终用户自动执行一些任务。我不想向最终用户透露代码/逻辑。
有没有办法把它打包成一个EXE。基本上,我不想透露代码。
有人可以对此提出建议吗?
解决方案
This is a simple program to convert a PowerShell script into a .exe
https://gallery.technet.microsoft.com/PS2EXE-Convert-PowerShell-9e4e07f1
There would probably be some way to reverse engineer the original PowerShell script if a technical user was really motivated to do so though.
推荐阅读
- java - 无法获得 JDBC 连接;嵌套异常是 java.sql.SQLException - junit eclipse
- google-analytics - BigQuery - 具有命中级别指标的平均会话持续时间?
- ssh - 无法通过 SSH 访问 GCP 实例
- java - 没有 android 目标和 com.android.sdklib.tool.AvdManagerCli (cordova build android)
- php - 为什么 json_encode 在 PHP 7.0 中不起作用,但在 PHP 7.3 中起作用?
- apache-spark - 如何在 Spark SQL Query 中加速 WholeStageCodegen?
- java - 地图在 OpenStreetMap (osm) 中不可见
- java - 如何在没有工件或 setting.xml 的情况下使用 Maven 项目?
- java - 如何列出特定jar文件中的所有包?
- maven - 从依赖项加载资源