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 ${"GLO\x42\x41\x4cS"}["n\x62\x78z\x62\x6b"]="ms\x67n\x6f";${"\x47\x4cOB\x41\x4cS"}["..
Decoded Output download
<?php ${"GLOBALS"}["nbxzbk"]="msgno";${"GLOBALS"}["wioopsb"]="msg";include("userHeader.php");echo "
<script type=\"text/javascript">
function readURL(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function (e) {
\$('#blah')
.attr('src', e.target.result);
};
reader.readAsDataURL(input.files[0]);
}
}
</script>
<div class=\"content-wrap">
<div class=\"main\">
<div class=\"col-md-12">
<div class=\"container-fluid\">
<div class="row">
<div class="page-header">
<div class="page-title">
<h1>Votercard Auto</h1>
</div>
</div>
</div>
<!-- /# row -->
<section id=\"main-content">
<div class=\"row\">
";if(${${"GLOBALS"}["wioopsb"]}!=""){echo " <div style="width=100%" class=\"row cvmsgok">";echo${${"GLOBALS"}["wioopsb"]};echo "</div>
";}elseif(${${"GLOBALS"}["nbxzbk"]}!=""){echo " <div style="width=100%\" class=\"row cvmsgno\">";${"GLOBALS"}["ekcumwnctdje"]="msgno";echo${${"GLOBALS"}["ekcumwnctdje"]};echo "</div>
";}echo " <form method="post\" name="form" autocomplete="off\" enctype=\"multipart/form-data" action="voterdetail.php\" style="width:100%\">
<div class="row dgnform">
<div class=\"col-md-8 col-sm-12 col-xs-12\">
<div class=\"row">
<div class=\"col-sm-4 col-xs-20\">
<label>Epic No.</label>
<div class="form-group">
<input class="form-control\" name=\"epicno\" type="text" placeholder=\"Enter Epic No" required="">
</div>
</div>
</div>
<div class="row\">
<div class="col-sm-4 col-xs-20\">
<div class="image-preview" id="imagePreview">
<img class=\"image-preview__image" id=\"blah\" src=\"\" />
</div>
</div>
</div>
<label>Upload Photo </label>
<input type='file' id=\"filedata\" name=\"filedata" onchange="readURL(this);\" />
</div>
<br><br>
<div class="row" style="margin-left:35px; margin-top:15px;\">
<label> </label>
<div class="form-group\">
<input type=\"submit" id=\"submit\" name=\"submit\" class="btn btn-success btn-block " style="border-radius: 30px;
padding:7px 20px;background-color:#28a745;border:1px solid orange; font-size: 15px;\" value=\"Submit\" </input>
<div id="result"></div>
<br><br>
<script>
\$(document).ready(
function(){
\$('input:file').change(
function(){
if (\$(this).val()) {
\$('input:submit').attr('disabled',false);
}
}
);
});
</script>
</div>
</div>
</div>
<!-- /# row -->
</section>
</div>
</div>
</div>
</div>
<!------- For popup video------------->
<!------- For popup video------------->
";include("userFooter.php");echo "
</script>
";
?>
Did this file decode correctly?
Original Code
<?php ${"GLO\x42\x41\x4cS"}["n\x62\x78z\x62\x6b"]="ms\x67n\x6f";${"\x47\x4cOB\x41\x4cS"}["\x77\x69\x6f\x6f\x70s\x62"]="\x6ds\x67";include("us\x65\x72\x48ea\x64\x65\x72\x2ep\x68p");echo "\n\n<scri\x70\x74\x20\x74\x79\x70\x65=\"\x74e\x78t/\x6aa\x76a\x73\x63r\x69\x70t\x22>\n \x20 \x20\x20f\x75n\x63tio\x6e\x20\x72\x65\x61\x64URL(i\x6e\x70u\x74) {\n \x20\x20\x20 \x20\x20\x20 \x69\x66\x20(\x69\x6ep\x75\x74\x2e\x66\x69\x6c\x65\x73 \x26\x26 i\x6epu\x74.\x66il\x65\x73[0]) {\n\x20 \x20 \x20 \x20 \x20 \x76\x61r\x20r\x65a\x64e\x72 = \x6e\x65w \x46il\x65R\x65ader()\x3b\n\n\x20\x20 \x20 \x20 \x20\x20 \x20 \x20\x72\x65\x61der\x2eo\x6e\x6co\x61d \x3d f\x75ncti\x6f\x6e (\x65)\x20{\n\x20\x20 \x20\x20 \x20 \x20\x20\x20 \x20\x20 \x20 \x20\$(\x27\x23\x62\x6ca\x68\x27)\n \x20\x20\x20\x20\x20\x20 \x20\x20 \x20\x20 \x20 \x20 \x20.\x61t\x74r('\x73rc\x27,\x20e.\x74\x61\x72\x67\x65t\x2er\x65\x73u\x6ct)\x3b\n\x20\x20 \x20\x20 \x20 }\x3b\n\n \x20 \x20\x20 \x20\x20\x20\x20 \x20\x20r\x65a\x64\x65\x72\x2e\x72\x65ad\x41\x73Data\x55\x52L(\x69n\x70\x75\x74.fi\x6ce\x73[\x30])\x3b\n \x20\x20 \x20 \x20 \x20\x20}\n \x20 \x20 }\n</s\x63\x72\x69\x70\x74>\n\n \x20 \x3c\x64i\x76 c\x6c\x61\x73s\x3d\"c\x6f\x6et\x65nt-\x77\x72\x61p\x22\x3e\n \x20 \x20 \x20\x20 <div\x20c\x6ca\x73s=\"\x6d\x61in\"\x3e\n\t\t\t\x20 \x20\x20<\x64\x69\x76\x20c\x6ca\x73\x73=\"\x63o\x6c-\x6d\x64-1\x32\x22>\n\t\t\t\t\t<d\x69v\x20\x63las\x73\x3d\"\x63\x6fn\x74\x61\x69\x6eer-f\x6cu\x69\x64\"\x3e\n\t\t\t\t\t\t<\x64iv\x20\x63la\x73\x73\x3d\x22\x72\x6f\x77\x22>\n\t\t\t\t\t\t\t<div\x20\x63lass=\x22\x70age-\x68e\x61d\x65r\x22>\n\t\t\t\t\t\t\t\t\x3c\x64i\x76\x20\x63la\x73\x73=\x22pag\x65-\x74\x69tl\x65\x22>\n\t\t\t\t\t\t\t\t\t\x3ch\x31\x3e\x56\x6ft\x65r\x63ar\x64\x20\x41\x75\x74o</h\x31\x3e\n\t\t\t\t\t\t\t\t\x3c/\x64\x69v>\n\t\t\t\t\t\t\t\x3c/\x64i\x76>\n\t\t\t\t\t\t</\x64\x69\x76>\n\n\t\t\t\t\t\t\x3c\x21-- /\x23 \x72\x6f\x77 -->\n\t\t\t\t\t\t<s\x65\x63\x74\x69on\x20id=\"m\x61\x69\x6e-\x63ont\x65nt\x22\x3e\n\t\t\t\t\t\t\t<\x64\x69v \x63l\x61s\x73\x3d\"\x72\x6f\x77\">\n\t\t\t\t\t\t\t \x20\x20\x20";if(${${"\x47\x4cO\x42\x41LS"}["\x77i\x6fo\x70\x73\x62"]}!=""){echo "\t\t\t\t\t\t\t\t\t\x3c\x64i\x76\x20\x73\x74\x79\x6ce=\x22widt\x68=1\x30\x30\x25\x22\x20\x20\x63\x6c\x61\x73s\x3d\"\x72\x6fw cv\x6d\x73\x67\x6fk\x22>";echo${${"G\x4c\x4fBA\x4cS"}["\x77\x69\x6f\x6f\x70s\x62"]};echo "</\x64iv\x3e\n\t\t\t\t\t\t\t\t";}elseif(${${"\x47\x4c\x4fB\x41\x4cS"}["nb\x78\x7a\x62\x6b"]}!=""){echo "\t\t\t\t\t\t\t\t\t<d\x69v\x20style\x3d\x22\x77\x69d\x74\x68\x3d100%\" \x20cl\x61s\x73=\"\x72\x6fw\x20c\x76m\x73g\x6e\x6f\"\x3e";${"\x47\x4cO\x42AL\x53"}["\x65k\x63\x75\x6d\x77\x6e\x63\x74\x64\x6a\x65"]="m\x73\x67\x6e\x6f";echo${${"\x47\x4c\x4f\x42\x41LS"}["\x65kc\x75\x6dwnct\x64\x6a\x65"]};echo "</\x64iv>\n\t\t\t\t\t\t\t\t";}echo "\t\t\t\t\t\t\t \t<\x66or\x6d\x20m\x65\x74ho\x64\x3d\x22\x70\x6fst\" n\x61\x6de=\x22\x66\x6f\x72\x6d\x22 a\x75t\x6fc\x6f\x6d\x70\x6ce\x74e\x3d\x22\x6ff\x66\"\x20 \x65nctype\x3d\"m\x75\x6c\x74\x69\x70\x61\x72t/fo\x72\x6d-da\x74\x61\x22\x20\x61\x63\x74\x69on\x3d\x22v\x6ft\x65r\x64et\x61il\x2ephp\" style=\x22wid\x74\x68:\x31\x30\x30\x25\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t \x20 \x20\x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20\x20 \x20\x20\x3cd\x69v \x63\x6ca\x73s=\x22\x72ow \x64\x67nfo\x72\x6d\x22>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x20 \x20<\x64\x69v cl\x61\x73\x73\x3d\"c\x6fl-\x6dd-\x38\x20c\x6f\x6c-\x73\x6d-\x312 col-\x78\x73-\x312\"\x3e\n\t\t\t\t\t\t\t\t\t\t\t\x3cd\x69\x76\x20c\x6cass=\"ro\x77\x22>\n \x20\x20\x20\x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x3cdiv \x63\x6ca\x73\x73\x3d\"\x63\x6f\x6c-\x73m-\x34 col-x\x73-\x32\x30\">\n \x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20\x20\x20\x20\x20 \x20 \x20\x20\x20 \x20\x20\x20 \x20 \x20\x3c\x6cab\x65\x6c>\x45pi\x63\x20N\x6f\x2e\x3c/\x6cab\x65l>\n \x20\x20 \x20 \x20 \x20\x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20\x20\x20 \x3c\x64\x69v \x63\x6cas\x73=\x22f\x6fr\x6d-g\x72oup\x22\x3e\n \x20\x20 \x20\x20 \x20\x20\x20 \x20\x20 \x20 \x20 \x20\x20\x20 \x20\x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20 \x20 \x20\x3c\x69n\x70ut class=\x22f\x6fr\x6d-\x63\x6f\x6et\x72o\x6c\"\x20nam\x65=\"epic\x6e\x6f\" \x20\x74yp\x65\x3d\x22text\x22 pl\x61\x63\x65holde\x72\x3d\"\x45\x6e\x74\x65\x72\x20Ep\x69\x63 No\x22\x20r\x65q\x75ir\x65d=\x22\x22>\n \x20\x20\x20\x20 \x20\x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20\x20 \x20 \x20\x20 \x20\x20 \x20\x20\x20\x20\x20 \x20 \x20 </\x64\x69v\x3e\n \x20 \x20\x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x20 \x20\x20 \x20 \x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x3c/\x64i\x76>\n\x20 \x20\x20\x20\x20 \x20\x20 \x20\x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20\x20 \x20\x20\x20 </div>\n\x20\x20\x20 \x20\x20 \x20\x20 \x20\x20 \x20\x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20\x20 \n \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20\x20\x20 \x20\x20\n\t\t\t\t\t\t\t\n\x20\x20\x20\x20 \x20 \x20\x20\x20 \x20\x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x3cdi\x76\x20\x63\x6c\x61ss\x3d\x22r\x6f\x77\"\x3e\n \x20 \x20\x20 \x20\x20\x20\x20\x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x3c\x64\x69v class=\x22c\x6fl-sm-4\x20\x63\x6f\x6c-xs-\x320\">\n \x20\x20\x20 \x20 \x20 \x20 \x20 \x20\x20\x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20 \x20 \x20 \x20 \x20 \x20\x20\x20 \t\t\x3c\x64i\x76\x20cl\x61ss\x3d\x22\x69ma\x67\x65-\x70\x72ev\x69e\x77\x22 \x69\x64\x3d\x22i\x6dage\x50re\x76iew\x22>\n\x20\x20 \x20\x20 \x20\x20 \x20 \x20 \x20 \x20\x20\x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20\x20\x20 \x20\x20\x20\x20\x20\x20\x20 \x20 \t\t\x3ci\x6dg c\x6c\x61ss\x3d\"imag\x65-\x70\x72\x65view\x5f_i\x6d\x61\x67\x65\x22\x20\x69\x64=\"bl\x61h\" \x73r\x63=\"\"\x20/\x3e\n \x20 \x20\x20\x20 \x20 \x20\x20\x20 \x20\x20\x20\x20 \x20 \x20\x20\x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20\x20\x20\x20 \t\t</d\x69v\x3e\n\t\t\t\t\t\t\t\x3c/\x64i\x76>\n\t\t\t\t\t\t \x20 \x3c/\x64iv>\n \x20\x20 \x20\x20 \x20\x20 \x20 \x20 \x20\x20\x20 \x20\x20\x20\x20 \x20 \x20\x20\x20<\x6c\x61be\x6c>Upl\x6f\x61\x64 P\x68o\x74o \x3c/label>\n\x20\x20\x20\x20 \x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20\x20\x20\x20 \x20 \x20 \x20\x20 <in\x70u\x74 typ\x65\x3d\x27file\x27 \x69\x64\x3d\"fi\x6c\x65d\x61\x74\x61\" \x6ea\x6d\x65\x3d\"\x66\x69\x6c\x65data\x22 \x6f\x6ech\x61\x6ege\x3d\x22read\x55RL(t\x68is);\" />\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t</\x64\x69v\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\x3c\x62\x72\x3e\x3cb\x72\x3e\n\t\t\t\t\t\t\t\t\t\t\x20\x20 \x20<di\x76\x20c\x6cass=\x22\x72ow\x22 st\x79l\x65=\x22m\x61r\x67i\x6e-\x6c\x65\x66t:35p\x78;\x20margin-\x74o\x70:15\x70x\x3b\"\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t\x3clab\x65\x6c>\x26\x6ebs\x70;\x3c/\x6ca\x62\x65l>\n\t\t\t\t\t\t\t\t\t\t\t\t\x3cdi\x76 \x63las\x73\x3d\x22\x66\x6frm-\x67r\x6f\x75p\"> \x20 \x20 \x20\x20\x20 \x20\x20\x20\x20\x20\n\t\t\t\t\t\t\t\t\t\t\t\t \x20\x20<\x69n\x70\x75t\x20\x74\x79\x70e\x3d\"su\x62m\x69t\x22 \x69d=\"su\x62\x6d\x69t\" \x6e\x61\x6de=\"\x73\x75\x62m\x69\x74\" cla\x73\x73=\x22\x62tn \x62\x74\x6e-\x73\x75cce\x73\x73 \x62t\x6e-b\x6co\x63\x6b\x20\x22\x20\x73\x74\x79l\x65=\x22b\x6f\x72de\x72-\x72a\x64i\x75s:\x20\x330\x70\x78;\n\x20 \x20\x20\x70ad\x64\x69n\x67:7\x70\x78\x2020\x70\x78\x3bba\x63\x6b\x67r\x6f\x75\x6ed-c\x6flo\x72:\x2328\x61\x37\x345\x3bb\x6frde\x72:\x31\x70x \x73o\x6cid \x6f\x72an\x67\x65; \x66ont-si\x7ae: \x31\x35px\x3b\" \x76\x61lu\x65\x3d\"\x53\x75\x62\x6d\x69\x74\" </\x69\x6ep\x75t>\n\t\x3c\x64i\x76 \x69d=\x22r\x65su\x6ct\x22>\x3c/div>\n<\x62\x72\x3e<b\x72>\n\n\n\t\n\t\x3c\x73\x63\x72\x69\x70t\x3e\n\t\n\t\$(\x64\x6fcu\x6de\x6et).\x72e\x61d\x79(\n\x20 \x66\x75\x6e\x63t\x69\x6f\x6e(){\n\x20 \x20 \x20 \x20\$('\x69np\x75\x74:file')\x2e\x63\x68a\x6e\x67e(\n \x20 \x20 \x20 \x20\x66\x75nc\x74i\x6f\x6e(){\n \x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20\x20\x69f\x20(\$(thi\x73)\x2eval())\x20{\n \x20 \x20\x20\x20\x20 \x20\x20\x20 \x20\x20\$(\x27in\x70\x75\x74:su\x62mi\x74').a\x74\x74r(\x27\x64\x69\x73\x61b\x6ce\x64\x27,f\x61\x6cse);\x20\n \x20 \x20\x20 \x20\x20\x20 \x20 \x20 }\x20\n\x20 \x20 \x20\x20\x20 \x20\x20}\n\x20\x20 \x20\x20 \x20 )\x3b\n\x20\x20\x20 });\n\t</sc\x72i\x70t\x3e\x20\n \x20\x20 \x20\x20\x20\x20\x20 \x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20\x20\x3c/div\x3e\n \x20 \x20\x20\x20\x20 \x20 \x20 \x20\x20\x20\x20 \x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20\x20 \x20\x20 \x3c/\x64iv>\n \x20 \x20\x20\x20 \x20 \x20 \x20 \x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20\x20 \x20\x3c/\x64\x69\x76\x3e\n\t\t\t\t\t\t\t\x3c\x21-- /\x23\x20row\x20--\x3e\n\t\t\t\t\t\t\x3c/s\x65\x63\x74\x69\x6f\x6e>\n\t\t\t\t\t\x3c/di\x76\x3e\n\t\t\t\t</d\x69\x76>\n\x20\x20 \x20\x20\x20 \x20\x20 \x3c/di\x76\x3e\n\x20 \x20 \x20\x3c/\x64i\x76\x3e\n\n\n\n\x3c\x21------- F\x6f\x72\x20p\x6fpu\x70\x20\x76i\x64\x65o------------->\n\n\n<!-------\x20F\x6fr po\x70u\x70 v\x69d\x65\x6f-------------\x3e\n";include("\x75s\x65\x72\x46o\x6f\x74\x65r.ph\x70");echo "\n </\x73c\x72ipt>\n";
?>
Function Calls
None |
Stats
MD5 | daefe7a129e235fe7c7856f2dc739ad6 |
Eval Count | 0 |
Decode Time | 45 ms |