jxcore无法保护源代码

时间:2017-09-17 04:25:22

标签: javascript jxcore

我从blog看到jxcore可以基于js代码创建可执行文件(作为命令行应用程序运行)并保护源代码不被轻易看到。

但是当我尝试以下内容时,我看到可删除文件(在Ubuntu中)仍然包含源

30

小JS文件test1.js

# jx package test1.js
# change library and extract attribute in file test1.jxp to be false
# jx compile test1.jxp
# grep "this is test1" test1 
  Binary file test1 matches

据我所知,没有完美的方法来保护应用程序不被撤销。但我只是希望没有简单的方法(比如“strings”命令)从可执行文件中获取源代码。

1 个答案:

答案 0 :(得分:0)

您阅读的博客文章,简单地说,过时和错误。 The "protection" features provided by JXCore were severely flawed,并且在项目的后续版本中基本上已删除。

不要使用JXCore。 Development on the project was halted in March 2016;它已明显落后于node.js平台,并且与pkg等开放式解决方案相比没有真正的优势。