ionCube、SourceCop、SourceGuardian、phpShield 四款 PHP 原始碼加密軟體測試

Zend Encoder 的架構已經非常老舊,價格昂貴而且更新速度慢,還任由討論區讓廣告覇佔,也難怪反 Zend 的 user 愈來愈多。

20051125_05.gif
(Zend Encoder 官方討論區形同廢墟,滿滿的都是廣告)


Zend Encoder 目前市價為 US$960、SafeGuard Suite 更是到 US$2,920 以上的天價,而且 US$2,920 還只能使用一年。但由於破解檔流通快速,早期也是加密 PHP 的最佳解決方案,因此可以說是市佔率第一名的 PHP 原始碼加密軟體,連虛擬主機商也為了要執行 Zend 加密過的檔案,不得不紛紛安裝 Zend Optimizer 。

直到現在 Zend 對於 Encoder 的態度消極已經是眾所皆知,久久才出現一次新版本,因此也開始讓其它的 Encoder 冒出頭了。

到上個月 Zend Encoder 破解的消息甚囂塵上,更是讓對於想保護自己 PHP 原始碼的公司及設計師開始尋求替代方案。

由於目前大部份的虛擬主機都已安裝 Zend Optimizer (Zend Encoder 的執行環境),因此本次 PHP 原始碼加密軟體的測試重點為「不需在伺服器設定或安裝任何軟體」。

ionCube Standalone Encoder (US$199 起)
http://www.ioncube.com/sa_encoder.php

ionCube 在國外已經是軟體公司取代 Zend Encoder 的不二選擇,知名的 PHP 購物車 X-Cart 就是採用
ionCube Standalone Encoder
加密原始碼。伺服器端不需安裝任何軟體,只要把 Loader 放在程式的目錄裡面就可以了。

20051125_01.gif

(Windows+IIS 下執行加密過後的 phpinfo(); )

20051125_02.gif

(Linux+Apache 下執行加密過後的 phpinfo(); )

SourceCop (US$30)
http://www.sourcecop.com/

伺服器完全不用外掛任何 Loader 及 Module,完全用 PHP 的方式來加密程式,有點功力的人追蹤一下就能看出編碼方式了,所以只能防君子不能防小人。

20051125_03.gif

(編碼後的程式)

20051125_04.gif

(sourcecop 的解碼載入程式)

註:這邊也有人有說明將原始碼還原的方式。

SourceGuardian (US$250)
這家應該算是相當知名的PHP加密軟體,不過伺服器端需要外掛 Loader,因此其它測試省略。

測試結果: (失敗! 需安裝 Loader)

PHP script i.php is protected by SourceGuardian and requires the SourceGuardian loader ixed.4.3ev.win. The SourceGuardian loader has not been installed, or is not installed correctly. Please visit the SourceGuardian php encoder site to download required loader.

phpShield ( US$99)
http://www.phpshield.com

操作就跟一般的 Encoder 一樣簡單,因為 phpShield 跟 SourceGuardian 的試用流程、Email 內容、畫面、壓縮檔都一模一樣,有可能是 SourceGuardian 的簡易版,因為我沒用過舊版,也有可能是 SourceGuardian 的舊版便宜賣。

測試結果: (失敗! 需加裝 Loader,訊息也同SourceGuardian )

PHP script phpinfo.php is protected by phpSHIELD and requires file phpshield.4.3.11ev.win or phpshield.4.3ev.win.
Please read phpSHIELD protected scripts manual.

總結:
ionCube Standalone Encoder 不論功能性、方便性都是四者當中最好的,而且不需在伺服器端安裝任何軟體,在預算許可的範圍下 ionCube Standalone Encoder 的確是最好的選擇。

如果不介意主機需安裝載入器,只是要單純保護程式碼不妨選擇 phpShield 。

4 comments On ionCube、SourceCop、SourceGuardian、phpShield 四款 PHP 原始碼加密軟體測試

  • ionCube Standalone Encoder 應該算是 Source Code Obfuscation….原始碼混淆…

  • 請問大大,還有那幾款的評價呢?最近小弟也想買一套來保護程式碼,考慮ionCube 的,不過pro 版價格…也不是很平易近人…
    找到幾款好像不錯的,但都沒有它們的評價,不知大大有沒有以下這幾款的評價呢?
    Thicket™ Obfuscator for PHP 、phpSHIELD、PHTML Encoder PRO 和 NuSphere’s Nu-Coder 。不知它們的效果
    、價格、加密方式和被解的嚴僅度,那一款是okay 的呢?

  • 而且现在ionCube提供在线加密功能了,有点saas的味道。比较不错。

  • SourceCop 似乎不支援 UTF-8 中文字。

Leave a reply:

Your email address will not be published.

Site Footer

Sliding Sidebar