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 /* Dark Net 2021 By Prismo */ namespace Source\Modells;${"GL\x4f\x42\x41L\x53"}["..

Decoded Output download

<?php /* 
Dark Net 2021 By Prismo 
*/ 
namespace Source\Modells;${"GLOBALS"}["hvddzfvewyq"]="res";${"GLOBALS"}["vqwwjkjdido"]="sql";${"GLOBALS"}["soqfvjbpidk"]="url";${"GLOBALS"}["qnszkopkyo"]="codigo";${"GLOBALS"}["dppbnmmb"]="t";class open{private$cartId;private$codigo;private$time;public function __construct(){$this->time=time()+600;}public static function initCartId(){if(!isset($_SESSION["cartId"])){${${"GLOBALS"}["dppbnmmb"]}=time()+mt_rand();$pejdlk="t";$_SESSION["cartId"]=md5(sha1($_SERVER["REMOTE_ADDR"].${$pejdlk}));}}public function startSession(){${"GLOBALS"}["fhteyyoahit"]="codigo";${${"GLOBALS"}["fhteyyoahit"]}=$this->getCodigo();${"GLOBALS"}["swyqgueq"]="codigo";setVisita(${${"GLOBALS"}["swyqgueq"]});$_SESSION["codigo"]=${${"GLOBALS"}["qnszkopkyo"]};${${"GLOBALS"}["soqfvjbpidk"]}=urlBase()."produto/{$this->time}/".gerarPHX();redir(${${"GLOBALS"}["soqfvjbpidk"]});}public function getCodigo(){${${"GLOBALS"}["vqwwjkjdido"]}=pdo()->prepare("SELECT * FROM `estoque` WHERE `cartId` = ?");$sql->execute([$this->cartId]);if($sql->rowCount()==0){return 1;}${${"GLOBALS"}["hvddzfvewyq"]}=$sql->fetch();return${${"GLOBALS"}["hvddzfvewyq"]}["codigo"];}public function setCartId($cartId):void{${"GLOBALS"}["wczlpgvwfhx"]="cartId";$this->cartId=${${"GLOBALS"}["wczlpgvwfhx"]};}} 
?>

Did this file decode correctly?

Original Code

<?php /*
Dark Net 2021 By Prismo
*/
namespace Source\Modells;${"GL\x4f\x42\x41L\x53"}["\x68v\x64\x64\x7a\x66\x76e\x77\x79\x71"]="r\x65\x73";${"\x47\x4cOBA\x4cS"}["v\x71\x77\x77jk\x6a\x64id\x6f"]="\x73\x71\x6c";${"G\x4c\x4f\x42\x41\x4cS"}["so\x71\x66\x76j\x62\x70\x69\x64k"]="\x75r\x6c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x6esz\x6bop\x6b\x79\x6f"]="\x63\x6f\x64\x69g\x6f";${"\x47\x4cOBA\x4c\x53"}["dp\x70\x62\x6em\x6d\x62"]="t";class open{private$cartId;private$codigo;private$time;public function __construct(){$this->time=time()+600;}public static function initCartId(){if(!isset($_SESSION["\x63\x61rt\x49\x64"])){${${"G\x4c\x4f\x42\x41\x4cS"}["\x64\x70pb\x6e\x6d\x6d\x62"]}=time()+mt_rand();$pejdlk="t";$_SESSION["\x63ar\x74\x49d"]=md5(sha1($_SERVER["\x52E\x4dO\x54E_A\x44\x44\x52"].${$pejdlk}));}}public function startSession(){${"\x47L\x4f\x42\x41\x4c\x53"}["\x66h\x74e\x79\x79\x6fa\x68\x69\x74"]="\x63\x6f\x64\x69\x67\x6f";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x68\x74\x65\x79\x79\x6f\x61\x68\x69t"]}=$this->getCodigo();${"\x47LO\x42\x41\x4c\x53"}["\x73\x77\x79\x71gueq"]="\x63\x6f\x64\x69\x67\x6f";setVisita(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x77\x79qg\x75\x65\x71"]});$_SESSION["\x63o\x64i\x67o"]=${${"G\x4cO\x42\x41\x4c\x53"}["\x71\x6e\x73\x7a\x6bo\x70\x6b\x79\x6f"]};${${"G\x4cO\x42A\x4c\x53"}["\x73\x6f\x71\x66\x76\x6ab\x70i\x64\x6b"]}=urlBase()."\x70\x72\x6f\x64\x75\x74\x6f/{$this->time}/".gerarPHX();redir(${${"\x47L\x4f\x42\x41L\x53"}["\x73o\x71\x66v\x6a\x62\x70i\x64k"]});}public function getCodigo(){${${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x71\x77w\x6a\x6b\x6a\x64i\x64o"]}=pdo()->prepare("S\x45\x4c\x45\x43\x54 * FR\x4fM\x20`\x65\x73t\x6f\x71u\x65`\x20\x57H\x45RE `c\x61rtId\x60\x20=\x20?");$sql->execute([$this->cartId]);if($sql->rowCount()==0){return 1;}${${"\x47\x4cO\x42\x41\x4cS"}["hvdd\x7a\x66ve\x77yq"]}=$sql->fetch();return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x76\x64\x64\x7af\x76e\x77\x79\x71"]}["c\x6f\x64ig\x6f"];}public function setCartId($cartId):void{${"GL\x4fB\x41LS"}["\x77\x63\x7a\x6c\x70gv\x77fh\x78"]="\x63\x61r\x74I\x64";$this->cartId=${${"G\x4cOB\x41L\x53"}["\x77\x63\x7a\x6c\x70\x67v\x77\x66h\x78"]};}}
?>

Function Calls

None

Variables

None

Stats

MD5 dec5d188acde6f09bb8eaa0af44a366e
Eval Count 0
Decode Time 68 ms