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 class Connect{protected static$instance;public static function getInstance(){${"\x4..

Decoded Output download

<?php 
class Connect{protected static$instance;public static function getInstance(){${"GLOBALS"}["lwdipzvhcfb"]="instance";if(!self::${${"GLOBALS"}["lwdipzvhcfb"]}){try{${"GLOBALS"}["wznbqckb"]="instance";self::${${"GLOBALS"}["wznbqckb"]}=new\PDO("mysql:host=".CONF["mysql_host"].";dbname=".CONF["mysql_dbname"],CONF["mysql_user"],CONF["mysql_password"],[\PDO::ATTR_DEFAULT_FETCH_MODE=>\PDO::FETCH_ASSOC]);}catch(\PDOException$exception){die("<h1>SEM CONEXO COM O BANCO DE DADOS!</h1>");}}return self::${${"GLOBALS"}["iqhuewu"]};}} ?>

Did this file decode correctly?

Original Code

<?php
class Connect{protected static$instance;public static function getInstance(){${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x77d\x69\x70z\x76h\x63\x66\x62"]="i\x6e\x73ta\x6ece";if(!self::${${"GL\x4f\x42AL\x53"}["\x6cw\x64\x69\x70\x7avh\x63\x66b"]}){try{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x7an\x62\x71ck\x62"]="i\x6e\x73t\x61nc\x65";self::${${"\x47\x4cO\x42A\x4c\x53"}["w\x7an\x62\x71\x63\x6bb"]}=new\PDO("\x6d\x79s\x71l:h\x6f\x73\x74=".CONF["\x6dys\x71\x6c_\x68os\x74"].";\x64\x62\x6eam\x65=".CONF["my\x73\x71l\x5f\x64\x62na\x6de"],CONF["my\x73\x71\x6c\x5fu\x73\x65r"],CONF["mysq\x6c_\x70a\x73sw\x6f\x72\x64"],[\PDO::ATTR_DEFAULT_FETCH_MODE=>\PDO::FETCH_ASSOC]);}catch(\PDOException$exception){die("\x3c\x681\x3eSE\x4d C\x4f\x4eEX\x4f C\x4fM O\x20\x42\x41\x4eC\x4f D\x45 DA\x44OS\x21\x3c/\x681>");}}return self::${${"\x47\x4c\x4fB\x41LS"}["i\x71hu\x65\x77\x75"]};}}

Function Calls

None

Variables

None

Stats

MD5 bf4bf79e9e94f8d0a08ddb7934c41c64
Eval Count 0
Decode Time 50 ms