-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
im
committed
Aug 31, 2018
1 parent
d43982c
commit 11468db
Showing
2 changed files
with
42 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,37 @@ | ||
# Zend-Decoder | ||
支持php5.6 zend解密,其他版本未测。 | ||
|
||
编译xcache | ||
|
||
### 编译 xcache | ||
#### Ubuntu + php5.6: | ||
``` | ||
git clone https://github.com/lighttpd/xcache | ||
cd xcache | ||
patch -p1 < ../xcache.patch | ||
$ sudo apt-get install python-software-properties | ||
$ sudo add-apt-repository ppa:ondrej/php | ||
$ sudo apt-get update | ||
$ apt-get install php5.6-dev | ||
$ git clone https://github.com/lighttpd/xcache | ||
$ cd xcache | ||
$ patch -p1 < ../xcache.patch | ||
$ phpize | ||
$ ./configure --enable-xcache-disassembler | ||
$ make | ||
``` | ||
编译参考:https://github.com/lighttpd/xcache/blob/master/INSTALL | ||
[编译参考](https://github.com/lighttpd/xcache/blob/master/INSTALL) | ||
|
||
#### windows + php5.6 | ||
|
||
安装扩展即可。 | ||
使用: | ||
### 使用 | ||
修改php.ini,增加一行 | ||
``` | ||
extension=xcache.so | ||
或 | ||
extension=xcache.dll | ||
``` | ||
|
||
``` | ||
php index.php 1.php | ||
php index.php encode.php | ||
``` | ||
|
||
(https://github.com/lighttpd/xcache/blob/master/lib/Decompiler.class.php) | ||
|
||
### Decompiler.class.php | ||
[Decompiler.class.php](https://github.com/lighttpd/xcache/blob/master/lib/Decompiler.class.php) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters