编码您的CFML

…posted by davidjmedlock:

…由 davidjmedlock 发布

Prompted by a question from another forum member, I decided to look into encoding ColdFusion code.

在另一个论坛成员的提问下,我决定研究编码ColdFusion代码。

First off, if you go into your CFIDE/Administrator directory under your CF installation path (i.e. C:CFusionMXwwwrootCFIDEAdministrator), you’ll notice that there is an index.cfm file. That’s right, all of the ColdFusion Administrator is written in ColdFusion. But, wait a second… When I open that file it’s all jibberish. Can’t read a thing in there.

首先,如果您进入CF安装路径下的CFIDE / Administrator目录(即C:CFusionMXwwwrootCFIDEAdministrator),则会注意到其中存在一个index.cfm文件。 没错,所有ColdFusion管理员都是用ColdFusion编写的。 但是,请稍等...当我打开该文件时,一切都很混乱。 在那儿看不懂东西。

That’s because it’s encoded. If you look in the C:CFusionMXbin directory (or the bin directory of the ColdFusionMX install path) you’ll see a program called “cfencode.exe”. This is what is used to encode the Adminstrator, and you can use it to encode your CFML code. (Like that CMS that you’ve slaved over and don’t want anyone ripping off.)

那是因为它是经过编码的。 如果您查看C:CFusionMXbin目录(或ColdFusionMX安装路径的bin目录),则会看到一个名为“ cfencode.exe”的程序。 这就是用来编码管理员的内容,您可以使用它来编码您的CFML代码。 (就像您奴役过的CMS一样,不要让任何人窃取。)

I don’t have time at this exact moment to write a full tutorial and test it and everything, but here’s an article from the CFHub:

我现在没有时间编写完整的教程并对其进行所有测试,但这是CFHub的文章:

http://www.cfhub.com/tutorials/cfencode/site.cfm

http://www.cfhub.com/tutorials/cfencode/site.cfm

Performing a Google search for “cfencode.exe” will turn up about 76 results that can help in your quest for code protection.

用Google搜索“ cfencode.exe”会发现大约76个结果,可以帮助您寻求代码保护。

翻译自: https://www.sitepoint.com/encoding-your-cfml/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值