Page 1 of 1

Encoding of php scripts in the Human Emulator Studio

Posted: Tue Sep 22, 2020 10:54 am
by support
In version 7.0.52, functionality was added for encoding of php scripts.

This functionality can be used to encoding script sources.

How it works?

Everything is very simple. Using the menu item Scripts->Encode php script
code_script_en1.jpg
code_script_en1.jpg (13.63 KiB) Viewed 124 times

the script encoding dialog opens:
code_script_en2.jpg
code_script_en2.jpg (38.14 KiB) Viewed 124 times
In this dialog, you choose a script and a password to encode it. After clicking the Encode button, the encoded version of the script will appear in the same folder where the encoded script is located.

To run the script, open it in the script editor. To do this, click the File->Open menu item and in the open dialog select the file type encoded scripts. Choose the one you want and open it.
code_script_en3.jpg
code_script_en3.jpg (110.37 KiB) Viewed 124 times

The encoded script will open in the editor as:
code_script4.jpg
code_script4.jpg (8.95 KiB) Viewed 124 times
Run it as a normal script. During startup, a window will appear with a field for entering a password:
code_script5.jpg
code_script5.jpg (21.15 KiB) Viewed 124 times
If you enter the correct password, the scripts will continue to work.

In order that every time the script is launched, the password entry window is not displayed, you can set the password in the program settings:
code_script_en6.jpg
code_script_en6.jpg (49.55 KiB) Viewed 124 times
Or you can use a command line parameter like this: /decode_script_password: "123123"