Get the App
SLTechnology News&Howtos  ›  Network Security  › 

PHP encryption proc

Shulou Source: shulou.com Published: 2022-06-01 03:38:20 10月04日 Update

Encryption configuration

Environment: windows

Version: phpstudy8.0 version

Tools: Virbox Protector Standalone shelling tool

Encryption process

1. Open the shell tool and add httpd.exe and php-cgi.exe to the shell tool.

two。 Function options are not set

3. Encryption options, all options are not checked, only open the DS button to set the password.

4. Click to protect all projects, generate httpd.ssp.exe,php-cgi.ssp.exe;, remove .ssp and change it to httpd.exe and php-cgi.exe to replace the original.

5. Open DS Protector, add httpd.exe.ssp, add php file, click protect it, encryption is successful. The php,index.php.bak that generates the index.php is encrypted is the backup of the original php file. Deploy the encrypted php file. The encryption is complete at this point.

Matters needing attention

Php-cgi.exe encryption of httpd.exe and the php version of the folder used is required, and the password setting of the encryption option is the same when encrypting. Encryption of php encrypts php using httpd.exe 's ssp configuration file.

Directory of httpd.exe: C:\ phpstudy_pro\ Extensions\ Apache2.4.39\ bin

The directory of php-cgi.exe (note the version of php used): C:\ phpstudy_pro\ Extensions\ php\ php7.3.4nts

Tags: Encryption files tools versions shells passwords directories protection generation configuration processes success events functions backups buttons folders notes environment so far Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information Xiaomi Apple NVidia