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 IFDf6; eHpTQ: include "\x69\x6e\143\x2f\146\x6f\157\x74\145\x72\x2e\x70\x68\..
Decoded Output download
<?php
goto IFDf6;
eHpTQ:
include "inc/footer.php";
goto OCjkz;
lLlmJ:
foreach ($movimentacoes as $i) { ?>
<input id="id" name="id" type="hidden" value="<?php echo $i["id"]; ?>
"> <input id="datenow" name="datenow" style="height:0;visibility:hidden;width:0">
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="nome">Chamado</label> <input
id="nref" name="nref" class="input100" placeholder="11829" type="number" required value="<?php echo $i["nref"]; ?>
" oninput='this.value=this.value.replace(/[^0-9.]/g,"").replace(/(\..*?)\..*/g,"$1")'></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="unidade">Ttulo</label> <input
id="titulo" name="titulo" class="input100" placeholder="Ttulo do Chamado" required value="<?php echo $i["titulo"]; ?>
"></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="unidade">Ent. Fila</label> <input
id="dataat" name="dataat" class="input100" placeholder="02/02/2022 16:45" type="datetime-local" required value="<?php echo $i["dataat"]; ?>
"></div>
<?php $arr = array("STELECOM", "SGTO", "CONSRCIO");
$selected = $i["superint"]; ?>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="telm">Diretoria</label> <select
class="form-control" data-type="select" id="superint" name="superint" required style="width:100%">
<option value="" class="input100">Selecione</option>
<?php foreach ($arr as $value) {
if ($selected == $value) { ?>
<option value="<?php echo $selected; ?>
" class="input100" selected>
<?php echo $selected; ?>
</option>
<?php } else { ?>
<option value="<?php echo $value; ?>
" class="input100">
<?php echo $value; ?>
</option>
<?php }
} ?>
</select></div>
<?php $arr = array("INCIDENTE", "REQUISIO");
$selected = $i["tiposerv"]; ?>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="tiposerv">Servio</label> <select
class="form-control" data-type="select" id="tiposerv" name="tiposerv" required style="width:100%">
<?php foreach ($arr as $value) {
if ($selected == $value) { ?>
<option value="<?php echo $selected; ?>
" class="input100" selected>
<?php echo $selected; ?>
</option>
<?php } else { ?>
<option value="<?php echo $value; ?>
" class="input100" selected>
<?php echo $value; ?>
</option>
<?php }
} ?>
</select></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="telo">Descrio</label> <textarea
class="input100" id="descr" name="descr" placeholder="Descrio"
style="height:120px;padding-top:15px;resize:none" required type="text"><?php echo $i["descr"]; ?>
</textarea></div>
<?php $arr = array("DESKTOP", "FIREWALL", "VPN", "REDE", "SERVIDOR", "MONITOR", "TIME VOZ", "SISTEMAS", "TELEFONIA", "PERIFRICO"); ?>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="categ">Categoria</label> <select
class="form-control" data-type="select" id="categ" name="categ" required style="width:100%">
<?php foreach ($arr as $value) {
if ($selected == $value) { ?>
<option value="<?php $selected; ?>
" selected>
<?php echo $i["categ"]; ?>
</option>
<?php } else { ?>
<option value="<?php echo $value; ?>
">
<?php echo $value; ?>
</option>
<?php }
} ?>
</select></div>
<?php $clientes = get_itens("Cliente", "ORDER BY nome ASC");
$selected = $i["cliente"]; ?>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="cargo">Responsvel</label> <select
class="form-control field_required" data-type="select" id="resp" name="resp" required data-title="Responsvel">
<?php if ($clientes) { ?>
<option value=" ">Selecione</option>
<?php foreach ($clientes as $c) {
if ($selected == $c["nome"]) { ?>
<option value="<?php echo $c["id"]; ?>
" selected>
<?php echo $i["cliente"]; ?>
</option>
<?php } else { ?>
<option value="<?php echo $c["id"]; ?>
">
<?php echo $c["nome"]; ?>
</option>
<?php }
}
} ?>
</select></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="priori">Prioridade</label> <input
id="priori" name="priori" class="input100" placeholder="Prioridade" readonly value="<?php echo $i["priori"]; ?>
"></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="cargo">Soluo</label> <textarea
class="input100" id="solucaodesc" name="solucaodesc" placeholder="Soluo utilizada"
style="height:120px;padding-top:15px;resize:none" required><?php echo $i["solucaodesc"]; ?>
</textarea></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="obs">Observaes</label> <textarea
class="input100" id="obs" name="obs" placeholder="Observaes diversas"
style="height:120px;padding-top:15px;resize:none"><?php echo $i["obs"]; ?>
</textarea></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="pendd">Pendncia</label> <select
class="form-control" data-type="select" id="pendd" name="pendd" style="width:100%">
<option value="1" class="input100">SIM</option>
<option value="2" class="input100" selected>NO</option>
</select></div>
<div class="m-b-18 validate-input wrap-input100" style="display:none" id="divpend1"><label class="label-input100"
for="pend1">Pendncia</label> <input id="pend1" name="pend1" class="input100" placeholder="02/02/2022 16:45"
type="datetime-local"></div>
<div class="m-b-18 validate-input wrap-input100" style="display:none" id="divpend2"><label class="label-input100"
for="pend2">Fim Pend.</label> <input id="pend2" name="pend2" class="input100" placeholder="02/02/2022 16:45"
type="datetime-local"></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="datanorma">Normalizao</label>
<input id="datanorma" name="datanorma" class="input100" placeholder="02/02/2022 16:45" type="datetime-local"
required value="<?php echo $i["datanorma"]; ?>
"></div>
<?php }
goto nYj0x;
hvr9_:
if ($acc == "False") {
GoToNow("/index.php?action=noaccess");
} else {
$idd = $_GET["id"];
$movimentacoes = get_item("Chamados", $_GET["id"]);
$movimentacoes = get_itens_query("SELECT Chamados.id, cliente.nome as cliente, Chamados.nref as nref, Chamados.titulo as titulo, Chamados.dataat as dataat, Chamados.superint as superint, Chamados.tiposerv as tiposerv,chamados.descr AS descr, chamados.categ AS categ, chamados.resp AS resp, chamados.priori as priori, chamados.obs AS obs, chamados.datanorma AS datanorma, chamados.sla AS sla, chamados.solucaodesc AS solucaodesc FROM Chamados LEFT JOIN Cliente AS cliente on (Chamados.resp = Cliente.id) WHERE chamados.id = {$idd}");
}
goto xklJf;
w08Up:
$title = "Editar Chamado";
goto oy4_1;
hf6au:
$action = "update";
goto w08Up;
oy4_1:
include "inc/header.php";
goto hvr9_;
IFDf6:
$page = "dados";
goto hf6au;
xklJf:
if (!isset($_GET["id"])) {
GoToNow("/chamados.php");
}
goto DzNrg;
DzNrg: ?>
<div class="limiter">
<div class="container-login100">
<div class="wrap-login100">
<div class="login100-form-title" style="background-image:url(assets/img/bg-06.jpg)"><span
class="login100-form-title-1">Editar chamado</span></div>
<form action="chamados-update.php" class="login100-form validate-form" method="post">
<?php goto lLlmJ;
nYj0x: ?>
<div class="flex-sb-m p-b-30 w-full">
<div class="contact100-form-checkbox"><input id="ckb1" name="confirm" class="input-checkbox100"
type="checkbox" required> <label class="label-checkbox100" for="ckb1">Confirmar</label>
</div>
<div><a class="txt1" href="/chamados.php#active">Voltar</a></div>
</div>
<div class="container-login100-form-btn"><button class="login100-form-btn" type="submit">Enviar</button>
</div>
</form>
</div>
<?php goto eHpTQ;
OCjkz: ?>
Did this file decode correctly?
Original Code
<?php
goto IFDf6;
eHpTQ:
include "\x69\x6e\143\x2f\146\x6f\157\x74\145\x72\x2e\x70\x68\160";
goto OCjkz;
lLlmJ:
foreach ($movimentacoes as $i) { ?>
<input id="id" name="id" type="hidden" value="<?php echo $i["\x69\x64"]; ?>
"> <input id="datenow" name="datenow" style="height:0;visibility:hidden;width:0">
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="nome">Chamado</label> <input
id="nref" name="nref" class="input100" placeholder="11829" type="number" required value="<?php echo $i["\156\162\145\146"]; ?>
" oninput='this.value=this.value.replace(/[^0-9.]/g,"").replace(/(\..*?)\..*/g,"$1")'></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="unidade">Ttulo</label> <input
id="titulo" name="titulo" class="input100" placeholder="Ttulo do Chamado" required value="<?php echo $i["\x74\x69\164\x75\x6c\157"]; ?>
"></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="unidade">Ent. Fila</label> <input
id="dataat" name="dataat" class="input100" placeholder="02/02/2022 16:45" type="datetime-local" required value="<?php echo $i["\x64\x61\x74\141\141\164"]; ?>
"></div>
<?php $arr = array("\x53\124\x45\x4c\x45\103\x4f\115", "\x53\x47\124\117", "\103\x4f\116\x53\xc3\223\122\x43\111\x4f");
$selected = $i["\163\165\x70\x65\162\x69\156\164"]; ?>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="telm">Diretoria</label> <select
class="form-control" data-type="select" id="superint" name="superint" required style="width:100%">
<option value="" class="input100">Selecione</option>
<?php foreach ($arr as $value) {
if ($selected == $value) { ?>
<option value="<?php echo $selected; ?>
" class="input100" selected>
<?php echo $selected; ?>
</option>
<?php } else { ?>
<option value="<?php echo $value; ?>
" class="input100">
<?php echo $value; ?>
</option>
<?php }
} ?>
</select></div>
<?php $arr = array("\111\116\x43\111\104\x45\116\x54\105", "\122\x45\121\125\x49\123\x49\303\207\xc3\x83\x4f");
$selected = $i["\x74\151\x70\157\163\x65\x72\166"]; ?>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="tiposerv">Servio</label> <select
class="form-control" data-type="select" id="tiposerv" name="tiposerv" required style="width:100%">
<?php foreach ($arr as $value) {
if ($selected == $value) { ?>
<option value="<?php echo $selected; ?>
" class="input100" selected>
<?php echo $selected; ?>
</option>
<?php } else { ?>
<option value="<?php echo $value; ?>
" class="input100" selected>
<?php echo $value; ?>
</option>
<?php }
} ?>
</select></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="telo">Descrio</label> <textarea
class="input100" id="descr" name="descr" placeholder="Descrio"
style="height:120px;padding-top:15px;resize:none" required type="text"><?php echo $i["\144\145\x73\x63\162"]; ?>
</textarea></div>
<?php $arr = array("\x44\x45\123\x4b\124\x4f\x50", "\106\111\x52\x45\x57\x41\114\114", "\x56\x50\x4e", "\122\105\104\x45", "\x53\105\122\x56\x49\104\117\x52", "\x4d\x4f\x4e\111\x54\117\x52", "\124\111\115\105\x20\126\117\x5a", "\x53\111\x53\x54\x45\115\101\x53", "\124\105\x4c\105\106\x4f\x4e\x49\101", "\120\105\122\111\106\xc3\x89\122\x49\x43\x4f"); ?>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="categ">Categoria</label> <select
class="form-control" data-type="select" id="categ" name="categ" required style="width:100%">
<?php foreach ($arr as $value) {
if ($selected == $value) { ?>
<option value="<?php $selected; ?>
" selected>
<?php echo $i["\x63\141\x74\145\x67"]; ?>
</option>
<?php } else { ?>
<option value="<?php echo $value; ?>
">
<?php echo $value; ?>
</option>
<?php }
} ?>
</select></div>
<?php $clientes = get_itens("\x43\154\x69\145\156\x74\x65", "\x4f\122\104\x45\122\40\102\x59\40\x6e\157\x6d\x65\40\x41\123\x43");
$selected = $i["\143\154\x69\x65\x6e\164\145"]; ?>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="cargo">Responsvel</label> <select
class="form-control field_required" data-type="select" id="resp" name="resp" required data-title="Responsvel">
<?php if ($clientes) { ?>
<option value=" ">Selecione</option>
<?php foreach ($clientes as $c) {
if ($selected == $c["\x6e\x6f\155\x65"]) { ?>
<option value="<?php echo $c["\151\144"]; ?>
" selected>
<?php echo $i["\143\154\x69\x65\x6e\164\145"]; ?>
</option>
<?php } else { ?>
<option value="<?php echo $c["\151\144"]; ?>
">
<?php echo $c["\x6e\x6f\155\x65"]; ?>
</option>
<?php }
}
} ?>
</select></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="priori">Prioridade</label> <input
id="priori" name="priori" class="input100" placeholder="Prioridade" readonly value="<?php echo $i["\160\162\151\x6f\162\x69"]; ?>
"></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="cargo">Soluo</label> <textarea
class="input100" id="solucaodesc" name="solucaodesc" placeholder="Soluo utilizada"
style="height:120px;padding-top:15px;resize:none" required><?php echo $i["\163\157\154\165\143\141\157\144\x65\x73\x63"]; ?>
</textarea></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="obs">Observaes</label> <textarea
class="input100" id="obs" name="obs" placeholder="Observaes diversas"
style="height:120px;padding-top:15px;resize:none"><?php echo $i["\157\142\163"]; ?>
</textarea></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="pendd">Pendncia</label> <select
class="form-control" data-type="select" id="pendd" name="pendd" style="width:100%">
<option value="1" class="input100">SIM</option>
<option value="2" class="input100" selected>NO</option>
</select></div>
<div class="m-b-18 validate-input wrap-input100" style="display:none" id="divpend1"><label class="label-input100"
for="pend1">Pendncia</label> <input id="pend1" name="pend1" class="input100" placeholder="02/02/2022 16:45"
type="datetime-local"></div>
<div class="m-b-18 validate-input wrap-input100" style="display:none" id="divpend2"><label class="label-input100"
for="pend2">Fim Pend.</label> <input id="pend2" name="pend2" class="input100" placeholder="02/02/2022 16:45"
type="datetime-local"></div>
<div class="m-b-18 validate-input wrap-input100"><label class="label-input100" for="datanorma">Normalizao</label>
<input id="datanorma" name="datanorma" class="input100" placeholder="02/02/2022 16:45" type="datetime-local"
required value="<?php echo $i["\x64\141\164\141\x6e\157\162\155\x61"]; ?>
"></div>
<?php }
goto nYj0x;
hvr9_:
if ($acc == "\x46\x61\154\163\145") {
GoToNow("\x2f\151\x6e\x64\145\x78\x2e\x70\150\160\x3f\141\143\164\x69\x6f\x6e\x3d\x6e\157\141\143\x63\x65\163\x73");
} else {
$idd = $_GET["\x69\144"];
$movimentacoes = get_item("\103\150\x61\155\141\x64\x6f\163", $_GET["\x69\144"]);
$movimentacoes = get_itens_query("\x53\x45\114\105\103\x54\x20\103\150\x61\x6d\x61\144\157\163\x2e\x69\144\x2c\x20\143\154\151\x65\156\164\145\56\x6e\157\155\x65\40\141\x73\x20\143\x6c\151\x65\x6e\x74\145\x2c\40\103\150\x61\x6d\x61\144\157\x73\56\156\x72\145\x66\40\x61\163\40\156\162\145\x66\54\x20\x43\150\x61\155\x61\144\157\x73\x2e\164\x69\x74\165\154\157\40\x61\x73\40\x74\151\x74\165\x6c\157\54\x20\103\x68\x61\155\x61\x64\157\163\56\x64\x61\x74\x61\141\x74\x20\141\x73\x20\x64\141\x74\141\141\164\54\x20\103\150\141\x6d\141\144\x6f\163\x2e\x73\165\160\x65\162\x69\156\x74\x20\141\163\40\163\x75\160\x65\162\151\x6e\x74\54\x20\103\x68\141\x6d\141\x64\157\x73\x2e\164\x69\160\x6f\x73\145\162\166\40\141\163\40\164\151\160\157\163\x65\x72\166\54\x63\x68\x61\155\x61\x64\x6f\x73\x2e\x64\x65\163\143\162\40\x41\x53\x20\144\145\163\x63\162\x2c\40\143\x68\x61\155\141\x64\x6f\163\56\x63\141\164\x65\147\x20\101\123\40\143\141\x74\x65\147\54\40\x63\150\x61\155\141\x64\157\163\56\162\145\x73\x70\x20\x41\x53\x20\x72\145\163\160\x2c\40\x63\150\141\x6d\141\x64\157\x73\x2e\x70\x72\151\157\x72\151\40\x61\x73\x20\160\162\x69\157\x72\x69\x2c\x20\x63\x68\141\x6d\x61\144\157\163\x2e\157\x62\163\40\101\123\40\157\142\163\x2c\x20\143\x68\141\155\x61\x64\157\x73\56\x64\x61\164\x61\x6e\157\x72\x6d\141\x20\101\x53\x20\x64\141\164\x61\x6e\157\162\155\x61\54\40\143\x68\x61\x6d\x61\144\157\x73\56\163\154\141\x20\101\x53\40\x73\154\x61\54\x20\143\x68\141\x6d\x61\144\x6f\163\x2e\163\157\x6c\165\x63\x61\x6f\144\x65\163\143\40\x41\123\40\163\157\x6c\x75\x63\x61\157\x64\x65\163\x63\x20\106\122\x4f\115\x20\x43\150\x61\155\141\x64\157\x73\40\x4c\x45\106\x54\x20\112\x4f\x49\116\40\x43\154\x69\145\156\164\145\40\x41\x53\x20\143\154\x69\x65\x6e\164\x65\40\157\x6e\x20\50\103\x68\141\x6d\x61\x64\157\x73\56\x72\145\x73\160\x20\75\40\103\154\151\x65\x6e\x74\x65\56\151\x64\51\40\x57\110\105\x52\x45\x20\x63\150\x61\x6d\x61\x64\x6f\x73\56\151\144\x20\75\40{$idd}");
}
goto xklJf;
w08Up:
$title = "\x45\144\x69\x74\141\162\40\103\150\x61\x6d\141\144\x6f";
goto oy4_1;
hf6au:
$action = "\x75\160\144\141\x74\x65";
goto w08Up;
oy4_1:
include "\151\156\143\57\x68\x65\141\x64\145\x72\56\160\x68\160";
goto hvr9_;
IFDf6:
$page = "\144\141\144\157\163";
goto hf6au;
xklJf:
if (!isset($_GET["\151\144"])) {
GoToNow("\57\143\x68\x61\155\141\x64\157\x73\x2e\160\x68\160");
}
goto DzNrg;
DzNrg: ?>
<div class="limiter">
<div class="container-login100">
<div class="wrap-login100">
<div class="login100-form-title" style="background-image:url(assets/img/bg-06.jpg)"><span
class="login100-form-title-1">Editar chamado</span></div>
<form action="chamados-update.php" class="login100-form validate-form" method="post">
<?php goto lLlmJ;
nYj0x: ?>
<div class="flex-sb-m p-b-30 w-full">
<div class="contact100-form-checkbox"><input id="ckb1" name="confirm" class="input-checkbox100"
type="checkbox" required> <label class="label-checkbox100" for="ckb1">Confirmar</label>
</div>
<div><a class="txt1" href="/chamados.php#active">Voltar</a></div>
</div>
<div class="container-login100-form-btn"><button class="login100-form-btn" type="submit">Enviar</button>
</div>
</form>
</div>
<?php goto eHpTQ;
OCjkz: ?>
Function Calls
None |
Stats
MD5 | ae07b430c5e964758a5458040c90f6f0 |
Eval Count | 0 |
Decode Time | 52 ms |