Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


namespace MiniOrange\IDPSaml\Helper;

class IDPMessages
{
    const REQUIRED_REGISTRATION_FIELDS = "Email, CompanyName, Password and Confirm Password are required fields. Please enter valid entries.";
    const INVALID_PASS_STRENGTH = "Choose a password with minimum length 6.";
    const PASS_MISMATCH = "Passwords do not match.";
    const INVALID_EMAIL = "Please match the format of Email. No special characters are allowed.";
    const ERROR_EMAIL_OTP = "There was an error in sending email. Please click on Resend OTP to try again.";
    const ERROR_PHONE_OTP = "There was an error in sending sms. Please click on Resend OTP link next to phone number textbox.";
    const ACCOUNT_EXISTS = "Invalid username or password. Please try again.";
    const ERROR_PHONE_FORMAT = "{{phone}} is not a valid phone number. Please enter a valid Phone Number. E.g:+1XXXXXXXXXX";
    const RESEND_EMAIL_OTP = "Another One Time Passcode has been sent for verification to {{email}}";
    const EMAIL_OTP_SENT = "A passcode is sent to {{email}}. Please enter the otp here to verify your email.";
    const RESEND_PHONE_OTP = "Another One Time Passcode has been sent for verification to {{phone}}";
    const PHONE_OTP_SENT = "One Time Passcode has been sent for verification to {{phone}}";
    const REG_SUCCESS = "Your account has been retrieved successfully.";
    const NEW_REG_SUCCES = "Registration complete!";
    const REQUIRED_OTP = "Please enter a value in OTP field.";
    const INVALID_OTP_FORMAT = "Please enter a valid value in OTP field.";
    const INVALID_OTP = "Invalid one time passcode. Please enter a valid passcode.";
    const INVALID_CRED = "Invalid username or password. Please try again.";
    const REQUIRED_FIELDS = "Please fill in the required fields.";
    const ERROR_OCCURRED = "An error occured while processing your request. Please try again.";
    const NOT_REG_ERROR = "Please register and verify your account before trying to configure your settings. Go the Account 
\xa                                            Section to complete your registration registered.";
    const INVALID_OP = "Invalid Operation. Please Try Again.";
    const INVALID_LICENSE = "License key for this instance is incorrect. Make sure you have not tampered with it at all. 
                                            Please enter a valid license key.";
    const LICENSE_KEY_IN_USE = "License key you have entered has already been used. Please enter a key which has not been used \xd
                                            before on any other instance or if you have exausted all your keys then contact us at \xd\xa                                            magentosupport@xecurify.com to buy more keys.";
    const ENTERED_INVALID_KEY = "You have entered an invalid license key. Please enter a valid license key.";
    const LICENSE_VERIFIED = "Your license is verified. You can now setup the plugin.";
    const NOT_UPGRADED_YET = "You have not upgraded yet.";
    const PASS_RESET = "You password has been reset successfully. Please enter the new password sent to your registered mail here.";
    const PASS_RESET_ERROR = "Sorry we encountered an error while reseting your password.";
    const CURL_ERROR = "ERROR: <a href="http://php.net/manual/en/curl.installation.php" target="_blank">PHP cURL extension</a> 
\xa                                            is not installed or disabled. Query submit failed.";
    const REQUIRED_QUERY_FIELDS = "Please fill up Email and Query fields to submit your query.";
    const ERROR_QUERY = "Your query could not be submitted. Please try again.";
    const QUERY_SENT = "Thanks for getting in touch! We shall get back to you shortly.";
    const ISSUER_EXISTS = "You seem to already have an Identity Provider for that issuer configured under : <i>{{name}}</i>";
    const NO_IDP_CONFIG = "Please Configure an Identity Provider.";
    const APP_SETTINGS_SAVED = "App is configured successfully.";
    const APP_EDIT_SETTINGS_SAVED = "App configuration updated successfully.";
    const SETTINGS_SAVED = "Settings saved successfully.";
    const SP_DELETED = "Application deleted successfully.";
    const SP_ENTITY_ID_CHANGED = "SP Entity ID changed successfully.";
    const SP_ENTITY_ID_NULL = "SP EntityID/Issuer cannot be NULL.";
    const INVALID_INSTANT = "<strong>INVALID_REQUEST: </strong>Request time is greater than the current time.<br/>";
    const INVALID_SAML_VERSION = "We only support SAML.0! Please send a SAML 2.0 request.<br/>";
    const INVALID_IDP = "<strong>INVALID_IDP: </strong>No Identity Provider configuration found. Please configure your \xd
                                            Identity Provider.<br/>";
    const INVALID_RESPONSE_SIGNATURE = "<strong>INVALID_SIGNATURE: </strong>Invalid Signature. Please check your certificates.";
    const SAML_INVALID_OPERATION = "<strong>INVALID_OPERATION: </strong>Invalid Operation! Please contact your site administrator.<br/>";
    const MISSING_NAMEID = "Missing <saml:NameID> or <saml:EncryptedID> in <saml:Subject>.";
    const INVALID_NO_OF_NAMEIDS = "More than one <saml:NameID> or <saml:EncryptedD> in <saml:Subject>.";
    const MISSING_ID_FROM_RESPONSE = "Missing ID attribute on SAML assertion.";
    const MISSING_ISSUER_VALUE = "Missing <saml:Issuer> in assertion.";
    const INVALID_ISSUER = "Issuer cannot be verified. Expected {{expect}}, found {{found}}";
    const INVALID_AUDIENCE = "Invalid audience URI. Expected {{expect}}, found {{found}}";
    const INVALID_DESTINATION = "Destination in response doesn't match the current URL. Destination is {{destination}}, \xd
                                            current URL is {{currenturl}}.";
    const MISSING_ATTRIBUTES_EXCEPTION = "SAML Response doesn't have the necessary attributes to log the user in";
    const INVALID_STATUS_CODE = "<strong>INVALID_STATUS_CODE: </strong> The Identity Provider returned an Invalid response. 
\xa                                            Identity Provider has sent {{statuscode}} status code in SAML Response.\xd
                                            Please check with your Identity Provider for more information.";
    const SAML_RESPONSE = "<pre>{{xml}}</pre>";
    const FORMATTED_CERT = "<pre>{{cert}}</pre>";
    const INVALID_REG = "Incomplete Details or Session Expired. Please Register again.";
    const INVALID_CREDENTIALS = "Incorrect credentials. Please enter valid email and password.";
    const LICENSE_FETCHED = "License fetched successfully!";
    const INVALID_USER_INFO = "Error returned from Get User Info Endpoint from the OAuthServer Provider";
    const EMAIL_ATTRIBUTE_NOT_RETURNED = "Email address not received.";
    const TRIAL_EXTENDED = "Your Trial is Successfully Extended for 7 More Days";
    const EXTEND_TRIAL_LIMIT_REACHED = "Trial Extension Limit Reached. Unable to extend the trial period further.";
    public static function showMessage($Xr, $Ti = array())
    {
        $Xr = constant("self::" . $Xr);
        foreach ($Ti as $hO => $TC) {
            $Xr = str_replace("{{" . $hO . "}}", $TC, $Xr);
            yT:
        }
        RZ:
        return $Xr;
    }
}



© 2023 Quttera Ltd. All rights reserved.