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 ApMR4; ApMR4: require_once "\x64\x62\137\143\x6f\156\x66\151\x67\56\160\x68\x..

Decoded Output download

<?php 
 goto ApMR4; ApMR4: require_once "db_config.php"; goto dDDeq; dDDeq: try { $pdo = new PDO("mysql:host={$db_host};dbname={$db_name}", $db_user, $db_cred); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $pdo->exec("SET NAMES "utf8"; SET time_zone="Asia/Kolkata""); } catch (PDOException $e) { echo "Error occurred while accessing the database! If you're seeing this first time please try again after some time. If you're seeing this error multiple time please contact support.201"; return; } goto hM2FN; hM2FN: ?>

Did this file decode correctly?

Original Code

<?php
 goto ApMR4; ApMR4: require_once "\x64\x62\137\143\x6f\156\x66\151\x67\56\160\x68\x70"; goto dDDeq; dDDeq: try { $pdo = new PDO("\155\x79\163\161\x6c\72\150\157\163\x74\x3d{$db_host}\x3b\x64\142\x6e\x61\155\145\75{$db_name}", $db_user, $db_cred); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $pdo->exec("\123\x45\x54\40\x4e\101\115\x45\123\40\42\165\x74\146\70\x22\73\40\x53\105\124\40\164\x69\x6d\145\x5f\172\157\156\145\x3d\x22\x41\x73\x69\x61\x2f\113\157\x6c\153\x61\164\x61\x22"); } catch (PDOException $e) { echo "\x45\162\162\157\x72\40\157\143\x63\165\x72\x72\x65\144\40\x77\150\x69\x6c\145\40\x61\x63\x63\x65\163\163\x69\156\x67\x20\164\150\145\40\144\141\164\x61\142\x61\163\145\41\x20\111\146\x20\x79\x6f\x75\47\162\x65\40\x73\145\145\151\x6e\147\40\x74\150\151\163\x20\146\151\x72\163\164\40\164\x69\155\x65\x20\160\154\x65\x61\x73\145\x20\x74\x72\x79\x20\141\147\x61\151\x6e\40\x61\146\x74\x65\x72\x20\x73\157\155\145\40\164\x69\155\x65\x2e\x20\x49\x66\40\171\157\x75\47\x72\x65\40\163\x65\145\151\156\147\40\164\150\x69\163\40\x65\x72\162\157\162\x20\155\x75\154\164\151\x70\154\145\40\x74\151\155\145\x20\160\154\x65\141\163\x65\x20\143\x6f\156\x74\x61\x63\x74\40\163\x75\x70\x70\157\x72\x74\56\x32\x30\x31"; return; } goto hM2FN; hM2FN: ?>

Function Calls

None

Variables

None

Stats

MD5 4b44020ef7037c6d6be1a8a21ada1ed2
Eval Count 0
Decode Time 51 ms