php-beast-master

所属分类:加密解密
开发工具:ASP
文件大小:45KB
下载次数:5
上传日期:2016-05-09 15:19:54
上 传 者Mrverilog
说明:  PHP Beast是一个源码加密模块,使用这个模块可以把PHP源码加密并在此模块下运行。
(PHP Beast is a source cryptographic module, you can use this module to encrypt PHP source code and run this module.)

文件列表:
beast.c (17648, 2014-02-08)
beast.php (499, 2014-02-08)
beast_log.c (933, 2014-02-08)
beast_log.h (303, 2014-02-08)
beast_mm.c (9252, 2014-02-08)
beast_mm.h (282, 2014-02-08)
bit.c (7875, 2014-02-08)
bit.h (1102, 2014-02-08)
cache.c (6984, 2014-02-08)
cache.h (595, 2014-02-08)
config.m4 (2063, 2014-02-08)
config.w32 (289, 2014-02-08)
CREDITS (5, 2014-02-08)
encrypt.c (23289, 2014-02-08)
encrypt.h (1053, 2014-02-08)
encrypt_project.php (1695, 2014-02-08)
EXPERIMENTAL (0, 2014-02-08)
key.c (696, 2014-02-08)
php_beast.h (2724, 2014-02-08)
spinlock.c (1852, 2014-02-08)
spinlock.h (147, 2014-02-08)
tests (0, 2014-02-08)
tests\001.phpt (537, 2014-02-08)
win32 (0, 2014-02-08)
win32\.cvsignore (16, 2014-02-08)
win32\beast.c (8864, 2014-02-08)
win32\beast.dsp (4976, 2014-02-08)
win32\beast.dsw (489, 2014-02-08)
win32\beast.ncb (58368, 2014-02-08)
win32\beast.opt (53760, 2014-02-08)
win32\beast.php (503, 2014-02-08)
win32\beast.plg (967, 2014-02-08)
win32\bit.c (7875, 2014-02-08)
win32\bit.h (1102, 2014-02-08)
win32\config.m4 (2007, 2014-02-08)
win32\config.w32 (289, 2014-02-08)
win32\CREDITS (5, 2014-02-08)
win32\encrypt.c (23289, 2014-02-08)
... ...


  _____  _    _ _____    ____  ______           _____ _______ 
 |  __ \| |  | |  __ \  |  _ \|  ____|   /\    / ____|__   __|
 | |__) | |__| | |__) | | |_)/| |__     /  \  | (___    | |   
 |  ___/|  __  |  ___/  |  _ ||  __|   / /\ \  \___ \   | |   
 | |    | |  | | |      | |_)\| |____ / ____ \ ____) |  | |   
 |_|    |_|  |_|_|      |____/|______/_/    \_\_____/   |_|   
 
 此模块可以用于商业, 使用DES加密算法加密, 版权归原作者.

使用方法:

修改key.c文件的__authkey加密key, 编译安装, 接着使用beast_encode_file()函数进行加密, 加密后的文件beast模块能自动识别.
使用案例: http://www.beastcoder.com
通过网址: http://www.beastcoder.com/info.php 可以看到本扩展的信息.
编译安装如下: -------------

$ wget https://github.com/liexusong/php-beast/archive/master.zip
$ unzip master.zip
$ cd php-beast-master
$ phpize
$ ./configure
$ sudo make && make install
编译好之后修改php.ini配置文件, 加入配置项: extension=beast.so, 重启php-fpm

  温馨提示: 1) 缓存设置越大, 效率越高
            2) 可以修改key.c文件中的加密key
配置项:

 beast.cache_size = size
 beast.log_file = "path_to_log"
 beast.enable = On
通过测试环境:

 Nginx + Fastcgi + (PHP-5.3.x/PHP-5.2.x)
TODO: ----- * 增加opcode缓存 注意: ----- win32文件夹中是win版本的加密模块, 但是因为没有缓存, 所以效率比较低, 建议使用时不要大量加密文件. 因为本人不太熟识win平台, 所以希望能有win平台的编程高手与本人一起完成win的版本. 有意请联系QQ: 280259971

------------------------------ 作者: 列旭松(280259971@qq.com) 我的著作: http://book.jd.com/11123177.html
提供安装配置服务和定制版本, 请联系QQ: 280259971
捐赠本项目: ------------------------------

近期下载者

相关文件


收藏者