Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
use Vectorface\Whip\Whip; use Websoftwares\Throttle; use Websoftwares\Storage\Memcached; ..
Decoded Output download
<? use Vectorface\Whip\Whip; use Websoftwares\Throttle; use Websoftwares\Storage\Memcached; use Monolog\Logger; use Symfony\Component\Dotenv\Dotenv; goto axXXo; j9d_6: $dotenv->load("/home/maskcheckoutrach/public_html/.env"); goto L4wL7; v_MDn: require "affiliates.php"; goto zcKis; zcKis: $dotenv = new Dotenv(); goto j9d_6; BSh8J: if ($pagename == "index.php" || $pagename == "checkout.php") { setAffiliateString(); $csrf = new \DimNS\SimpleCSRF(); $csrf = new \DimNS\SimpleCSRF("checkout_token"); $csrf_token = $csrf->getToken(); } goto uq0no; axXXo: require "/home/maskcheckoutrach/public_html/vendor/autoload.php"; goto v_MDn; OP7TH: $pagename = substr($_SERVER["SCRIPT_NAME"], strrpos($_SERVER["SCRIPT_NAME"], "/") + 1); goto BSh8J; vuwg0: if (!isset($_SESSION["cart"])) { $_SESSION["cart"] = array(); } goto OP7TH; W7sMq: if ($_ENV["APP_DEBUG"]) { ini_set("display_errors", "1"); error_reporting(E_ERROR | E_PARSE); } else { ini_set("display_errors", "0"); } goto fPiym; fPiym: session_id(); goto jxcOT; uq0no: $catalog = array("1x_mask" => array("productName" => "1x Mask", "product1_id" => "75", "product1_price" => "89.99", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "1x_mask"), "2x_mask" => array("productName" => "2x Mask", "product1_id" => "76", "product1_price" => "139.99", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "2x_mask"), "insurance" => array("productName" => "Premium Shipping & Tracking", "product1_id" => "78", "product1_price" => "4.99", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "insurance"), "warranty" => array("productName" => "Warranty", "product1_id" => "79", "product1_price" => "9.90", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "warranty"), "tip" => array("productName" => "Tip", "product1_id" => "77", "product1_price" => "3.00", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "tip"), "vipBump" => array("productName" => "VIP Bump", "product1_id" => "80", "product1_price" => "0.00", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "vipBump"), "vipBump2" => array("productName" => "VIP Bump 2", "product1_id" => "81", "product1_price" => "0.00", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "vipBump2"), "environment_1" => array("productName" => "Friendly Option 1 Mask", "product1_id" => "84", "product1_price" => "4.99", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "environment_1"), "environment_2" => array("productName" => "Friendly Option 2 Mask", "product1_id" => "85", "product1_price" => "9.90", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "environment_2"), "oil_100" => array("productName" => "Oil 100", "product1_id" => "83", "product1_price" => "34.99", "product1_qty" => "1", "product1_shipPrice" => "0.00", "campaignId" => "8", "cartId" => "oil_100")); goto m_p5N; jxcOT: if (!isset($_SESSION)) { session_start() or die("session doesnt start"); } goto vuwg0; L4wL7: ob_start(); goto W7sMq; m_p5N:
?>
Did this file decode correctly?
Original Code
use Vectorface\Whip\Whip; use Websoftwares\Throttle; use Websoftwares\Storage\Memcached; use Monolog\Logger; use Symfony\Component\Dotenv\Dotenv; goto axXXo; j9d_6: $dotenv->load("\57\150\x6f\155\x65\57\155\x61\x73\153\143\x68\x65\143\153\157\165\164\162\x61\x63\x68\57\x70\x75\142\154\151\143\137\x68\x74\155\154\x2f\x2e\x65\156\x76"); goto L4wL7; v_MDn: require "\141\146\x66\x69\154\x69\x61\x74\x65\x73\56\x70\150\x70"; goto zcKis; zcKis: $dotenv = new Dotenv(); goto j9d_6; BSh8J: if ($pagename == "\x69\156\x64\145\170\56\x70\x68\160" || $pagename == "\143\150\x65\143\153\157\165\164\x2e\160\150\x70") { setAffiliateString(); $csrf = new \DimNS\SimpleCSRF(); $csrf = new \DimNS\SimpleCSRF("\x63\150\145\x63\153\x6f\x75\x74\137\x74\157\x6b\x65\156"); $csrf_token = $csrf->getToken(); } goto uq0no; axXXo: require "\x2f\150\x6f\155\x65\57\x6d\141\x73\x6b\143\x68\145\x63\153\157\x75\x74\x72\141\x63\x68\57\x70\165\x62\154\151\x63\137\x68\164\155\154\x2f\x76\145\156\x64\x6f\162\x2f\141\x75\x74\x6f\154\157\141\x64\56\x70\150\x70"; goto v_MDn; OP7TH: $pagename = substr($_SERVER["\123\103\122\111\x50\124\x5f\116\101\115\x45"], strrpos($_SERVER["\x53\103\122\111\120\124\137\x4e\101\115\105"], "\x2f") + 1); goto BSh8J; vuwg0: if (!isset($_SESSION["\x63\141\162\164"])) { $_SESSION["\x63\141\162\164"] = array(); } goto OP7TH; W7sMq: if ($_ENV["\101\120\120\137\104\105\102\125\107"]) { ini_set("\x64\151\x73\160\x6c\141\171\137\145\162\x72\x6f\x72\163", "\x31"); error_reporting(E_ERROR | E_PARSE); } else { ini_set("\144\x69\x73\x70\x6c\141\x79\137\x65\162\x72\x6f\162\x73", "\x30"); } goto fPiym; fPiym: session_id(); goto jxcOT; uq0no: $catalog = array("\x31\x78\x5f\155\141\x73\153" => array("\x70\162\x6f\x64\x75\x63\x74\116\141\x6d\145" => "\61\x78\40\115\x61\x73\x6b", "\160\x72\157\144\x75\x63\x74\61\x5f\151\x64" => "\x37\x35", "\x70\x72\157\144\165\143\164\x31\137\160\162\x69\x63\x65" => "\70\x39\56\71\71", "\x70\x72\157\144\165\x63\x74\x31\x5f\161\164\x79" => "\61", "\160\162\157\x64\165\x63\164\61\x5f\x73\x68\x69\x70\x50\x72\x69\143\x65" => "\x30\x2e\x30\60", "\x63\141\x6d\x70\x61\x69\x67\x6e\111\x64" => "\x38", "\x63\141\162\164\x49\x64" => "\x31\170\x5f\155\x61\163\153"), "\x32\x78\137\155\x61\x73\x6b" => array("\x70\162\x6f\144\165\143\x74\116\x61\155\145" => "\x32\170\x20\115\141\163\153", "\x70\162\x6f\x64\165\x63\x74\x31\x5f\151\x64" => "\67\66", "\x70\162\157\144\x75\143\164\x31\x5f\x70\x72\151\x63\x65" => "\x31\x33\x39\56\71\71", "\x70\162\157\144\x75\143\164\x31\137\x71\164\171" => "\61", "\160\x72\157\x64\x75\x63\x74\61\x5f\163\x68\x69\160\120\162\x69\143\x65" => "\60\56\x30\x30", "\x63\141\x6d\x70\141\151\x67\156\111\x64" => "\x38", "\143\141\x72\x74\x49\x64" => "\62\170\x5f\x6d\141\x73\x6b"), "\151\x6e\x73\x75\162\141\x6e\x63\x65" => array("\x70\162\x6f\144\x75\x63\164\x4e\141\155\x65" => "\x50\x72\x65\155\x69\x75\155\40\123\x68\151\x70\x70\x69\x6e\147\x20\46\40\124\x72\x61\143\x6b\151\156\x67", "\x70\x72\x6f\x64\x75\x63\164\x31\x5f\x69\x64" => "\67\70", "\160\x72\157\x64\x75\143\x74\x31\x5f\x70\x72\x69\x63\x65" => "\x34\56\x39\71", "\160\x72\157\x64\x75\x63\x74\61\137\161\164\171" => "\61", "\160\162\157\144\x75\x63\x74\61\x5f\163\x68\x69\x70\x50\x72\x69\143\145" => "\x30\56\60\60", "\x63\x61\155\x70\x61\151\x67\156\x49\x64" => "\70", "\143\141\x72\x74\x49\144" => "\x69\156\x73\x75\162\141\x6e\143\145"), "\x77\x61\162\162\x61\x6e\164\171" => array("\160\x72\157\144\x75\x63\164\116\x61\x6d\x65" => "\127\x61\x72\162\x61\156\164\171", "\x70\x72\157\144\165\x63\x74\61\x5f\151\144" => "\67\71", "\160\162\x6f\x64\x75\143\164\x31\137\x70\162\151\x63\145" => "\x39\x2e\71\x30", "\x70\162\157\144\165\143\x74\x31\x5f\161\164\171" => "\61", "\x70\x72\x6f\144\x75\x63\164\x31\137\x73\x68\151\160\120\x72\x69\x63\x65" => "\x30\56\x30\60", "\x63\141\155\160\141\x69\147\156\111\144" => "\70", "\x63\141\162\164\111\x64" => "\x77\x61\x72\x72\x61\x6e\x74\x79"), "\x74\151\160" => array("\x70\x72\157\x64\165\143\164\x4e\141\x6d\x65" => "\x54\x69\x70", "\160\162\157\144\x75\x63\164\61\137\151\144" => "\x37\x37", "\160\x72\x6f\x64\x75\143\x74\61\x5f\x70\x72\151\143\x65" => "\63\56\60\60", "\160\162\157\144\x75\143\x74\61\137\161\164\171" => "\61", "\160\162\157\144\x75\x63\x74\x31\x5f\163\150\151\160\120\x72\151\143\145" => "\x30\56\60\60", "\x63\x61\x6d\x70\141\x69\x67\x6e\111\144" => "\x38", "\143\x61\162\x74\111\144" => "\164\x69\x70"), "\x76\x69\160\102\x75\x6d\x70" => array("\160\x72\x6f\x64\165\x63\164\x4e\141\155\145" => "\126\111\x50\40\102\165\155\x70", "\160\162\157\x64\x75\143\x74\61\x5f\x69\144" => "\x38\60", "\160\162\157\x64\165\143\164\x31\137\x70\162\151\143\x65" => "\x30\x2e\60\60", "\160\x72\x6f\144\165\143\x74\x31\137\161\164\171" => "\61", "\x70\x72\157\144\x75\x63\164\x31\x5f\x73\150\x69\160\x50\162\151\x63\145" => "\60\56\60\x30", "\143\x61\x6d\x70\141\151\x67\156\x49\x64" => "\70", "\x63\x61\x72\164\111\x64" => "\x76\151\x70\102\165\x6d\x70"), "\x76\151\x70\102\x75\155\x70\x32" => array("\x70\162\157\x64\x75\143\x74\x4e\141\x6d\145" => "\x56\x49\x50\40\x42\165\155\160\x20\x32", "\160\x72\157\x64\x75\143\x74\61\137\x69\x64" => "\x38\x31", "\160\x72\x6f\144\165\143\164\61\137\x70\x72\x69\x63\145" => "\x30\x2e\x30\60", "\160\162\157\144\165\x63\x74\61\137\161\164\171" => "\x31", "\160\162\157\x64\165\x63\164\61\x5f\163\x68\151\160\120\x72\151\143\x65" => "\60\x2e\60\x30", "\x63\141\x6d\160\x61\x69\x67\x6e\x49\x64" => "\70", "\x63\141\x72\x74\111\x64" => "\x76\x69\x70\102\x75\x6d\x70\x32"), "\x65\156\x76\151\162\157\x6e\155\145\x6e\164\137\x31" => array("\160\162\x6f\144\x75\x63\164\116\x61\155\x65" => "\x46\162\x69\145\156\x64\x6c\x79\x20\117\160\x74\151\x6f\x6e\40\x31\x20\x4d\x61\163\x6b", "\x70\x72\x6f\144\165\143\164\61\137\x69\x64" => "\70\64", "\160\162\157\x64\x75\x63\x74\61\137\x70\x72\x69\143\x65" => "\x34\56\x39\71", "\160\162\x6f\144\165\143\164\61\137\161\x74\171" => "\x31", "\160\x72\157\x64\165\x63\x74\x31\x5f\163\x68\x69\x70\x50\162\x69\x63\x65" => "\60\56\x30\60", "\143\141\x6d\x70\x61\x69\x67\156\x49\144" => "\70", "\x63\141\x72\164\111\144" => "\145\156\166\151\x72\x6f\x6e\155\145\x6e\x74\137\61"), "\x65\x6e\166\x69\162\x6f\156\x6d\145\156\x74\137\x32" => array("\160\x72\x6f\x64\165\x63\x74\x4e\x61\x6d\x65" => "\x46\x72\151\x65\x6e\144\x6c\171\40\x4f\160\164\x69\x6f\x6e\x20\x32\x20\115\141\163\153", "\160\x72\x6f\x64\165\x63\x74\x31\x5f\x69\144" => "\70\65", "\160\x72\x6f\x64\x75\143\x74\x31\x5f\160\x72\151\x63\x65" => "\71\x2e\71\x30", "\x70\162\x6f\144\x75\x63\164\61\137\161\164\x79" => "\x31", "\x70\x72\157\144\165\143\x74\61\137\x73\x68\151\x70\x50\x72\x69\x63\x65" => "\x30\x2e\60\60", "\143\x61\x6d\160\x61\151\147\x6e\x49\144" => "\x38", "\143\141\x72\x74\x49\x64" => "\x65\x6e\166\151\162\157\156\x6d\145\156\164\137\62"), "\157\151\154\137\x31\60\x30" => array("\x70\x72\x6f\x64\165\143\164\116\141\155\145" => "\117\x69\x6c\x20\x31\60\60", "\160\x72\x6f\144\165\x63\164\61\137\x69\144" => "\70\x33", "\160\x72\x6f\x64\165\x63\164\61\137\x70\162\151\143\x65" => "\x33\x34\x2e\x39\71", "\x70\162\157\144\165\143\164\x31\137\x71\x74\x79" => "\61", "\x70\162\157\x64\x75\143\x74\x31\137\163\x68\151\160\x50\162\151\x63\x65" => "\60\x2e\x30\60", "\143\141\155\160\x61\x69\147\x6e\x49\144" => "\x38", "\143\141\x72\x74\x49\144" => "\x6f\151\154\x5f\x31\x30\60")); goto m_p5N; jxcOT: if (!isset($_SESSION)) { session_start() or die("\163\x65\x73\x73\x69\157\x6e\40\144\157\x65\163\x6e\x74\x20\163\x74\x61\162\x74"); } goto vuwg0; L4wL7: ob_start(); goto W7sMq; m_p5N:
Function Calls
None |
Stats
MD5 | d75544b0d27b5a0ffdbee27ca045a68d |
Eval Count | 0 |
Decode Time | 52 ms |