Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["bi\x6bqdl\x76\x75\x71n\x62"]="e\x78\x74e\x6es\x69\x6f\x..
Decoded Output download
<? ${"GLOBALS"}["bikqdlvuqnb"]="extension";${"GLOBALS"}["vbykhidja"]="directorio";${"GLOBALS"}["qqygwhmciw"]="uploads_dir";${"GLOBALS"}["wpjcptltdl"]="row_ruta";$fuikfg="uploads_dir";${"GLOBALS"}["zihjpnt"]="preextension";${"GLOBALS"}["uebtunuoibv"]="sql_ruta";${"GLOBALS"}["cqyfctdhmdip"]="row";$riprhpifnf="extension";${"GLOBALS"}["qbknybmmsqf"]="conn_i";$dvwgjjass="conn_i";$ehncpmj="path";${"GLOBALS"}["rgurvzjljcoj"]="kardex";$xhifjtebd="rpta";${"GLOBALS"}["mbkohlqfgo"]="sql";${"GLOBALS"}["bpduiutwyl"]="rpta";session_start();${"GLOBALS"}["ddoidxoxo"]="sql";$mdfpmewrxg="row_ruta";include("conexion1.php");$qvhdlvgrj="rpta_ruta";${"GLOBALS"}["vuowtodoydp"]="conn_i";$gzswwjtbgxw="kardex";include("extraprotocolares/view/funciones.php");${"GLOBALS"}["oyioxsgykv"]="extension";${$gzswwjtbgxw}=$_REQUEST["kardex"];${"GLOBALS"}["wmbrfk"]="rpta_ruta";${${"GLOBALS"}["ddoidxoxo"]}="select * from servidor where idservidor='1'";${${"GLOBALS"}["bpduiutwyl"]}=mysqli_query(${${"GLOBALS"}["vuowtodoydp"]},${${"GLOBALS"}["mbkohlqfgo"]})or die(mysqli_error(${${"GLOBALS"}["qbknybmmsqf"]}));${${"GLOBALS"}["cqyfctdhmdip"]}=mysqli_fetch_array(${$xhifjtebd});${"GLOBALS"}["dgvwchmyhe"]="sql_ruta";${${"GLOBALS"}["uebtunuoibv"]}="select * from rutaplantillas where id='22'";${${"GLOBALS"}["wmbrfk"]}=mysqli_query(${${"GLOBALS"}["qbknybmmsqf"]},${${"GLOBALS"}["dgvwchmyhe"]})or die(mysqli_error(${$dvwgjjass}));${$mdfpmewrxg}=mysqli_fetch_array(${$qvhdlvgrj});if(${${"GLOBALS"}["cqyfctdhmdip"]}["so"]=="WINDOWS"){}else if(${${"GLOBALS"}["cqyfctdhmdip"]}["so"]=="LINUX"){}${${"GLOBALS"}["zihjpnt"]}=explode(".",$_FILES["archivo"]["name"]);${$riprhpifnf}=pathinfo($_FILES["archivo"]["name"],PATHINFO_EXTENSION);${$fuikfg}=${$ehncpmj}.${${"GLOBALS"}["wpjcptltdl"]}["ruta_generar"]."__MIN__".${${"GLOBALS"}["rgurvzjljcoj"]}.".".${${"GLOBALS"}["oyioxsgykv"]};if(copy($_FILES["archivo"]["tmp_name"],${${"GLOBALS"}["qqygwhmciw"]})){${"GLOBALS"}["fpqktnemngq"]="kardex";$mkywbelnmr="tipo";mysqli_query(${${"GLOBALS"}["qbknybmmsqf"]},"update kardex set documentos='1' where kardex='$kardex'");$kkhpxhiuqcuh="fecha";${"GLOBALS"}["jejskim"]="kardex";${"GLOBALS"}["lnrajzvrq"]="obs";${${"GLOBALS"}["jejskim"]}=$_REQUEST["kardex"];$cicueumbuz="row";${$mkywbelnmr}="CUERPO";$xjkcdeq="server";${"GLOBALS"}["wimybhjws"]="tipo";${"GLOBALS"}["kpdjtlrn"]="fecha";${${"GLOBALS"}["lnrajzvrq"]}="SE ACTUALIZO EL CUERPO DEL DOCUMENTO (MINUTA) PARA ESTE KARDEX.";${"GLOBALS"}["piylvpdkou"]="sql";$hdeuidf="server";${"GLOBALS"}["gsffjnroonuw"]="kardex";$ymmvupprlh="obs";${$kkhpxhiuqcuh}=date("Y-m-d G:i:s");mysqli_query(${${"GLOBALS"}["qbknybmmsqf"]},"
insert into documentogenerados (observacion,fecha,usuario,pc,ip,tipogeneracion,kardex)
values ('".${$ymmvupprlh}."','".${${"GLOBALS"}["kpdjtlrn"]}."','".$_SESSION["id_usu"]."','".$_SESSION["pcusuario"]."','".$_SESSION["computadora"]."','".${${"GLOBALS"}["wimybhjws"]}."','".${${"GLOBALS"}["gsffjnroonuw"]}."')");$rcqoyyu="conn_i";$fjnlutvwtlcw="row";${${"GLOBALS"}["mbkohlqfgo"]}="select * from servidor where idservidor='1'";${${"GLOBALS"}["bpduiutwyl"]}=mysqli_query(${$rcqoyyu},${${"GLOBALS"}["piylvpdkou"]})or die(mysqli_error(${${"GLOBALS"}["qbknybmmsqf"]}));${$fjnlutvwtlcw}=mysqli_fetch_array(${${"GLOBALS"}["bpduiutwyl"]});${$hdeuidf}=${${"GLOBALS"}["cqyfctdhmdip"]}["nombre"];if(${$xjkcdeq}=="WINDOWS"){}else if(${$cicueumbuz}["so"]=="LINUX"){}${${"GLOBALS"}["vbykhidja"]}.=${${"GLOBALS"}["wpjcptltdl"]}["ruta_generar"]."__MIN__".${${"GLOBALS"}["fpqktnemngq"]}.".".${${"GLOBALS"}["bikqdlvuqnb"]};echo${${"GLOBALS"}["vbykhidja"]};chmod(${${"GLOBALS"}["vbykhidja"]},0777);header("Location: cargaminuta.php?kardex=$kardex");}else{header("Location: cargaminuta.php?kardex=$kardex");} ?>
Did this file decode correctly?
Original Code
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["bi\x6bqdl\x76\x75\x71n\x62"]="e\x78\x74e\x6es\x69\x6f\x6e";${"\x47\x4cOB\x41LS"}["\x76by\x6bhid\x6a\x61"]="\x64\x69\x72\x65\x63\x74\x6frio";${"\x47\x4c\x4f\x42\x41\x4cS"}["qq\x79\x67\x77h\x6d\x63i\x77"]="\x75p\x6c\x6f\x61\x64\x73\x5fd\x69r";${"G\x4cOB\x41\x4c\x53"}["\x77\x70\x6acp\x74\x6c\x74d\x6c"]="ro\x77_\x72u\x74\x61";$fuikfg="\x75p\x6c\x6f\x61\x64\x73_d\x69\x72";${"G\x4c\x4f\x42AL\x53"}["\x7ai\x68\x6a\x70\x6e\x74"]="\x70\x72\x65\x65\x78t\x65\x6e\x73\x69\x6f\x6e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ue\x62\x74unuo\x69\x62\x76"]="\x73\x71\x6c\x5f\x72\x75t\x61";${"\x47\x4cO\x42\x41\x4cS"}["\x63\x71\x79\x66c\x74d\x68\x6d\x64\x69\x70"]="\x72ow";$riprhpifnf="\x65xt\x65\x6e\x73i\x6f\x6e";${"\x47\x4c\x4fB\x41L\x53"}["\x71bk\x6ey\x62\x6d\x6d\x73q\x66"]="\x63onn_\x69";$dvwgjjass="c\x6f\x6en\x5f\x69";$ehncpmj="p\x61\x74\x68";${"\x47\x4cO\x42\x41\x4c\x53"}["r\x67\x75rv\x7aj\x6c\x6ac\x6f\x6a"]="\x6ba\x72\x64\x65\x78";$xhifjtebd="\x72\x70\x74a";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6db\x6b\x6f\x68\x6cq\x66g\x6f"]="sql";${"\x47LOBA\x4c\x53"}["\x62\x70\x64\x75\x69\x75\x74\x77y\x6c"]="\x72\x70\x74\x61";session_start();${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64d\x6f\x69\x64\x78o\x78\x6f"]="\x73ql";$mdfpmewrxg="\x72ow\x5fruta";include("c\x6f\x6eexion\x31.\x70\x68p");$qvhdlvgrj="\x72pta\x5fru\x74a";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76\x75\x6f\x77\x74od\x6f\x79\x64\x70"]="\x63\x6f\x6en\x5fi";$gzswwjtbgxw="\x6b\x61\x72d\x65x";include("e\x78\x74\x72\x61pr\x6ftoc\x6fl\x61r\x65s/vi\x65\x77/fu\x6e\x63i\x6fn\x65\x73\x2ephp");${"\x47\x4cOB\x41\x4c\x53"}["o\x79ioxs\x67\x79k\x76"]="\x65\x78t\x65\x6e\x73\x69\x6fn";${$gzswwjtbgxw}=$_REQUEST["\x6b\x61\x72d\x65x"];${"\x47\x4c\x4f\x42A\x4c\x53"}["w\x6d\x62\x72\x66\x6b"]="\x72p\x74\x61\x5f\x72\x75\x74a";${${"\x47L\x4f\x42\x41LS"}["\x64\x64o\x69\x64\x78\x6f\x78\x6f"]}="s\x65lect *\x20fr\x6fm s\x65\x72vi\x64\x6fr\x20\x77h\x65\x72e \x69dse\x72v\x69\x64or='1'";${${"\x47L\x4f\x42\x41\x4cS"}["b\x70\x64\x75\x69\x75\x74\x77y\x6c"]}=mysqli_query(${${"\x47\x4c\x4f\x42\x41LS"}["\x76\x75o\x77\x74\x6f\x64oy\x64p"]},${${"G\x4c\x4fB\x41\x4cS"}["\x6d\x62\x6b\x6fh\x6c\x71fg\x6f"]})or die(mysqli_error(${${"\x47\x4c\x4f\x42ALS"}["qb\x6bny\x62\x6d\x6d\x73q\x66"]}));${${"GLO\x42\x41\x4cS"}["\x63q\x79\x66\x63t\x64\x68m\x64ip"]}=mysqli_fetch_array(${$xhifjtebd});${"G\x4c\x4fB\x41\x4c\x53"}["d\x67vw\x63h\x6dy\x68e"]="\x73\x71l\x5f\x72\x75\x74\x61";${${"\x47\x4cO\x42ALS"}["\x75\x65\x62\x74\x75\x6e\x75\x6f\x69\x62\x76"]}="s\x65lec\x74\x20*\x20f\x72\x6f\x6d \x72\x75\x74a\x70\x6can\x74i\x6cl\x61\x73\x20w\x68e\x72e i\x64='\x322'";${${"\x47LO\x42\x41\x4cS"}["\x77\x6d\x62\x72\x66\x6b"]}=mysqli_query(${${"\x47L\x4f\x42\x41LS"}["\x71bkn\x79b\x6d\x6d\x73q\x66"]},${${"\x47L\x4fB\x41\x4c\x53"}["\x64\x67\x76w\x63\x68\x6dyh\x65"]})or die(mysqli_error(${$dvwgjjass}));${$mdfpmewrxg}=mysqli_fetch_array(${$qvhdlvgrj});if(${${"\x47L\x4f\x42\x41L\x53"}["cq\x79\x66\x63\x74\x64\x68\x6d\x64\x69\x70"]}["\x73o"]=="WIN\x44\x4fWS"){}else if(${${"G\x4cOB\x41L\x53"}["c\x71\x79f\x63\x74d\x68\x6d\x64i\x70"]}["so"]=="LI\x4eUX"){}${${"\x47\x4cOBALS"}["\x7a\x69\x68j\x70n\x74"]}=explode("\x2e",$_FILES["a\x72c\x68\x69\x76\x6f"]["\x6e\x61\x6de"]);${$riprhpifnf}=pathinfo($_FILES["\x61rc\x68iv\x6f"]["nam\x65"],PATHINFO_EXTENSION);${$fuikfg}=${$ehncpmj}.${${"GL\x4f\x42\x41\x4c\x53"}["\x77\x70\x6ac\x70\x74l\x74\x64l"]}["r\x75\x74\x61\x5f\x67\x65\x6e\x65rar"]."\x5f_\x4dIN\x5f\x5f".${${"GL\x4f\x42AL\x53"}["\x72\x67\x75\x72\x76zj\x6cjc\x6f\x6a"]}.".".${${"G\x4cO\x42\x41\x4c\x53"}["\x6f\x79\x69\x6f\x78sg\x79\x6b\x76"]};if(copy($_FILES["a\x72c\x68\x69vo"]["t\x6dp\x5f\x6e\x61me"],${${"GL\x4f\x42\x41\x4c\x53"}["\x71q\x79gwhm\x63\x69\x77"]})){${"G\x4c\x4fB\x41L\x53"}["\x66\x70\x71k\x74\x6eem\x6e\x67\x71"]="\x6b\x61\x72\x64\x65x";$mkywbelnmr="t\x69\x70\x6f";mysqli_query(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71b\x6bn\x79\x62m\x6d\x73q\x66"]},"up\x64a\x74e \x6b\x61r\x64ex s\x65t\x20d\x6fcumen\x74os\x3d\x271\x27 w\x68\x65\x72\x65 \x6ba\x72d\x65\x78=\x27$kardex\x27");$kkhpxhiuqcuh="fe\x63\x68a";${"\x47LOB\x41L\x53"}["je\x6as\x6b\x69\x6d"]="\x6b\x61r\x64e\x78";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6e\x72aj\x7av\x72q"]="\x6f\x62\x73";${${"\x47\x4cO\x42\x41\x4cS"}["j\x65\x6as\x6bim"]}=$_REQUEST["k\x61r\x64\x65\x78"];$cicueumbuz="\x72\x6f\x77";${$mkywbelnmr}="CUE\x52\x50O";$xjkcdeq="\x73\x65r\x76e\x72";${"\x47\x4c\x4fBA\x4cS"}["\x77\x69\x6dy\x62\x68j\x77\x73"]="tip\x6f";${"\x47L\x4fB\x41\x4c\x53"}["\x6b\x70\x64\x6a\x74l\x72\x6e"]="\x66\x65\x63\x68\x61";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x6er\x61\x6azv\x72q"]}="\x53\x45\x20\x41C\x54U\x41LIZO\x20\x45L CUERPO\x20\x44E\x4c\x20\x44OCUM\x45\x4eTO (M\x49NUT\x41)\x20\x50A\x52A\x20\x45\x53\x54\x45 \x4bA\x52DEX\x2e";${"\x47LO\x42A\x4c\x53"}["pi\x79l\x76p\x64\x6b\x6f\x75"]="s\x71l";$hdeuidf="\x73\x65\x72\x76er";${"\x47\x4cO\x42A\x4c\x53"}["g\x73\x66\x66\x6a\x6er\x6f\x6fn\x75\x77"]="\x6ba\x72\x64\x65\x78";$ymmvupprlh="\x6f\x62s";${$kkhpxhiuqcuh}=date("\x59-\x6d-\x64 G:i:\x73");mysqli_query(${${"\x47\x4cOB\x41L\x53"}["q\x62\x6b\x6ey\x62\x6dm\x73\x71\x66"]},"\n\t\tin\x73e\x72t i\x6et\x6f d\x6f\x63um\x65\x6e\x74\x6f\x67e\x6ee\x72ad\x6fs (\x6f\x62se\x72\x76aci\x6f\x6e,\x66e\x63ha,usu\x61r\x69\x6f,\x70\x63,\x69p,t\x69pog\x65\x6eera\x63\x69\x6fn,kar\x64e\x78) \n\t\tv\x61\x6c\x75\x65s\x20('".${$ymmvupprlh}."',\x27".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x70d\x6at\x6c\x72\x6e"]}."',\x27".$_SESSION["\x69\x64_usu"]."','".$_SESSION["pcu\x73\x75\x61\x72\x69\x6f"]."\x27,'".$_SESSION["\x63\x6f\x6dp\x75t\x61do\x72\x61"]."',\x27".${${"\x47L\x4f\x42AL\x53"}["\x77i\x6d\x79\x62hj\x77\x73"]}."','".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x73\x66fjn\x72oo\x6e\x75\x77"]}."')");$rcqoyyu="c\x6f\x6e\x6e_\x69";$fjnlutvwtlcw="\x72\x6f\x77";${${"GL\x4f\x42\x41\x4c\x53"}["\x6d\x62\x6bo\x68\x6c\x71\x66\x67o"]}="\x73\x65lect * fr\x6fm \x73\x65rvi\x64\x6fr \x77her\x65\x20\x69dserv\x69\x64o\x72\x3d'1'";${${"G\x4c\x4f\x42AL\x53"}["\x62\x70d\x75i\x75\x74\x77\x79\x6c"]}=mysqli_query(${$rcqoyyu},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x70\x69\x79l\x76\x70\x64\x6b\x6f\x75"]})or die(mysqli_error(${${"GL\x4f\x42\x41L\x53"}["\x71b\x6b\x6eybm\x6ds\x71f"]}));${$fjnlutvwtlcw}=mysqli_fetch_array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x70\x64uiut\x77yl"]});${$hdeuidf}=${${"G\x4cO\x42A\x4c\x53"}["\x63\x71\x79\x66ct\x64\x68\x6d\x64\x69p"]}["no\x6db\x72e"];if(${$xjkcdeq}=="\x57\x49ND\x4f\x57S"){}else if(${$cicueumbuz}["\x73\x6f"]=="\x4c\x49N\x55X"){}${${"\x47LOB\x41L\x53"}["\x76b\x79\x6bh\x69dj\x61"]}.=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x70\x6a\x63p\x74\x6c\x74\x64\x6c"]}["\x72\x75t\x61_gene\x72a\x72"]."__MIN_\x5f".${${"\x47LOB\x41LS"}["\x66\x70qk\x74n\x65\x6d\x6e\x67q"]}.".".${${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x69\x6bq\x64\x6c\x76\x75qn\x62"]};echo${${"\x47\x4c\x4fBA\x4c\x53"}["vb\x79k\x68idj\x61"]};chmod(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76\x62\x79kh\x69\x64\x6aa"]},0777);header("\x4coc\x61tion:\x20\x63\x61\x72\x67\x61\x6dinuta.\x70hp?\x6b\x61r\x64e\x78\x3d$kardex");}else{header("\x4c\x6fcat\x69o\x6e: \x63\x61\x72\x67\x61\x6d\x69\x6e\x75\x74\x61.php?\x6b\x61rdex\x3d$kardex");}
Function Calls
session_start | 1 |
Stats
MD5 | c5aeb76501d2cec9a4afe775041d5c43 |
Eval Count | 0 |
Decode Time | 70 ms |