Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

public function checkCustomer() { $ff = MiniorangeSAMLConstants::BASE_UR..

Decoded Output download

<?      public function checkCustomer() 
    { 
        $ff = MiniorangeSAMLConstants::BASE_URL . "/moas/rest/customer/check-if-exists"; 
        $Nx = $this->email; 
        $pe = \Drupal::config("miniorange_saml.settings")->get("miniorange_saml_customer_id"); 
        $B9 = \Drupal::config("miniorange_saml.settings")->get("miniorange_saml_customer_api_key"); 
        $WJ = array("email" => $Nx); 
        $Fa = self::callService($pe, $B9, $ff, $WJ); 
        return is_null($Fa) ? $Fa : json_decode($Fa); 
    } 
    public function getCustomerKeys() 
    { 
        $ff = MiniorangeSAMLConstants::BASE_URL . "/moas/rest/customer/key"; 
        $Nx = $this->email; 
        $sj = $this->password; 
        $pe = \Drupal::config("miniorange_saml.settings")->get("miniorange_saml_customer_id"); 
        $B9 = \Drupal::config("miniorange_saml.settings")->get("miniorange_saml_customer_api_key"); 
        $WJ = array("email" => $Nx, "password" => $sj); 
        $Fa = self::callService($pe, $B9, $ff, $WJ); 
        return is_null($Fa) ? $Fa : json_decode($Fa); 
    } 
    function verifyLicense($xP) 
    { 
        global $base_url; 
        $ff = MiniorangeSAMLConstants::BASE_URL . "/moas/api/backupcode/verify"; 
        $pe = \Drupal::config("miniorange_saml.settings")->get("miniorange_saml_customer_id"); 
        $B9 = \Drupal::config("miniorange_saml.settings")->get("miniorange_saml_customer_api_key"); 
        $WJ = array("code" => $xP, "customerKey" => $pe, "additionalFields" => array("field1" => $base_url)); 
        $Fa = self::callService($pe, $B9, $ff, $WJ); 
        return json_decode($Fa, TRUE); 
    } 
    function updateStatus() 
    { 
        $ff = MiniorangeSAMLConstants::BASE_URL . "/moas/api/backupcode/updatestatus"; 
        $pe = \Drupal::config("miniorange_saml.settings")->get("miniorange_saml_customer_id"); 
        $B9 = \Drupal::config("miniorange_saml.settings")->get("miniorange_saml_customer_api_key"); 
        $fy = \Drupal::config("miniorange_saml.settings")->get("miniorange_saml_customer_admin_token"); 
        $xP = AESEncryption::decrypt_data(\Drupal::config("miniorange_saml.settings")->get("miniorange_saml_license_key"), $fy); 
        $WJ = array("code" => $xP, "customerKey" => $pe); 
        $Fa = self::callService($pe, $B9, $ff, $WJ); 
        return isset($Fa) ? json_decode($Fa) : ''; 
    } ?>

Did this file decode correctly?

Original Code

    public function checkCustomer()
    {
        $ff = MiniorangeSAMLConstants::BASE_URL . "\x2f\155\157\x61\x73\57\x72\x65\x73\x74\x2f\143\x75\163\164\157\x6d\x65\x72\57\x63\150\x65\x63\x6b\55\151\146\55\x65\170\x69\163\164\163";
        $Nx = $this->email;
        $pe = \Drupal::config("\155\x69\x6e\x69\157\162\141\x6e\x67\145\137\x73\141\x6d\154\56\163\x65\x74\x74\151\x6e\147\163")->get("\x6d\151\x6e\x69\157\162\141\156\147\x65\x5f\x73\x61\x6d\x6c\137\x63\165\163\164\x6f\155\145\162\x5f\x69\x64");
        $B9 = \Drupal::config("\155\x69\156\x69\x6f\162\141\156\147\145\137\x73\x61\x6d\154\56\163\145\164\164\151\x6e\147\163")->get("\x6d\x69\156\x69\157\162\x61\156\x67\145\137\163\141\155\x6c\x5f\x63\165\163\164\157\x6d\145\x72\x5f\141\x70\151\x5f\153\x65\x79");
        $WJ = array("\x65\155\141\x69\154" => $Nx);
        $Fa = self::callService($pe, $B9, $ff, $WJ);
        return is_null($Fa) ? $Fa : json_decode($Fa);
    }
    public function getCustomerKeys()
    {
        $ff = MiniorangeSAMLConstants::BASE_URL . "\x2f\155\157\x61\163\x2f\162\x65\163\x74\x2f\143\x75\x73\x74\157\155\x65\162\57\153\x65\171";
        $Nx = $this->email;
        $sj = $this->password;
        $pe = \Drupal::config("\x6d\x69\156\151\x6f\x72\x61\x6e\x67\x65\137\163\x61\155\x6c\56\163\x65\164\x74\151\156\147\163")->get("\155\151\x6e\x69\157\162\141\156\147\x65\x5f\163\141\x6d\154\137\143\x75\x73\164\157\155\145\x72\x5f\x69\144");
        $B9 = \Drupal::config("\x6d\151\x6e\151\x6f\162\x61\x6e\x67\x65\x5f\163\x61\x6d\x6c\x2e\x73\145\x74\164\151\156\x67\163")->get("\155\x69\x6e\x69\x6f\x72\141\156\147\145\137\163\x61\x6d\x6c\x5f\143\165\163\x74\157\x6d\145\162\137\x61\x70\151\137\x6b\145\171");
        $WJ = array("\x65\155\141\x69\154" => $Nx, "\160\141\163\x73\x77\x6f\x72\x64" => $sj);
        $Fa = self::callService($pe, $B9, $ff, $WJ);
        return is_null($Fa) ? $Fa : json_decode($Fa);
    }
    function verifyLicense($xP)
    {
        global $base_url;
        $ff = MiniorangeSAMLConstants::BASE_URL . "\x2f\x6d\157\141\163\x2f\x61\x70\x69\57\x62\141\x63\153\165\160\143\157\x64\x65\x2f\x76\x65\x72\x69\146\171";
        $pe = \Drupal::config("\155\151\x6e\x69\157\162\x61\x6e\x67\x65\137\163\141\155\154\56\x73\x65\164\x74\151\x6e\147\x73")->get("\155\151\156\151\x6f\162\x61\156\x67\145\137\163\x61\x6d\154\x5f\143\x75\163\x74\157\x6d\145\x72\137\151\x64");
        $B9 = \Drupal::config("\155\151\x6e\x69\157\x72\141\156\x67\145\x5f\x73\141\155\x6c\x2e\x73\x65\164\x74\151\x6e\147\x73")->get("\x6d\x69\156\151\x6f\x72\x61\156\x67\145\137\163\x61\x6d\154\137\143\165\x73\x74\157\155\145\162\137\141\160\x69\137\153\145\171");
        $WJ = array("\x63\x6f\144\x65" => $xP, "\x63\165\163\164\x6f\x6d\x65\162\113\145\x79" => $pe, "\x61\x64\144\151\164\x69\x6f\156\141\154\106\151\x65\x6c\x64\163" => array("\146\151\x65\154\144\x31" => $base_url));
        $Fa = self::callService($pe, $B9, $ff, $WJ);
        return json_decode($Fa, TRUE);
    }
    function updateStatus()
    {
        $ff = MiniorangeSAMLConstants::BASE_URL . "\57\x6d\157\141\163\57\141\x70\x69\57\x62\x61\x63\153\165\160\x63\x6f\144\x65\x2f\x75\160\x64\141\x74\145\x73\x74\141\164\165\x73";
        $pe = \Drupal::config("\155\x69\x6e\x69\x6f\162\141\x6e\x67\x65\137\163\141\155\x6c\56\163\145\x74\164\x69\156\x67\163")->get("\x6d\151\156\151\157\162\x61\x6e\x67\x65\x5f\x73\141\x6d\x6c\x5f\143\165\163\x74\x6f\x6d\x65\x72\x5f\151\x64");
        $B9 = \Drupal::config("\155\x69\156\151\157\x72\x61\156\x67\x65\137\x73\141\x6d\154\56\163\145\164\x74\x69\x6e\147\163")->get("\x6d\151\x6e\x69\157\162\x61\156\147\x65\137\163\x61\x6d\154\x5f\x63\165\x73\x74\x6f\x6d\145\x72\137\141\x70\x69\137\x6b\145\171");
        $fy = \Drupal::config("\x6d\x69\x6e\x69\157\x72\x61\x6e\x67\x65\x5f\x73\x61\x6d\154\56\x73\145\164\164\x69\x6e\x67\163")->get("\x6d\x69\156\x69\x6f\x72\x61\x6e\147\145\137\x73\x61\x6d\154\x5f\x63\x75\163\164\157\x6d\145\x72\x5f\x61\x64\155\x69\x6e\x5f\x74\x6f\x6b\x65\x6e");
        $xP = AESEncryption::decrypt_data(\Drupal::config("\x6d\x69\x6e\151\x6f\x72\x61\156\x67\x65\137\x73\141\155\x6c\56\163\145\164\x74\151\156\x67\x73")->get("\x6d\151\156\151\157\x72\141\156\x67\145\137\163\x61\x6d\154\x5f\x6c\x69\143\x65\x6e\163\x65\137\x6b\x65\x79"), $fy);
        $WJ = array("\143\x6f\x64\x65" => $xP, "\143\165\163\x74\x6f\x6d\145\162\113\145\x79" => $pe);
        $Fa = self::callService($pe, $B9, $ff, $WJ);
        return isset($Fa) ? json_decode($Fa) : '';
    }

Function Calls

None

Variables

None

Stats

MD5 48c61e5a970c73d99bc8d078ba40823e
Eval Count 0
Decode Time 44 ms