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 /* __________________________________________________ | Obfuscated by YAK P..

Decoded Output download

<?php 
/*   __________________________________________________ 
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  | 
    |              on 2023-09-25 01:13:58              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
 namespace GDPlayer; class UUID { public static function v3($namespace, $name) { goto smosL2o92vyoCCgo; TefZ_zS4wul8U1Zr: return false; goto RNV3U9qibDh5UfBj; HcrsdOFBPcvaucz3: if (self::is_valid($namespace)) { goto EkPDgX39PskHCSlm; } goto YEHAFrRfg5ffHHbs; SUWFUY17_oCKU3Mw: $hash = md5($nstr . $name); goto ycC1Yc5BfA2HNlBi; lKUMj2VL_daQPAGH: wfmG6KjXvklHoWDq: goto ywabMcHDr_nUFd5F; qU2c1WVZ6uZClAs1: $nstr = ''; goto KDhgEjPmuuC14Fo0; Iioz6ifCJo_3rSDk: goto S4DrCI2U1utplJgY; goto yBUVJCudT2WWJRtU; NKAHo30iQ74N6Wdl: if (!($i < strlen($nhex))) { goto xe_1Qx9pqylnoF9m; } goto GboMiWF9jbaMPheg; smosL2o92vyoCCgo: session_write_close(); goto HcrsdOFBPcvaucz3; ycC1Yc5BfA2HNlBi: return sprintf("%08s-%04s-%04x-%04x-%12s", substr($hash, 0, 8), substr($hash, 8, 4), hexdec(substr($hash, 12, 4)) & 4095 | 0x3000, hexdec(substr($hash, 16, 4)) & 16383 | 32768, substr($hash, 20, 12)); goto p3dXJ14r69v_nFAI; RNV3U9qibDh5UfBj: EkPDgX39PskHCSlm: goto gqooW2e5aTe2kwy1; YEHAFrRfg5ffHHbs: session_write_close(); goto TefZ_zS4wul8U1Zr; KDhgEjPmuuC14Fo0: $i = 0; goto uH_ZpBiqJoVzsczS; GboMiWF9jbaMPheg: $nstr .= chr(hexdec($nhex[$i] . $nhex[$i + 1])); goto lKUMj2VL_daQPAGH; ywabMcHDr_nUFd5F: $i += 2; goto Iioz6ifCJo_3rSDk; yBUVJCudT2WWJRtU: xe_1Qx9pqylnoF9m: goto SUWFUY17_oCKU3Mw; gqooW2e5aTe2kwy1: $nhex = strtr($namespace, array("-" => '', "{" => '', "}" => '')); goto qU2c1WVZ6uZClAs1; uH_ZpBiqJoVzsczS: S4DrCI2U1utplJgY: goto NKAHo30iQ74N6Wdl; p3dXJ14r69v_nFAI: } public static function v4() { session_write_close(); return sprintf("%04x%04x-%04x-%04x-%04x-%04x%04x%04x", random_int(0, 65535), random_int(0, 65535), random_int(0, 65535), random_int(0, 4095) | 16384, random_int(0, 16383) | 32768, random_int(0, 65535), random_int(0, 65535), random_int(0, 65535)); } public static function v5($namespace, $name) { goto pQx61ZCIRdA7jcmu; pQx61ZCIRdA7jcmu: session_write_close(); goto E2XlHInMryZTUyL0; XKveVlQSJ9sgVucM: return false; goto j9I20OiuLqSj7yGZ; R3U6kJS1y4bxV1nj: $i = 0; goto iyt48xIcW8WJWhlC; eFzssuFr3uABGxlm: session_write_close(); goto XKveVlQSJ9sgVucM; hvikBxRxghst0Pe6: $i += 2; goto q4mGsdlwpqma5Pll; FUCa9QKrZHExotNu: $nstr = ''; goto R3U6kJS1y4bxV1nj; YLXx7Jd5qNOytEm1: $nstr .= chr(hexdec($nhex[$i] . $nhex[$i + 1])); goto MZtLl1zw8kOCZ63a; KT1mUOOxR2oLEsNZ: OCIoyIaVDj46g7sC: goto XBAwC_582OabwmSG; CJcm83zbMmgCNf1E: if (!($i < strlen($nhex))) { goto OCIoyIaVDj46g7sC; } goto IM_t1S7aY3B5y16G; MZtLl1zw8kOCZ63a: g4fnd9dFJGP_4xJT: goto hvikBxRxghst0Pe6; q4mGsdlwpqma5Pll: goto H1jyYgB5DmlhknSl; goto KT1mUOOxR2oLEsNZ; uLcxrho3jTTn6l_3: $nhex = strtr($namespace, array("-" => '', "{" => '', "}" => '')); goto FUCa9QKrZHExotNu; IM_t1S7aY3B5y16G: session_write_close(); goto YLXx7Jd5qNOytEm1; E2XlHInMryZTUyL0: if (self::is_valid($namespace)) { goto KFEoU3esv0FSee1c; } goto eFzssuFr3uABGxlm; EzbQZOsqSj78N9Ta: return sprintf("%08s-%04s-%04x-%04x-%12s", substr($hash, 0, 8), substr($hash, 8, 4), hexdec(substr($hash, 12, 4)) & 4095 | 0x5000, hexdec(substr($hash, 16, 4)) & 16383 | 32768, substr($hash, 20, 12)); goto jkctPXoC2M9pNMOh; j9I20OiuLqSj7yGZ: KFEoU3esv0FSee1c: goto uLcxrho3jTTn6l_3; iyt48xIcW8WJWhlC: H1jyYgB5DmlhknSl: goto CJcm83zbMmgCNf1E; XBAwC_582OabwmSG: $hash = sha1($nstr . $name); goto EzbQZOsqSj78N9Ta; jkctPXoC2M9pNMOh: } public static function is_valid($uuid) { session_write_close(); return preg_match("/^\{?[0-9a-f]{8}\-?[0-9a-f]{4}\-?[0-9a-f]{4}\-?" . "[0-9a-f]{4}\-?[0-9a-f]{12}\}?$/i", $uuid) === 1; } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2023-09-25 01:13:58              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 namespace GDPlayer; class UUID { public static function v3($namespace, $name) { goto smosL2o92vyoCCgo; TefZ_zS4wul8U1Zr: return false; goto RNV3U9qibDh5UfBj; HcrsdOFBPcvaucz3: if (self::is_valid($namespace)) { goto EkPDgX39PskHCSlm; } goto YEHAFrRfg5ffHHbs; SUWFUY17_oCKU3Mw: $hash = md5($nstr . $name); goto ycC1Yc5BfA2HNlBi; lKUMj2VL_daQPAGH: wfmG6KjXvklHoWDq: goto ywabMcHDr_nUFd5F; qU2c1WVZ6uZClAs1: $nstr = ''; goto KDhgEjPmuuC14Fo0; Iioz6ifCJo_3rSDk: goto S4DrCI2U1utplJgY; goto yBUVJCudT2WWJRtU; NKAHo30iQ74N6Wdl: if (!($i < strlen($nhex))) { goto xe_1Qx9pqylnoF9m; } goto GboMiWF9jbaMPheg; smosL2o92vyoCCgo: session_write_close(); goto HcrsdOFBPcvaucz3; ycC1Yc5BfA2HNlBi: return sprintf("\x25\x30\70\x73\x2d\x25\60\64\163\x2d\45\x30\x34\x78\55\45\x30\x34\x78\55\45\61\62\x73", substr($hash, 0, 8), substr($hash, 8, 4), hexdec(substr($hash, 12, 4)) & 4095 | 0x3000, hexdec(substr($hash, 16, 4)) & 16383 | 32768, substr($hash, 20, 12)); goto p3dXJ14r69v_nFAI; RNV3U9qibDh5UfBj: EkPDgX39PskHCSlm: goto gqooW2e5aTe2kwy1; YEHAFrRfg5ffHHbs: session_write_close(); goto TefZ_zS4wul8U1Zr; KDhgEjPmuuC14Fo0: $i = 0; goto uH_ZpBiqJoVzsczS; GboMiWF9jbaMPheg: $nstr .= chr(hexdec($nhex[$i] . $nhex[$i + 1])); goto lKUMj2VL_daQPAGH; ywabMcHDr_nUFd5F: $i += 2; goto Iioz6ifCJo_3rSDk; yBUVJCudT2WWJRtU: xe_1Qx9pqylnoF9m: goto SUWFUY17_oCKU3Mw; gqooW2e5aTe2kwy1: $nhex = strtr($namespace, array("\x2d" => '', "\x7b" => '', "\x7d" => '')); goto qU2c1WVZ6uZClAs1; uH_ZpBiqJoVzsczS: S4DrCI2U1utplJgY: goto NKAHo30iQ74N6Wdl; p3dXJ14r69v_nFAI: } public static function v4() { session_write_close(); return sprintf("\x25\60\64\x78\45\60\x34\170\x2d\x25\x30\x34\x78\x2d\x25\60\64\170\55\45\x30\x34\x78\x2d\x25\60\x34\x78\45\x30\x34\170\x25\x30\64\x78", random_int(0, 65535), random_int(0, 65535), random_int(0, 65535), random_int(0, 4095) | 16384, random_int(0, 16383) | 32768, random_int(0, 65535), random_int(0, 65535), random_int(0, 65535)); } public static function v5($namespace, $name) { goto pQx61ZCIRdA7jcmu; pQx61ZCIRdA7jcmu: session_write_close(); goto E2XlHInMryZTUyL0; XKveVlQSJ9sgVucM: return false; goto j9I20OiuLqSj7yGZ; R3U6kJS1y4bxV1nj: $i = 0; goto iyt48xIcW8WJWhlC; eFzssuFr3uABGxlm: session_write_close(); goto XKveVlQSJ9sgVucM; hvikBxRxghst0Pe6: $i += 2; goto q4mGsdlwpqma5Pll; FUCa9QKrZHExotNu: $nstr = ''; goto R3U6kJS1y4bxV1nj; YLXx7Jd5qNOytEm1: $nstr .= chr(hexdec($nhex[$i] . $nhex[$i + 1])); goto MZtLl1zw8kOCZ63a; KT1mUOOxR2oLEsNZ: OCIoyIaVDj46g7sC: goto XBAwC_582OabwmSG; CJcm83zbMmgCNf1E: if (!($i < strlen($nhex))) { goto OCIoyIaVDj46g7sC; } goto IM_t1S7aY3B5y16G; MZtLl1zw8kOCZ63a: g4fnd9dFJGP_4xJT: goto hvikBxRxghst0Pe6; q4mGsdlwpqma5Pll: goto H1jyYgB5DmlhknSl; goto KT1mUOOxR2oLEsNZ; uLcxrho3jTTn6l_3: $nhex = strtr($namespace, array("\55" => '', "\x7b" => '', "\175" => '')); goto FUCa9QKrZHExotNu; IM_t1S7aY3B5y16G: session_write_close(); goto YLXx7Jd5qNOytEm1; E2XlHInMryZTUyL0: if (self::is_valid($namespace)) { goto KFEoU3esv0FSee1c; } goto eFzssuFr3uABGxlm; EzbQZOsqSj78N9Ta: return sprintf("\45\60\70\163\55\45\60\64\163\55\x25\x30\x34\170\x2d\45\60\64\170\x2d\x25\x31\62\x73", substr($hash, 0, 8), substr($hash, 8, 4), hexdec(substr($hash, 12, 4)) & 4095 | 0x5000, hexdec(substr($hash, 16, 4)) & 16383 | 32768, substr($hash, 20, 12)); goto jkctPXoC2M9pNMOh; j9I20OiuLqSj7yGZ: KFEoU3esv0FSee1c: goto uLcxrho3jTTn6l_3; iyt48xIcW8WJWhlC: H1jyYgB5DmlhknSl: goto CJcm83zbMmgCNf1E; XBAwC_582OabwmSG: $hash = sha1($nstr . $name); goto EzbQZOsqSj78N9Ta; jkctPXoC2M9pNMOh: } public static function is_valid($uuid) { session_write_close(); return preg_match("\57\136\x5c\173\x3f\x5b\x30\x2d\x39\x61\55\146\135\x7b\x38\175\x5c\55\77\x5b\x30\x2d\x39\x61\55\146\135\x7b\x34\x7d\134\55\x3f\x5b\x30\55\x39\141\55\x66\135\173\x34\x7d\134\x2d\x3f" . "\133\60\55\x39\x61\55\146\x5d\x7b\x34\175\x5c\55\77\133\x30\55\x39\x61\55\146\135\173\x31\62\x7d\134\175\x3f\44\x2f\x69", $uuid) === 1; } }

Function Calls

None

Variables

None

Stats

MD5 daa58c366c53634f1dca5a1e6aed04a3
Eval Count 0
Decode Time 34 ms