PhpDev.App
Tools2/Zend-Decoder

Tools2/Zend-Decoder

Stars: 203

Forks: 93

Pull Requests: 2

Issues: 10

Watchers: 9

Last Updated: 2020-03-13 19:39:47

还原ZendGuard处理后的php代码

License: BSD 3-Clause "New" or "Revised" License

Languages: PHP

Zend-Decoder

支持php5.6 zend解密,其他版本未测。

编译 xcache

Ubuntu + php5.6:

$ 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

编译参考

windows + php5.6

如何编译

使用

修改php.ini

extension=xcache.so
zend_extension = ZendGuardLoader.so
或
extension=xcache.dll
zend_extension = ZendGuardLoader.dll

解码

php index.php encode.php
或
php index2.php encode.php

Decompiler.class.php

Decompiler.class.php