Perl 代码有很好的混淆器吗? [英] Is there a good obfuscater for Perl code?

查看:51
本文介绍了Perl 代码有很好的混淆器吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道一个好的 Perl 代码混淆器?我被要求在将代码发布给客户端之前研究混淆代码的选项.我知道混淆的代码仍然可以进行逆向工程,但这不是我们主要关注的问题.

Does anyone know of a good code obsfucator for Perl? I'm being ask to look into the option of obsfucating code before releasing it to a client. I know obsfucated code can still be reverse engineered, but that's not our main concern.

一些客户正在对我们提供给他们的源代码进行小的更改,当出现问题而我们必须修复它时,这让我们做噩梦,或者当我们发布的补丁不适用于他们所做的更改时.所以目的只是为了让他们很难对代码进行自己的更改(无论如何他们不应该这样做).

Some clients are making small changes to the source code that we give them and it's giving us nightmares when something goes wrong and we have to fix it, or when we release a patch that doesn't work with what they've changed. So the intention is just to make it so that it's difficult for them to make their own changes to the code(they're not supposed to be doing that anyway).

推荐答案

我以前也走过这条路,当您必须处理混淆"代码时,这绝对是一场噩梦,因为它极大地提高了调试程序的成本当您作为开发人员无法读取代码时,客户端服务器上的问题.您最终会遇到反混淆器",将真实代码"复制到客户端的服务器或任何其他问题,这些问题只是维护起来很麻烦.

I've been down this road before and it's an absolute nightmare when you have to work on "obfuscated" code because it drives up costs tremendously trying to debug a problem on the client's server when you, the developer, can't read the code. You wind up with "deobfuscators", copying the "real code" to the client's server or any of a number of other issues which just become a real hassle to maintain.

我了解您的想法,但听起来管理层有问题,他们希望您实施选定的解决方案,而不是找出正确的解决方案.

I understand where you're coming from, but it sounds like management has a problem and they're looking to you to implement a chosen solution rather than figuring out what the correct solution is.

在这种情况下,听起来确实是许可或合同问题.让他们将代码开源,但将其作为许可证的一部分,他们提交的任何更改都必须返回给您并获得批准.当您推出补丁时,请检查所有代码的 md5 总和,如果它与预期不符,则它们违反了许可证,将被收取相应的费用(而且应该是高得多的费率).(我记得有一家公司让我们将代码开源,但明确表示,如果我们更改任何内容,我们会以 25,000 美元的价格购买"代码,除非我们购买了代码,否则他们不再负责任何错误修复或升级新许可证).

In this case, it sounds like it's really a licensing or contractual issue. Let 'em have the code open source, but make it a part of the license that any changes they submit have to come back to you and be approved. When you push out patches, check the md5 sums of all code and if it doesn't match what's expected, they're in license violation and will be charged accordingly (and it should be a far, far higher rate). (I remember one company which let us have the code open source, but made it clear that if we changed anything, we've "bought" the code for $25,000 and they were no longer responsible for any bug fixes or upgrades unless we bought a new license).

这篇关于Perl 代码有很好的混淆器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆