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 /* Smart PRO 2022 By Prismo :D */ namespace Source\Modells;${"GLOB\x41\x4c\x53"}[..

Decoded Output download

<?php /* 
Smart PRO 2022 By Prismo :D 
*/ 
namespace Source\Modells;${"GLOBALS"}["kitygilwon"]="where";${"GLOBALS"}["wwomuhmt"]="crud";${"GLOBALS"}["dwmtbuxo"]="values";${"GLOBALS"}["dxfdyx"]="sql";${"GLOBALS"}["hqinjxogj"]="sql_formater";${"GLOBALS"}["detfxseivnw"]="pads";${"GLOBALS"}["xpexcnllwwq"]="dados";${"GLOBALS"}["scuaelc"]="keys";${"GLOBALS"}["foqkpotc"]="id";${"GLOBALS"}["trjmhdf"]="all";${"GLOBALS"}["lewrwunb"]="tabela";class crud{private$conexao;private$tabela;private$where;public function __construct($tabela){$this->conexao=pdo();$this->tabela=${${"GLOBALS"}["lewrwunb"]};}public function results($all=false){${"GLOBALS"}["fmpizznyy"]="sql";${${"GLOBALS"}["fmpizznyy"]}=$this->conexao->query("SELECT * FROM {$this->tabela} {$this->where} order by id desc");if($sql->rowCount()==0){return false;}if(${${"GLOBALS"}["trjmhdf"]}==false){return$sql->fetch(\PDO::FETCH_OBJ);}else{return$sql->fetchAll(\PDO::FETCH_OBJ);}}public function deleteById($id){${"GLOBALS"}["pqsvlxas"]="sql";${${"GLOBALS"}["pqsvlxas"]}=$this->conexao->prepare("DELETE FROM {$this->tabela} WHERE `id` = ?");$sql->execute([${${"GLOBALS"}["foqkpotc"]}]);return$sql->rowCount();}public function resultsById($id){$mitmbnyfi="id";${$mitmbnyfi}=filter_var(${${"GLOBALS"}["foqkpotc"]},FILTER_SANITIZE_STRING);$this->setWhere("`id` = '$id'");return$this->results();}public function insertDB($dados=[]){$umsxjlhry="values";${"GLOBALS"}["kbxjegdrczn"]="keys";${"GLOBALS"}["htzspbcfw"]="dados";$urrrtps="dados";if(empty(${$urrrtps})){return false;}$nojiepta="new_keys";${${"GLOBALS"}["scuaelc"]}=array_keys(${${"GLOBALS"}["xpexcnllwwq"]});${$umsxjlhry}=array_values(${${"GLOBALS"}["htzspbcfw"]});${$nojiepta}=[];${"GLOBALS"}["ntbnrumiza"]="key";$iewvpip="new_keys";${${"GLOBALS"}["detfxseivnw"]}=array_pad([],count(${${"GLOBALS"}["kbxjegdrczn"]}),"?");${"GLOBALS"}["xtmfhtpi"]="pads";foreach(${${"GLOBALS"}["scuaelc"]} as${${"GLOBALS"}["ntbnrumiza"]}){${"GLOBALS"}["vumjqi"]="key";${"GLOBALS"}["lkeyuxchta"]="new_keys";$wxitcl="key";${${"GLOBALS"}["vumjqi"]}="`$key`";array_push(${${"GLOBALS"}["lkeyuxchta"]},${$wxitcl});}${${"GLOBALS"}["hqinjxogj"]}="INSERT INTO `{$this->tabela}` (".implode(",",${$iewvpip}).") VALUES (".implode(",",${${"GLOBALS"}["xtmfhtpi"]}).")";${"GLOBALS"}["adorqin"]="sql_formater";${${"GLOBALS"}["dxfdyx"]}=$this->conexao->prepare(${${"GLOBALS"}["adorqin"]});$sql->execute(${${"GLOBALS"}["dwmtbuxo"]});return$sql->rowCount();}public static function crudStatic($tabela){$nsqkkf="crud";${$nsqkkf}=new crud(${${"GLOBALS"}["lewrwunb"]});return${${"GLOBALS"}["wwomuhmt"]};}public function setWhere($where):void{$this->where="WHERE ".${${"GLOBALS"}["kitygilwon"]};}public function isVIP(){return 1;}} 
?>

Did this file decode correctly?

Original Code

<?php /*
Smart PRO 2022 By Prismo :D
*/
namespace Source\Modells;${"GLOB\x41\x4c\x53"}["kit\x79\x67\x69\x6c\x77\x6f\x6e"]="\x77h\x65r\x65";${"\x47LOB\x41LS"}["\x77\x77\x6fmu\x68\x6d\x74"]="c\x72\x75\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["d\x77m\x74\x62\x75\x78\x6f"]="\x76a\x6c\x75\x65\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64xf\x64\x79x"]="\x73\x71l";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x71\x69\x6e\x6axo\x67\x6a"]="\x73\x71\x6c_\x66\x6fr\x6d\x61t\x65\x72";${"G\x4cO\x42\x41L\x53"}["\x64\x65\x74\x66\x78\x73\x65\x69\x76n\x77"]="\x70\x61d\x73";${"\x47LO\x42\x41\x4c\x53"}["\x78\x70e\x78\x63\x6el\x6c\x77w\x71"]="\x64\x61\x64\x6fs";${"\x47\x4c\x4fBALS"}["\x73\x63ua\x65\x6c\x63"]="\x6bey\x73";${"G\x4cO\x42\x41\x4cS"}["f\x6f\x71kp\x6f\x74\x63"]="\x69\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["t\x72\x6am\x68\x64\x66"]="\x61\x6c\x6c";${"\x47\x4c\x4f\x42A\x4cS"}["\x6c\x65\x77rwu\x6eb"]="\x74a\x62\x65l\x61";class crud{private$conexao;private$tabela;private$where;public function __construct($tabela){$this->conexao=pdo();$this->tabela=${${"\x47\x4c\x4f\x42AL\x53"}["\x6ce\x77rw\x75\x6eb"]};}public function results($all=false){${"\x47L\x4f\x42A\x4c\x53"}["f\x6dp\x69\x7az\x6e\x79\x79"]="\x73q\x6c";${${"\x47L\x4f\x42\x41L\x53"}["\x66mpi\x7a\x7a\x6ey\x79"]}=$this->conexao->query("S\x45\x4cECT *\x20F\x52O\x4d {$this->tabela} {$this->where}\x20ord\x65r \x62y\x20id\x20\x64e\x73c");if($sql->rowCount()==0){return false;}if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74r\x6a\x6d\x68\x64\x66"]}==false){return$sql->fetch(\PDO::FETCH_OBJ);}else{return$sql->fetchAll(\PDO::FETCH_OBJ);}}public function deleteById($id){${"\x47L\x4f\x42AL\x53"}["\x70qs\x76\x6c\x78\x61\x73"]="s\x71\x6c";${${"\x47L\x4f\x42\x41\x4cS"}["p\x71s\x76\x6cxa\x73"]}=$this->conexao->prepare("D\x45\x4c\x45T\x45 \x46ROM\x20{$this->tabela} WH\x45R\x45\x20\x60\x69\x64\x60\x20=\x20?");$sql->execute([${${"G\x4c\x4f\x42\x41LS"}["\x66\x6f\x71k\x70o\x74\x63"]}]);return$sql->rowCount();}public function resultsById($id){$mitmbnyfi="\x69\x64";${$mitmbnyfi}=filter_var(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x66o\x71\x6b\x70\x6f\x74\x63"]},FILTER_SANITIZE_STRING);$this->setWhere("`i\x64\x60\x20\x3d \x27$id\x27");return$this->results();}public function insertDB($dados=[]){$umsxjlhry="\x76\x61\x6c\x75\x65\x73";${"GL\x4f\x42AL\x53"}["\x6bb\x78\x6ae\x67d\x72\x63\x7a\x6e"]="\x6b\x65ys";${"G\x4c\x4fBA\x4c\x53"}["\x68\x74\x7a\x73pb\x63f\x77"]="da\x64\x6fs";$urrrtps="\x64\x61\x64\x6f\x73";if(empty(${$urrrtps})){return false;}$nojiepta="\x6e\x65w\x5fke\x79\x73";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73cua\x65\x6cc"]}=array_keys(${${"G\x4cO\x42A\x4c\x53"}["\x78\x70e\x78\x63n\x6c\x6cw\x77\x71"]});${$umsxjlhry}=array_values(${${"GL\x4fB\x41\x4c\x53"}["ht\x7a\x73\x70\x62\x63f\x77"]});${$nojiepta}=[];${"\x47L\x4f\x42A\x4cS"}["\x6et\x62\x6e\x72\x75mi\x7a\x61"]="k\x65\x79";$iewvpip="n\x65w\x5f\x6b\x65\x79\x73";${${"\x47\x4c\x4fB\x41\x4c\x53"}["d\x65\x74\x66\x78se\x69\x76n\x77"]}=array_pad([],count(${${"\x47\x4c\x4f\x42A\x4cS"}["k\x62\x78\x6a\x65\x67\x64\x72\x63\x7a\x6e"]}),"?");${"\x47LO\x42\x41\x4cS"}["\x78\x74\x6df\x68\x74\x70\x69"]="pa\x64\x73";foreach(${${"\x47\x4cOB\x41\x4c\x53"}["\x73\x63\x75a\x65\x6c\x63"]} as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x74\x62\x6er\x75\x6d\x69\x7a\x61"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x75mjqi"]="\x6b\x65\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6b\x65\x79\x75\x78\x63h\x74\x61"]="ne\x77_\x6b\x65\x79s";$wxitcl="\x6be\x79";${${"G\x4c\x4f\x42AL\x53"}["\x76\x75\x6d\x6a\x71i"]}="\x60$key`";array_push(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x6b\x65\x79u\x78\x63\x68ta"]},${$wxitcl});}${${"\x47L\x4fB\x41\x4c\x53"}["hqi\x6ej\x78o\x67j"]}="INSE\x52\x54 \x49\x4e\x54\x4f\x20`{$this->tabela}\x60\x20(".implode(",",${$iewvpip}).") VA\x4cU\x45\x53 (".implode(",",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x74\x6d\x66\x68\x74\x70\x69"]}).")";${"\x47L\x4fB\x41\x4c\x53"}["ado\x72\x71i\x6e"]="s\x71\x6c_\x66o\x72\x6da\x74\x65r";${${"\x47LO\x42\x41\x4cS"}["d\x78\x66\x64\x79\x78"]}=$this->conexao->prepare(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61\x64\x6fr\x71\x69\x6e"]});$sql->execute(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x77\x6d\x74b\x75\x78\x6f"]});return$sql->rowCount();}public static function crudStatic($tabela){$nsqkkf="\x63r\x75\x64";${$nsqkkf}=new crud(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6c\x65\x77r\x77u\x6e\x62"]});return${${"GL\x4fB\x41LS"}["\x77\x77om\x75\x68\x6d\x74"]};}public function setWhere($where):void{$this->where="W\x48\x45R\x45 ".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x69\x74\x79\x67\x69\x6c\x77\x6f\x6e"]};}public function isVIP(){return 1;}}
?>

Function Calls

None

Variables

None

Stats

MD5 4b053934dfe70dc6facc93005e066978
Eval Count 0
Decode Time 76 ms