Download .zip |
Info | Example | View files (13) | Download .zip | Reputation | Support forum (4) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2017-09-07 (1 month ago) | Not enough user ratings | Total: 205 This week: 4 | All time: 7,972 This week: 174 |
Version | License | PHP version | Categories | |||
ghostface 1.0.1 | Custom (specified... | 5 | PHP 5, Cryptography, Code Generation |
Description | Author | |
This package can encrypt PHP code to generate executable scripts. Recommendations uodate for gosthash phph |
This class can obfuscate PHP scripts by encrypting the code and generating an obfuscated and expirable script that when executed will decrypt the code and execute it like the original version of the script until the license key expired. The epiration of license key is configurable and based on PHP Expire class.The package is itself based on the innovative class package GHOST CRYPT. The plus of this package is to obfuscate even the self decrypting code to make it harder for even some expert users to understand what the code does or change it. The self decrypting code works normally until license key expire.Then the code just display the predefined message of your choice. The class constructor: public function __construct($inFile = null, $outFileExt = '', $pubKey = '',$licenseKey='',$expiration="10",$message="Your serial number expire",$licenseKeyprefix="GhostFace") The class contains except the constructor, 2 methods: -private function encrypt() which encrypt the code. -private function decrypt() which decrypt the code. See the example.php file for example of how to use. This script is too short to provide more documentation. after encryting a code, only thing you need to put in the package with your encrypted code is the GhostHash class but also the PHP Expire class and the auto generated license key file. how to test it://actually you don't need it because i already add myself the files that are mentionned below so all you have to do is to start your server and run one of the two files infile.enc.php or ex.enc.php in your preferred browser to see the package in action .I don't add it before because by the past i have choosen a very little expiration time like 10 secondes for infile.php and 60 secondes for ex.php and i think that it would be better that the package downloader ran the example.php in his browser to generate the encrypted files, this way the license key must not be invalid before PHPCLASSES SITE approves the package but i were wrong.So i present my sincere apologies for not making the package easy to test...// first you see in the package a file named example.php and two other named infile.php and ex.php ...all you need to do is first to run example.php in your browser that will generate 4 files in your package directory...infile.enc.php,ex.enc.php,licensekey.infile.php,licensekey.ex.php...then you just need to run one of the files infile.enc.php or ex.enc.php to see the package in action Keep in mind that obfuscating the code this way slows the very long code execution... Contact at leizmo@gmail.com |
Files |
File | Role | Description |
---|---|---|
AzDGCrypt.class.inc.php | Class | auxilliary class source |
ex.enc.php | Example | encrypted ex.php file |
ex.licenseKey.php | Example | licenseKey for encrypted ex.php file |
ex.php | Aux. | auxilliary example script |
example.php | Example | example script |
expire.class.php | Class | auxilliary class source |
GhostFace.class.php | Class | main class source |
GhostHash.class.php | Class | class source |
infile.enc.php | Example | encrypted infile.php file |
infile.licenseKey.php | Example | licenseKey for encrypted infile.php file |
infile.php | Aux. | auxilliary example script |
license.txt | Lic. | license file |
readme | Doc. | readme |
ghostface-2017-09-07.zip 11KB | |
ghostface-2017-09-07.tar.gz 6KB | |
Install with Composer |
Needed packages | ||
Class | Download | Why it is needed | Dependency |
---|---|---|---|
PHP Ghost Crypt | .zip .tar.gz | for a better understanding since the package is based on it | Optional |
Expire Class | .zip .tar.gz | use the Expire class to set license key expiration | Required |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.