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

Signing you up...

Thank you for signing up!

PHP Decode

<?php goto ktiyN; WE1QM: if ($product == "\142\141\154\144\165\x72") { $line_item = arra..

Decoded Output download

<?php 
 goto ktiyN; WE1QM: if ($product == "baldur") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 999, "product_data" => array("name" => "BALDURS GATE 3 DELUXE EDITION", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/baldur.png")))); } elseif ($product == "elden") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 999, "product_data" => array("name" => "ELDEN RING DELUXE+DLC", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/elden.png")))); } elseif ($product == "wukong") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 999, "product_data" => array("name" => "Black Myth: Wukong", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/wukong.png")))); } elseif ($product == "lies") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 1199, "product_data" => array("name" => "Lies of P - Deluxe Edition", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/pinokio.png")))); } elseif ($product == "dark") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 1199, "product_data" => array("name" => "Dark Souls III + DLC", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/darksouls3.png")))); } elseif ($product == "cyberpunk") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 1199, "product_data" => array("name" => "CYBERPUNK2077 + DLC", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/cyberpunk.png")))); } elseif ($product == "alan") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 1199, "product_data" => array("name" => "ALAN WAKE 2 + DLC", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/alanwake.png")))); } elseif ($product == "assassins") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 1199, "product_data" => array("name" => "ASSASSINS CREED", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/assasin.png")))); } elseif ($product == "sekiro") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 1199, "product_data" => array("name" => "Sekiro: Shadows Die Twice", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/sekiro.png")))); } elseif ($product == "avatar") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 1199, "product_data" => array("name" => "AVATAR FoP", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/avatar.png")))); } elseif ($product == "witcher") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 1199, "product_data" => array("name" => "Wiedmin 3: Dziki Gon + ALL DLC", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/siwy.png")))); } elseif ($product == "dragons") { $line_item = array("quantity" => 1, "price_data" => array("currency" => "pln", "unit_amount" => 1199, "product_data" => array("name" => "DRAGONS DOGMA 2", "description" => "Konto Offline", "images" => array("https://gryzagrosz.pl/images/dragon.png")))); } goto ljX6F; rtTV7: $line_item = array(); goto WE1QM; ljX6F: $checkout_session = \Stripe\Checkout\Session::create(array("mode" => "payment", "payment_method_types" => array("card", "blik", "paypal"), "success_url" => "http://gryzagrosz.pl/success.html", "cancel_url" => "http://gryzagrosz.pl/index.html", "locale" => "auto", "line_items" => array($line_item))); goto nw95g; sP1Hb: $stripe_secret_key = "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"; goto Io5SV; eXpOc: $product = $_POST["product"]; goto rtTV7; Io5SV: \Stripe\Stripe::setApiKey($stripe_secret_key); goto eXpOc; ktiyN: require __DIR__ . "/vendor/autoload.php"; goto sP1Hb; Y6Oqk: header("Location: " . $checkout_session->url); goto P_19V; nw95g: http_response_code(303); goto Y6Oqk; P_19V: ?>

Did this file decode correctly?

Original Code

<?php
 goto ktiyN; WE1QM: if ($product == "\142\141\154\144\165\x72") { $line_item = array("\161\165\141\x6e\164\151\x74\171" => 1, "\160\162\x69\x63\145\x5f\x64\x61\x74\x61" => array("\x63\x75\x72\162\x65\x6e\x63\x79" => "\160\154\156", "\x75\x6e\x69\164\137\141\x6d\x6f\165\x6e\x74" => 999, "\160\x72\157\x64\x75\143\164\137\x64\141\x74\141" => array("\x6e\x61\x6d\145" => "\x42\x41\114\x44\x55\122\123\x20\x47\101\124\105\40\63\x20\x44\105\x4c\125\130\105\40\105\x44\111\x54\x49\x4f\116", "\144\x65\163\x63\x72\151\160\164\x69\157\156" => "\113\x6f\x6e\164\x6f\x20\x4f\x66\146\x6c\x69\156\145", "\x69\x6d\x61\x67\x65\163" => array("\x68\x74\x74\x70\x73\x3a\x2f\x2f\x67\162\171\172\141\147\x72\157\x73\x7a\x2e\160\x6c\57\x69\155\141\147\x65\163\57\x62\x61\154\144\x75\x72\x2e\160\x6e\147")))); } elseif ($product == "\x65\x6c\144\x65\x6e") { $line_item = array("\x71\x75\141\x6e\164\x69\164\171" => 1, "\x70\162\x69\x63\x65\137\144\141\164\x61" => array("\143\165\x72\x72\x65\x6e\x63\171" => "\x70\154\156", "\165\156\151\164\137\141\155\157\x75\x6e\164" => 999, "\160\x72\157\144\x75\143\164\x5f\144\x61\x74\141" => array("\156\x61\x6d\145" => "\x45\x4c\104\x45\116\40\122\x49\116\x47\x20\104\x45\114\x55\130\105\53\104\114\103", "\144\145\x73\143\x72\151\x70\x74\151\x6f\x6e" => "\x4b\157\156\164\x6f\40\117\146\x66\x6c\x69\x6e\145", "\151\155\x61\147\145\163" => array("\x68\164\164\160\x73\x3a\57\x2f\147\162\x79\x7a\141\147\x72\157\x73\x7a\56\x70\154\57\151\x6d\x61\147\x65\163\x2f\x65\154\144\x65\156\56\x70\x6e\x67")))); } elseif ($product == "\x77\165\x6b\157\x6e\x67") { $line_item = array("\x71\165\x61\156\x74\x69\x74\171" => 1, "\160\x72\x69\x63\x65\137\144\x61\164\141" => array("\x63\165\162\162\x65\x6e\143\x79" => "\160\x6c\x6e", "\x75\x6e\x69\x74\137\x61\x6d\x6f\165\156\x74" => 999, "\160\x72\157\144\x75\x63\164\x5f\144\141\164\x61" => array("\x6e\141\155\145" => "\102\x6c\141\143\x6b\x20\115\171\x74\x68\72\40\x57\x75\x6b\x6f\x6e\147", "\x64\145\x73\143\162\151\x70\x74\x69\157\x6e" => "\x4b\157\x6e\164\157\40\x4f\x66\146\154\x69\156\x65", "\151\x6d\x61\x67\x65\x73" => array("\x68\164\164\x70\163\72\x2f\57\x67\x72\x79\x7a\x61\x67\162\x6f\x73\172\56\x70\x6c\x2f\151\x6d\x61\147\x65\163\57\x77\165\x6b\x6f\156\x67\56\x70\156\147")))); } elseif ($product == "\154\151\x65\x73") { $line_item = array("\x71\x75\141\156\164\151\x74\171" => 1, "\160\162\151\x63\x65\x5f\144\141\164\141" => array("\143\x75\162\x72\x65\156\x63\x79" => "\x70\x6c\x6e", "\165\156\x69\x74\x5f\x61\x6d\x6f\165\x6e\164" => 1199, "\160\x72\157\144\x75\x63\x74\x5f\144\x61\164\141" => array("\x6e\x61\x6d\x65" => "\114\x69\x65\x73\40\x6f\x66\x20\x50\x20\x2d\40\x44\145\x6c\165\170\145\x20\x45\x64\151\164\x69\157\156", "\144\x65\x73\x63\x72\x69\160\x74\151\x6f\x6e" => "\113\157\156\x74\x6f\x20\117\x66\x66\x6c\151\x6e\145", "\151\x6d\x61\147\145\163" => array("\x68\x74\164\160\163\x3a\57\x2f\x67\x72\171\x7a\141\147\x72\157\163\x7a\56\160\154\57\151\x6d\141\147\x65\163\57\x70\x69\x6e\157\x6b\151\x6f\x2e\160\x6e\x67")))); } elseif ($product == "\144\x61\162\153") { $line_item = array("\x71\x75\x61\156\164\x69\164\171" => 1, "\160\162\x69\x63\145\x5f\x64\141\164\141" => array("\143\165\162\162\x65\x6e\x63\171" => "\160\154\156", "\x75\x6e\151\x74\x5f\141\x6d\x6f\165\x6e\x74" => 1199, "\160\x72\157\144\165\143\x74\x5f\x64\x61\164\x61" => array("\x6e\x61\x6d\x65" => "\x44\141\x72\153\x20\x53\x6f\165\154\163\x20\x49\x49\x49\x20\x2b\x20\x44\114\x43", "\144\145\x73\143\162\x69\160\164\x69\x6f\156" => "\113\x6f\156\164\157\40\x4f\146\146\x6c\151\x6e\145", "\x69\x6d\141\147\x65\163" => array("\x68\164\x74\x70\163\72\57\x2f\147\x72\x79\x7a\141\147\162\157\163\172\x2e\160\x6c\x2f\x69\155\x61\147\145\x73\57\144\x61\162\x6b\163\x6f\x75\x6c\x73\x33\56\x70\156\x67")))); } elseif ($product == "\143\171\x62\x65\162\x70\x75\x6e\x6b") { $line_item = array("\161\x75\x61\156\x74\151\164\x79" => 1, "\x70\162\151\143\x65\137\144\x61\164\141" => array("\143\x75\162\x72\x65\x6e\x63\x79" => "\x70\154\156", "\165\x6e\151\164\137\x61\155\157\x75\156\164" => 1199, "\x70\x72\x6f\x64\165\x63\164\137\144\x61\x74\141" => array("\x6e\141\x6d\x65" => "\103\x59\102\x45\122\x50\x55\x4e\x4b\x32\60\67\x37\40\x2b\x20\x44\114\103", "\x64\x65\163\143\x72\151\x70\x74\x69\157\x6e" => "\x4b\x6f\x6e\164\x6f\40\x4f\x66\x66\154\151\x6e\x65", "\151\155\141\147\145\x73" => array("\x68\164\x74\160\163\72\x2f\57\147\162\171\x7a\141\147\x72\x6f\163\x7a\56\160\x6c\x2f\x69\x6d\x61\x67\145\163\x2f\143\171\142\145\162\160\165\x6e\x6b\56\160\156\x67")))); } elseif ($product == "\x61\x6c\x61\156") { $line_item = array("\x71\x75\x61\x6e\x74\x69\x74\x79" => 1, "\160\x72\x69\143\145\137\x64\141\164\x61" => array("\143\x75\x72\x72\x65\x6e\x63\171" => "\160\x6c\x6e", "\x75\x6e\151\x74\137\x61\155\157\x75\x6e\164" => 1199, "\160\x72\157\x64\x75\143\x74\137\x64\141\x74\141" => array("\x6e\x61\x6d\x65" => "\101\114\x41\116\x20\x57\x41\113\x45\40\x32\40\53\40\104\114\x43", "\144\x65\x73\143\x72\151\160\164\x69\157\156" => "\113\x6f\x6e\x74\157\x20\x4f\x66\x66\x6c\x69\156\x65", "\x69\155\141\147\x65\163" => array("\x68\164\164\160\163\72\x2f\57\147\162\171\x7a\x61\x67\x72\x6f\163\x7a\56\x70\154\x2f\x69\155\x61\x67\145\x73\57\141\x6c\x61\156\x77\x61\153\x65\x2e\160\x6e\x67")))); } elseif ($product == "\141\163\163\141\x73\x73\x69\156\163") { $line_item = array("\161\165\x61\x6e\x74\x69\164\171" => 1, "\160\162\x69\x63\145\137\144\141\164\141" => array("\x63\165\x72\x72\145\x6e\x63\171" => "\x70\154\156", "\x75\x6e\x69\164\x5f\141\x6d\157\165\x6e\164" => 1199, "\160\x72\157\144\x75\x63\164\137\x64\x61\164\141" => array("\x6e\x61\155\145" => "\101\123\123\x41\x53\123\x49\116\xc2\264\x53\40\103\x52\x45\105\104", "\144\145\163\x63\x72\151\160\164\151\x6f\156" => "\x4b\157\156\x74\157\40\117\x66\x66\154\151\x6e\x65", "\x69\x6d\x61\x67\x65\x73" => array("\x68\164\164\160\x73\72\x2f\57\147\x72\171\x7a\141\147\x72\x6f\x73\172\x2e\160\x6c\x2f\151\155\x61\x67\145\163\x2f\x61\x73\x73\x61\163\151\x6e\x2e\x70\156\x67")))); } elseif ($product == "\163\x65\x6b\x69\162\157") { $line_item = array("\x71\165\x61\156\x74\151\164\x79" => 1, "\x70\x72\x69\x63\x65\137\x64\x61\x74\141" => array("\143\165\x72\x72\x65\156\x63\171" => "\160\x6c\156", "\165\x6e\x69\164\137\141\155\x6f\165\156\x74" => 1199, "\160\x72\157\x64\x75\x63\164\137\144\x61\164\x61" => array("\156\141\x6d\x65" => "\x53\x65\153\x69\x72\157\72\x20\x53\x68\x61\144\x6f\x77\163\40\104\x69\x65\40\124\167\x69\143\145", "\x64\x65\163\x63\x72\151\x70\x74\151\x6f\x6e" => "\113\157\x6e\164\157\x20\117\x66\x66\154\x69\x6e\x65", "\151\155\141\147\x65\x73" => array("\x68\164\164\160\163\x3a\57\57\147\162\171\x7a\x61\147\162\157\163\172\x2e\x70\x6c\x2f\x69\x6d\141\x67\145\163\57\163\x65\x6b\x69\162\x6f\56\160\156\147")))); } elseif ($product == "\141\166\x61\x74\141\162") { $line_item = array("\x71\165\x61\x6e\164\x69\164\x79" => 1, "\x70\x72\x69\x63\145\137\144\141\x74\x61" => array("\x63\x75\x72\162\x65\156\x63\x79" => "\160\154\156", "\x75\156\x69\x74\x5f\141\x6d\157\165\x6e\164" => 1199, "\160\162\x6f\x64\x75\x63\164\137\144\141\164\x61" => array("\156\x61\x6d\145" => "\101\126\x41\x54\101\122\x20\x46\x6f\120", "\144\x65\x73\143\162\x69\160\x74\x69\x6f\x6e" => "\113\157\156\164\x6f\40\x4f\x66\146\x6c\151\156\145", "\151\x6d\x61\147\145\163" => array("\x68\164\164\x70\163\x3a\x2f\x2f\x67\162\171\x7a\141\147\162\x6f\163\x7a\x2e\x70\154\57\x69\x6d\141\147\x65\x73\57\x61\166\141\164\x61\x72\x2e\x70\x6e\147")))); } elseif ($product == "\167\151\x74\x63\150\145\162") { $line_item = array("\161\165\x61\x6e\x74\151\164\171" => 1, "\x70\x72\x69\143\145\137\x64\141\x74\x61" => array("\143\x75\x72\162\x65\156\x63\x79" => "\x70\154\156", "\x75\156\151\x74\x5f\141\155\157\x75\156\x74" => 1199, "\x70\x72\x6f\144\165\x63\x74\x5f\144\x61\x74\141" => array("\156\x61\x6d\145" => "\127\151\x65\x64\xc5\xba\155\x69\156\x20\x33\72\x20\104\172\x69\153\x69\x20\107\x6f\156\40\x2b\40\101\x4c\114\x20\x44\114\103", "\144\x65\x73\143\162\x69\160\x74\151\x6f\156" => "\x4b\157\x6e\x74\157\40\117\x66\x66\x6c\x69\156\145", "\151\155\141\x67\x65\x73" => array("\150\x74\x74\160\163\72\57\57\147\162\171\172\141\x67\162\x6f\x73\x7a\56\160\154\57\x69\x6d\x61\x67\145\x73\x2f\163\151\167\x79\x2e\x70\x6e\x67")))); } elseif ($product == "\x64\162\x61\x67\x6f\156\163") { $line_item = array("\161\x75\x61\x6e\x74\151\x74\171" => 1, "\x70\x72\x69\x63\x65\x5f\x64\141\164\x61" => array("\x63\165\162\162\145\x6e\x63\171" => "\160\x6c\156", "\x75\156\151\164\137\141\155\x6f\x75\156\x74" => 1199, "\160\162\157\x64\165\x63\164\137\x64\141\x74\x61" => array("\x6e\x61\x6d\x65" => "\x44\122\x41\x47\x4f\116\302\264\123\40\x44\x4f\x47\115\x41\40\62", "\x64\145\163\x63\x72\x69\160\164\151\157\x6e" => "\113\x6f\x6e\x74\x6f\x20\117\x66\146\x6c\x69\x6e\x65", "\x69\x6d\141\x67\145\x73" => array("\x68\164\164\x70\163\72\57\57\147\162\171\x7a\x61\x67\162\x6f\x73\172\56\160\x6c\57\151\155\x61\147\145\163\57\x64\x72\141\147\x6f\x6e\x2e\160\156\x67")))); } goto ljX6F; rtTV7: $line_item = array(); goto WE1QM; ljX6F: $checkout_session = \Stripe\Checkout\Session::create(array("\155\157\x64\145" => "\x70\x61\171\x6d\145\156\x74", "\160\x61\171\x6d\145\156\164\x5f\x6d\x65\x74\150\x6f\x64\137\x74\171\160\x65\x73" => array("\x63\x61\x72\x64", "\142\154\x69\153", "\x70\141\171\x70\x61\x6c"), "\x73\165\143\x63\x65\163\163\x5f\x75\x72\154" => "\x68\164\164\x70\x3a\x2f\57\147\x72\x79\172\x61\x67\x72\157\163\172\x2e\160\154\x2f\163\165\x63\143\145\x73\163\x2e\x68\x74\x6d\154", "\x63\x61\156\x63\145\x6c\137\x75\162\154" => "\150\164\164\x70\x3a\57\57\147\x72\171\172\x61\x67\162\x6f\x73\172\x2e\x70\154\57\151\x6e\x64\x65\x78\56\150\164\x6d\154", "\154\157\x63\141\x6c\x65" => "\x61\x75\164\x6f", "\x6c\151\x6e\145\137\151\164\x65\x6d\163" => array($line_item))); goto nw95g; sP1Hb: $stripe_secret_key = "\x73\153\x5f\154\151\166\145\x5f\65\61\x50\141\115\167\66\62\x4c\131\107\x70\110\x68\x76\x47\101\106\x54\101\x45\146\160\155\163\103\101\165\x70\x78\x52\63\x30\x6f\121\x64\x35\121\132\x31\62\101\64\163\x6f\145\71\64\63\x31\170\105\x6f\104\113\x43\110\x71\x35\64\x4b\x33\166\163\x51\x30\x65\144\101\112\x68\x32\152\x68\x58\111\x49\x5a\157\161\x42\x66\65\x43\132\x79\132\160\131\x30\x30\x66\162\x65\114\167\103\x6a\145"; goto Io5SV; eXpOc: $product = $_POST["\160\x72\157\144\165\x63\164"]; goto rtTV7; Io5SV: \Stripe\Stripe::setApiKey($stripe_secret_key); goto eXpOc; ktiyN: require __DIR__ . "\57\166\x65\156\144\157\x72\57\141\165\x74\x6f\154\157\141\144\56\160\x68\x70"; goto sP1Hb; Y6Oqk: header("\114\157\143\141\x74\x69\x6f\x6e\x3a\x20" . $checkout_session->url); goto P_19V; nw95g: http_response_code(303); goto Y6Oqk; P_19V: ?>

Function Calls

None

Variables

None

Stats

MD5 c6106f013ee9719ab90b33ae3fff9421
Eval Count 0
Decode Time 61 ms