5種php加密工具zendGuard、ionCube、SourceCop、SourceGuardian、phpShield

來源:phperz.comphp

一、ZendGuard
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 放在程序的目錄裏面就能夠了。測試

三、SourceCop (US$30)
http://www.sourcecop.com/
服務器徹底不用外掛任何 Loader 及 Module,徹底用 PHP 的方式來加密程序,有點功力的人追蹤一下就能看出編碼方式了,因此只能防君子不能防小人。
注:這裏也有人有說明將原始碼還原的方式。
四、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.ui

五、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 。編碼

相關文章
相關標籤/搜索