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 Cd233f5b156be7cb4a6c526fd7f9846a; a01ec85fc7b6b5e4f5af09d0405a69ae: switch ($..

Decoded Output download

<?php 
 goto Cd233f5b156be7cb4a6c526fd7f9846a; a01ec85fc7b6b5e4f5af09d0405a69ae: switch ($Ac11ff02228d97063c76ca75dd11f7d5) { case "archive": $Acc1477f29766b039a09a23eb88ea4e3 = TV_ARCHIVE . $f02678df0f12a2fe4b8fd7bb30abe054 . "/" . $Acc1477f29766b039a09a23eb88ea4e3; goto A5c5519d78f8a50560175ce47d175521; default: $Acc1477f29766b039a09a23eb88ea4e3 = STREAMS_PATH . $Acc1477f29766b039a09a23eb88ea4e3; } goto a663a538fa1b1bf802ed620bed340793; a663a538fa1b1bf802ed620bed340793: eeb5ee510241fe0b7ccbe48dd47d04b1: goto d782177ee992cdec06363cb3be84575a; F288a039f8a4c2ea8c826180323cbdfc: if (!($a9c03b74f95854dfed066483d0a59086 == $a6d935bd0adda2589792a41125d920ca)) { goto B8285106f1367e4a768cce6d2f120a20; } goto Ccbbb96f6b150f014b615b1cf7092877; Fe39bbaa41432b23fc7a4e56c2b27be4: header("Content-Length: " . $B61e9462b830155d89d239d04b42beda); goto D0b7e8533dfa7c059472a591828e5888; F8464e8c3bba13f44fea8b10b45351ab: header("Access-Control-Allow-Origin: *"); goto B12056a33568a1fef7581fa3c23f1e06; b38169c56c2de6787453295e9ca5a26d: readfile($Acc1477f29766b039a09a23eb88ea4e3); goto a78397e6ab46cf5b69e40ca02be72981; eba5150260ed85e395c2c7ecd0164ef5: B8285106f1367e4a768cce6d2f120a20: goto a32aa9f9367fa37e297c574436e5eda9; a78397e6ab46cf5b69e40ca02be72981: exit; goto eba5150260ed85e395c2c7ecd0164ef5; db4e0bf0816d446b3434836c32470370: if (!file_exists($Acc1477f29766b039a09a23eb88ea4e3)) { goto Cc03182b7ece7c172695373b5886174a; } goto be4f4a2f09e0e966f446edfdbaf92f8c; a32aa9f9367fa37e297c574436e5eda9: Cc03182b7ece7c172695373b5886174a: goto Aba35b7276ddfa57f0f489cbc11b5ad7; c5840a9580ce8908797d875608f9199d: $a6d935bd0adda2589792a41125d920ca = empty($_GET["token"]) ? null : $_GET["token"]; goto ad7bd695077a29e402e0c6a2c2cda604; B12056a33568a1fef7581fa3c23f1e06: $Ac11ff02228d97063c76ca75dd11f7d5 = empty($_GET["type"]) ? null : $_GET["type"]; goto f154fa9b8c30acec4cab545be1670d22; Cd233f5b156be7cb4a6c526fd7f9846a: require "../constants.php"; goto d819db334899b30d870c060b2115a321; ad7bd695077a29e402e0c6a2c2cda604: $Acc1477f29766b039a09a23eb88ea4e3 = str_replace(array("\", "/"), '', urldecode($_GET["seg"])); goto a01ec85fc7b6b5e4f5af09d0405a69ae; d819db334899b30d870c060b2115a321: if (!(empty($_GET["seg"]) || empty($_GET["token"]))) { goto Ea3745199a71ff0e6bc59ca5f0cd7550; } goto F51c98af8f3f7205bbf53817994f755b; be4f4a2f09e0e966f446edfdbaf92f8c: $a9c03b74f95854dfed066483d0a59086 = md5(md5_file($Acc1477f29766b039a09a23eb88ea4e3) . filesize($Acc1477f29766b039a09a23eb88ea4e3)); goto F288a039f8a4c2ea8c826180323cbdfc; D0b7e8533dfa7c059472a591828e5888: header("Content-Type: video/mp2t"); goto b38169c56c2de6787453295e9ca5a26d; c8ff2fe0e0ba8921f3bcf2aec15c909b: Ea3745199a71ff0e6bc59ca5f0cd7550: goto F8464e8c3bba13f44fea8b10b45351ab; f154fa9b8c30acec4cab545be1670d22: $f02678df0f12a2fe4b8fd7bb30abe054 = empty($_GET["stream_id"]) ? null : intval($_GET["stream_id"]); goto c5840a9580ce8908797d875608f9199d; Ccbbb96f6b150f014b615b1cf7092877: $B61e9462b830155d89d239d04b42beda = filesize($Acc1477f29766b039a09a23eb88ea4e3); goto Fe39bbaa41432b23fc7a4e56c2b27be4; d782177ee992cdec06363cb3be84575a: A5c5519d78f8a50560175ce47d175521: goto db4e0bf0816d446b3434836c32470370; F51c98af8f3f7205bbf53817994f755b: exit; goto c8ff2fe0e0ba8921f3bcf2aec15c909b; Aba35b7276ddfa57f0f489cbc11b5ad7: header($_SERVER["SERVER_PROTOCOL"] . " 403 Forbidden", true, 403); 
 ?>

Did this file decode correctly?

Original Code

<?php
 goto Cd233f5b156be7cb4a6c526fd7f9846a; a01ec85fc7b6b5e4f5af09d0405a69ae: switch ($Ac11ff02228d97063c76ca75dd11f7d5) { case "\141\162\143\150\x69\x76\x65": $Acc1477f29766b039a09a23eb88ea4e3 = TV_ARCHIVE . $f02678df0f12a2fe4b8fd7bb30abe054 . "\57" . $Acc1477f29766b039a09a23eb88ea4e3; goto A5c5519d78f8a50560175ce47d175521; default: $Acc1477f29766b039a09a23eb88ea4e3 = STREAMS_PATH . $Acc1477f29766b039a09a23eb88ea4e3; } goto a663a538fa1b1bf802ed620bed340793; a663a538fa1b1bf802ed620bed340793: eeb5ee510241fe0b7ccbe48dd47d04b1: goto d782177ee992cdec06363cb3be84575a; F288a039f8a4c2ea8c826180323cbdfc: if (!($a9c03b74f95854dfed066483d0a59086 == $a6d935bd0adda2589792a41125d920ca)) { goto B8285106f1367e4a768cce6d2f120a20; } goto Ccbbb96f6b150f014b615b1cf7092877; Fe39bbaa41432b23fc7a4e56c2b27be4: header("\x43\x6f\x6e\164\145\x6e\x74\x2d\x4c\x65\156\147\x74\150\72\40" . $B61e9462b830155d89d239d04b42beda); goto D0b7e8533dfa7c059472a591828e5888; F8464e8c3bba13f44fea8b10b45351ab: header("\x41\x63\143\x65\163\x73\55\103\157\x6e\164\162\x6f\x6c\x2d\x41\x6c\154\157\167\55\x4f\162\151\x67\x69\x6e\72\40\x2a"); goto B12056a33568a1fef7581fa3c23f1e06; b38169c56c2de6787453295e9ca5a26d: readfile($Acc1477f29766b039a09a23eb88ea4e3); goto a78397e6ab46cf5b69e40ca02be72981; eba5150260ed85e395c2c7ecd0164ef5: B8285106f1367e4a768cce6d2f120a20: goto a32aa9f9367fa37e297c574436e5eda9; a78397e6ab46cf5b69e40ca02be72981: exit; goto eba5150260ed85e395c2c7ecd0164ef5; db4e0bf0816d446b3434836c32470370: if (!file_exists($Acc1477f29766b039a09a23eb88ea4e3)) { goto Cc03182b7ece7c172695373b5886174a; } goto be4f4a2f09e0e966f446edfdbaf92f8c; a32aa9f9367fa37e297c574436e5eda9: Cc03182b7ece7c172695373b5886174a: goto Aba35b7276ddfa57f0f489cbc11b5ad7; c5840a9580ce8908797d875608f9199d: $a6d935bd0adda2589792a41125d920ca = empty($_GET["\164\157\153\x65\156"]) ? null : $_GET["\164\x6f\x6b\145\156"]; goto ad7bd695077a29e402e0c6a2c2cda604; B12056a33568a1fef7581fa3c23f1e06: $Ac11ff02228d97063c76ca75dd11f7d5 = empty($_GET["\x74\x79\x70\145"]) ? null : $_GET["\x74\171\x70\x65"]; goto f154fa9b8c30acec4cab545be1670d22; Cd233f5b156be7cb4a6c526fd7f9846a: require "\56\56\x2f\143\x6f\156\163\x74\x61\156\x74\163\x2e\160\x68\160"; goto d819db334899b30d870c060b2115a321; ad7bd695077a29e402e0c6a2c2cda604: $Acc1477f29766b039a09a23eb88ea4e3 = str_replace(array("\x5c", "\57"), '', urldecode($_GET["\163\145\x67"])); goto a01ec85fc7b6b5e4f5af09d0405a69ae; d819db334899b30d870c060b2115a321: if (!(empty($_GET["\163\x65\147"]) || empty($_GET["\164\x6f\153\x65\156"]))) { goto Ea3745199a71ff0e6bc59ca5f0cd7550; } goto F51c98af8f3f7205bbf53817994f755b; be4f4a2f09e0e966f446edfdbaf92f8c: $a9c03b74f95854dfed066483d0a59086 = md5(md5_file($Acc1477f29766b039a09a23eb88ea4e3) . filesize($Acc1477f29766b039a09a23eb88ea4e3)); goto F288a039f8a4c2ea8c826180323cbdfc; D0b7e8533dfa7c059472a591828e5888: header("\103\157\x6e\164\145\x6e\x74\x2d\x54\x79\160\x65\72\40\x76\151\144\x65\157\x2f\x6d\160\x32\164"); goto b38169c56c2de6787453295e9ca5a26d; c8ff2fe0e0ba8921f3bcf2aec15c909b: Ea3745199a71ff0e6bc59ca5f0cd7550: goto F8464e8c3bba13f44fea8b10b45351ab; f154fa9b8c30acec4cab545be1670d22: $f02678df0f12a2fe4b8fd7bb30abe054 = empty($_GET["\x73\x74\162\x65\x61\155\137\x69\144"]) ? null : intval($_GET["\x73\164\162\145\141\x6d\x5f\x69\144"]); goto c5840a9580ce8908797d875608f9199d; Ccbbb96f6b150f014b615b1cf7092877: $B61e9462b830155d89d239d04b42beda = filesize($Acc1477f29766b039a09a23eb88ea4e3); goto Fe39bbaa41432b23fc7a4e56c2b27be4; d782177ee992cdec06363cb3be84575a: A5c5519d78f8a50560175ce47d175521: goto db4e0bf0816d446b3434836c32470370; F51c98af8f3f7205bbf53817994f755b: exit; goto c8ff2fe0e0ba8921f3bcf2aec15c909b; Aba35b7276ddfa57f0f489cbc11b5ad7: header($_SERVER["\123\105\x52\126\105\x52\x5f\120\122\117\124\117\103\x4f\114"] . "\x20\x34\60\x33\x20\106\x6f\162\142\x69\x64\x64\x65\156", true, 403);

Function Calls

None

Variables

None

Stats

MD5 01100e2bf873063e0a6f3117b5286c23
Eval Count 0
Decode Time 74 ms