1. We are not accepting any new account registrations at this time.

trying to decipher encrypted PHP code

Discussion in 'Reverser Knowledge Base' started by jimsweb, Jul 6, 2019.

  1. jimsweb

    jimsweb Registered User

    Joined:
    Mar 7, 2017
    Messages:
    175
    Likes Received:
    1,803
    Hi, highly appreciate if you could help me to decipher below encrypted PHP code. Seems encrypted with ionCube!!!

    Code:
    https://www6.zippyshare.com/v/MnJMWACK/file.html
     
  2. €XC€PTiON™

    €XC€PTiON™ Registered User

    Joined:
    Oct 12, 2017
    Messages:
    65
    Likes Received:
    542
    The following link looks promising if you can spend a few Euro...

    Code:
    https://easytoyou.eu/decoders
    As a test, it decoded the first 30 lines of your license file:
    <?php
    /**
    * @ PHP 5.6
    * @ Decoder version : 1.0.0.5
    * @ Release on : 22.05.2019
    * @ Website : http://EasyToYou.eu
    *
    * @ Zend guard decoder PHP 5.6
    */

    namespace WHMCS;

    class License
    {
    const LICENSE_API_VERSION = '1.1';
    const LICENSE_API_HOSTS = array('a.licensing.whmcs.com', 'b.licensing.whmcs.com', 'c.licensing.whmcs.com', 'd.licensing.whmcs.com', 'e.licensing.whmcs.com', 'f.licensing.whmcs.com');
    const STAGING_LICENSE_API_HOSTS = array('hou-1.licensing.web.staging.whmcs.com');
    const UNLICENSED_KEY = 'LICENSE-REQUIRED';

    private $licensekey = '';
    private $localkey = false;
    private $keydata;
    private $salt = '';
    private $postmd5hash = '';
    private $localkeydays = '10';
    private $allowcheckfaildays = '5';
    private $useInternalLicensingMirror = false;
    private $debuglog = array();
    private $lastCurlError;

    public function checkFile($value)
    {
    if ($value != 'a896faf2c31f2acd47b0eda0b3fd6070958f1161') {
    throw new Exception\Fatal('File version mismatch. Please contact support.');
    }

    return $this;
    }

    public function setLicenseKey($licenseKey)
    {
    $this->licensekey = $licenseKe

    // This is the demo version. This version only decode 30 lines.
     
    smalok and jimsweb like this.
  3. jimsweb

    jimsweb Registered User

    Joined:
    Mar 7, 2017
    Messages:
    175
    Likes Received:
    1,803
    thank you.
    im just wondering that none was able to create a free version of decryption.. Does anyone know what encryption does ioncube follow?