Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$_F=__FILE__;$_X='P3MgP29ybw11OTlQSzZqWltPY1p2aTU+S09ldGFQDXU5OVB4WE9dNUtyOk9yS0tvWzo5OXI2..
Decoded Output download
?><?php
//Stores default URLS
//Sky Auth: https://hostname/shoreauth/
//Sky Boostrapper: https://start.shoretel.net/start
//Prem Auth: https://hostname/shoreauth/
//Prem Bootstrapper: https://hostname/shorestart/start
require_once('cmca_info_safe.php');
if (is_file("/shoretel/wc2_deploy/teleconf/sky_url_config.php")){
require_once('sky_url_config.php');
}
$protocol = "http";
if(defined(CM_HTTPS_ENABLED))
{
if(CM_HTTPS_ENABLED == 1){
$protocol = "https";
}else
{
$protocol = "http";
}
}
//Sky URLS
if(!defined('DEFAULT_SKY_USERAUTH_URL'))
{
define('DEFAULT_SKY_USERAUTH_URL', "https://auth.stsky.biz/shoreauth/userauth");
}
if(!defined('DEFAULT_SKY_BOOTSTRAPPER_URL'))
{
define('DEFAULT_SKY_BOOTSTRAPPER_URL', "https://start.stsky.biz/shorestart/start");
}
if(!defined('DEFAULT_SKY_RENEW_URL'))
{
define('DEFAULT_SKY_RENEW_URL', "https://auth.stsky.biz/shoreauth/renew");
}
if(!defined('DEFAULT_SKY_SVRAPP_URL'))
{
define('DEFAULT_SKY_SVRAPP_URL', "https://auth.stsky.biz/shoreauth/svrappauth");
}
if(!defined('DEFAULT_SKY_GUEST_URL'))
{
define('DEFAULT_SKY_GUEST_URL', "https://auth.stsky.biz/shoreauth/guest");
}
//Prem URLS
define('DEFAULT_PREM_AUTH_URL', $protocol."://".CM_HQ_ADDRESS."/shoreauth/userauth");
define('DEFAULT_PREM_USERAUTH_URL', $protocol."://".CM_HQ_ADDRESS."/shoreauth/userauth");
define('DEFAULT_PREM_BOOTSTRAPPER_URL', $protocol."://".CM_HQ_ADDRESS."/shorestart/start");
//define('DEFAULT_PREM_AD_AUTH_URL', $protocol."://".CM_HQ_ADDRESS."/shoreauth/webadauth");
define('DEFAULT_PREM_RENEW_URL', $protocol."://".CM_HQ_ADDRESS."/shoreauth/renew");
define('DEFAULT_PREM_SVRAPP_URL', "://".CM_HQ_ADDRESS."/shoreauth/svrappauth");
define('DEFAULT_PREM_GUEST_URL', $protocol."://".CM_HQ_ADDRESS."/shoreauth/guest");
//shoreauth/webadauth
$use_sky = true;
if (is_file("/shoretel/wc2_deploy/teleconf/abc_force_prem.php")){
$use_sky = false;
}
function GetAuthUrl(){
global $use_sky;
if(defined(CM_ISMULTITENANT) && (CM_ISMULTITENANT == 1) && $use_sky)
{
return DEFAULT_SKY_USERAUTH_URL;
} else {
return DEFAULT_PREM_AUTH_URL;
}
}
function GetUserAuthUrl(){
global $use_sky;
if(defined(CM_ISMULTITENANT) && (CM_ISMULTITENANT == 1) && $use_sky)
{
return DEFAULT_SKY_USERAUTH_URL;
} else {
return DEFAULT_PREM_USERAUTH_URL;
}
}
function GetGuestAuthUrl(){
global $use_sky;
if(defined(CM_ISMULTITENANT) && (CM_ISMULTITENANT == 1) && $use_sky)
{
return DEFAULT_SKY_GUEST_URL;
} else {
return DEFAULT_PREM_GUEST_URL;
}
}
function GetSvrAuthUrl(){
global $use_sky;
if(defined(CM_ISMULTITENANT) && (CM_ISMULTITENANT == 1) && $use_sky)
{
return DEFAULT_SKY_SVRAPP_URL;
} else {
return 'https' . DEFAULT_PREM_SVRAPP_URL;
}
}
function GetBSUrl(){
global $use_sky;
if(defined(CM_ISMULTITENANT) && CM_ISMULTITENANT == 1 && $use_sky)
{
return DEFAULT_SKY_BOOTSTRAPPER_URL;
} else {
return DEFAULT_PREM_BOOTSTRAPPER_URL;
}
}
function GetRenewUrl(){
if(defined(CM_ISMULTITENANT) && CM_ISMULTITENANT == 1 && $use_sky)
{
return DEFAULT_SKY_RENEW_URL;
} else {
return DEFAULT_PREM_RENEW_URL;
}
}
define('TICKET_KEY' ,"ABCDEFGHIJKLMNOP" .
"QRSTUVWXYZabcdef" .
"ghijklmnop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lYURkRFdJXUlET1NTT1FPJiZPJDVbWl9beFgpDXVPT09PVA11T09PT09PT09qWks1akJPSFdKXWVhRF9QcXBfdFdJV2tfZXRhOw11T09PT3lPWj5bWk9UDXVPT09PT09PT2paSzVqQk9IV0pdZWFEXzR0V3dfdFdJV2tfZXRhOw11T09PT3kNdXkNdQ11Y1p2ZkJaKCdEZEZxV0RfcVdwJ09PT09PT09PT09PT09PT09PLCJdYkZIV0oKR2RVcWF3SS80Ik9WDXVPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PIk50UERlTWtMcG1pPXpjWnYiT1YNdU9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT08iWXJmOHg+M0I2b2hqW0s1eyJPVg11T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PTyJFfVg3LlEyMW48Q2xBZys5Ik9WDXVPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PIlMiKTsNdT9z';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdOT1s1aCBICjlycHkvUnVxaVdaSUM4Mnh6a2R2U1VQPUE2b0plTDM3MFhGLm1CfWw8e2pRPmI0XXNNdDFjWUVLZlRHVm5hRHdnJywnUSBzdXE8REcvaFl9T1sKS2FFZU42ajJrY1dJZj1KU2I4b3BGVVhtel15QzBabng3NXZyMWxCUEE+VlIzZGd3dGl7SC40TFRNOScpOyRfUj1lcmVnX3JlcGxhY2UoJ19fRklMRV9fJywiJyIuJF9GLiInIiwkX1gpO2V2YWwoJF9SKTskX1I9MDskX1g9MDs='))
Function Calls
strtr | 1 |
strrev | 1 |
ereg_replace | 1 |
base64_decode | 2 |
Stats
MD5 | fdb53f3b0d4caee12dffe2e0fc06a5c3 |
Eval Count | 2 |
Decode Time | 73 ms |