ZendGuard is a PHP encryption tool that can compile PHP source code into bytecode
Specific steps for encryption As follows: (Recommended learning: PHP video tutorial)
1: Download ZendGuard software for PHP file encryption from the Internet
2: After installation, find zendenc.exe in the bin directory. Note: (Don’t forget to get the cracked version.)
3: To use, first find a php file you want to encrypt, such as iii.php.
4: Then enter in the command line: zendenc iii.php 33.php
5: The second parameter is your php file to be encrypted, and the third parameter is the output file name. In the attachment is the simplest webshell that can encrypt subsequent files.
6: Encryption is successful, you can compare the PHP files before and after encryption
If you want ZendGuard encrypted code to run on PHP 5.3.x, you must select PHP 5.3 Encryption, encrypted files from older versions will not work on PHP 5.3.
At the same time, if it is a Windows platform, you must also choose the NTS version of PHP.
The corresponding Zend decryption plug-in is Zend Loader. All manual installation is required.
After obtaining ZendLoader.dll, modify the PHP file and add the following two lines:
zend_extension="(ZendLoader.dll的路径)" zend_loader.enable=1
The above is the detailed content of How to run php source code after encryption. For more information, please follow other related articles on the PHP Chinese website!