本文介绍了打包pyarmor混淆脚本到exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 exe 中转换 pyarmor Obfuscated python 文件.我试过 pyinstaller 但没有用.有人对如何进行有任何建议吗?

I'm trying to turn a pyarmor Obfuscated python file in a exe.I tried with pyinstaller but doesn't worked.Anyone have any suggestions on how to proceed?

推荐答案

根据pyarmor的文档,混淆的过程和pyinstaller的作用,都是通过使用来完成的

According to pyarmor's documentary, the process of obfuscating and what pyinstaller does, are being done by using

cd directory_of_your_file

而不是使用

pyarmor 包 myfile.py

来自 12

这样做之后,它会在dist"文件夹下的你的目录"中创建一个文件(exe文件).

After doing that it will create a file (exe file) in "your directory" under "dist" folder.

此外,您可以从这个 post 以使用 pyinstaller 的选项.

Additionally you can do something like code below from this post to use pyinstaller's options.

pyarmor pack -e " --onedir --noconsole --icon icon.ico" myfile.py

我在找这个例子的时候很偶然地看到了这个例子.有谁知道在哪里可以找到有关如何将 pyinstaller 的其他选项与 pyarmor 一起使用的任何信息?

I saw this this example very accidentally, while I was looking for it. Does any one know where to find anything about how to use additional options of pyinstaller with pyarmor?

这篇关于打包pyarmor混淆脚本到exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-15 23:33