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 echo "\x3c!D\x4fCT\x59\x50E html\x3e\n\x3c\x68t\x6d\x6c>\n\n\x3ch\x65\x61d\x3e\n\n\x..
Decoded Output download
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DISHUB PKB PURWOREJO</title>
<!-- Core CSS - Include with every page -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="font-awesome/css/font-awesome.css" rel="stylesheet">
<!-- SB Admin CSS - Include with every page -->
<link href="css/sb-admin.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div style="text-align:center;">
<img src="images/dishub2.png">
</div>
<div class="login-panel panel panel-default" style="margin-top:10px;">
<div class="panel-heading">
<h3 class="panel-title">SIM PKB DISHUB PURWOREJO</h3>
</div>
<div class="panel-body">
<form role="form" action="home.php">
<fieldset>
<div class="form-group">
<input class="form-control" placeholder="username" name="username" id="username" autofocus>
</div>
<div class="form-group">
<input class="form-control" placeholder="Password" name="password" id="password" type="password">
</div>
<div class="checkbox">
<label>
<input name="remember" type="checkbox" value="Remember Me">Remember Me
</label>
</div>
<!-- Change this to a button or input when using this as a form -->
<a href="javascript:void(0)" class="btn btn-lg btn-primary btn-block" id="login"><img src="images/login.png"> Login</a>
</fieldset>
</form>
<br>
<div class="alert alert-danger alert-dismissable" id="peringatan" style="text-align:center;display:none;">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Core Scripts - Include with every page -->
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
<!-- SB Admin Scripts - Include with every page -->
<script src="js/sb-admin.js"></script>
<script type="text/javascript">
\$(document).ready(function(){
\$('#login').click(function(){
var username = \$('#username').val();
var password = \$('#password').val();
var peringatan = \$('#peringatan');
if(username==''){
peringatan.show();
peringatan.html('Username belum diisi !!!');
peringatan.delay(3000).fadeOut('slow');
}else if(password==''){
peringatan.show();
peringatan.html('Password belum diisi !!!');
peringatan.delay(3000).fadeOut('slow');
}else{
peringatan.hide();
\$.ajax({
url: "cek.php",
type : 'POST',
data: "op=masuk&username="+username+"&password="+password,
cache: false,
success: function(msg){
if(msg=='0'){
peringatan.show();
peringatan.html('Username atau Password Salah !!!');
peringatan.delay(3000).fadeOut('slow');
}else if(msg=='1'){
window.location = 'home.php';
}else{
peringatan.show();
peringatan.html(msg);
peringatan.delay(3000).fadeOut('slow');
}
}
});
}
});
});
</script>
</body>
</html>
Did this file decode correctly?
Original Code
<?php echo "\x3c!D\x4fCT\x59\x50E html\x3e\n\x3c\x68t\x6d\x6c>\n\n\x3ch\x65\x61d\x3e\n\n\x20\x20\x20\x20<\x6de\x74a\x20c\x68ars\x65t\x3d\x22u\x74\x66-\x38\x22\x3e\n\x20 \x20<\x6det\x61 n\x61me\x3d\"v\x69ew\x70\x6f\x72\x74\x22 \x63o\x6e\x74e\x6e\x74=\"\x77\x69\x64\x74h\x3dde\x76\x69\x63e-\x77i\x64\x74h,\x20in\x69\x74\x69al-\x73c\x61le\x3d1\x2e0\"\x3e\n\n\x20\x20 <title\x3e\x44I\x53H\x55\x42\x20\x50KB \x50\x55R\x57\x4f\x52\x45\x4aO</\x74\x69\x74\x6ce>\n\n\x20\x20 \x3c\x21-- \x43o\x72\x65\x20\x43\x53\x53\x20-\x20Inc\x6cude with \x65\x76e\x72y\x20\x70\x61\x67e\x20--\x3e\n\x20\x20 \x20\x3cli\x6ek h\x72e\x66=\x22\x63ss/\x62\x6f\x6f\x74\x73\x74\x72a\x70.m\x69n.\x63s\x73\"\x20\x72\x65l=\x22\x73t\x79le\x73heet\">\n\x20\x20 \x3cli\x6ek\x20h\x72ef=\x22fo\x6e\x74-awes\x6fm\x65/css/f\x6fnt-aweso\x6d\x65.css\" rel=\x22st\x79le\x73hee\x74\"\x3e\n\n \x20 \x3c\x21--\x20\x53B \x41d\x6din\x20C\x53S\x20- Incl\x75\x64\x65 \x77\x69\x74h\x20eve\x72\x79 \x70\x61\x67e\x20--\x3e\n\x20\x20 <li\x6e\x6b\x20\x68\x72ef\x3d\"\x63ss/sb-\x61\x64min.c\x73\x73\x22\x20\x72e\x6c\x3d\x22sty\x6c\x65\x73\x68\x65\x65\x74\x22\x3e\n\t\n\t";echo "\n\n</hea\x64\x3e\n\n\x3c\x62\x6f\x64\x79>\n\n \x20\x20\x3c\x64i\x76 \x63la\x73\x73\x3d\"\x63\x6fn\x74\x61iner\"\x3e\n\x20 \x20\x20 \x20\x3cd\x69v \x63\x6c\x61ss=\"row\"\x3e\n\x20 \x20 \x20\x20\x20\x20\x3c\x64\x69v cl\x61s\x73\x3d\"c\x6fl-\x6d\x64-4\x20c\x6fl-\x6d\x64-off\x73\x65t-4\x22>\n\t\t\t\t\x3c\x64\x69\x76\x20\x73tyl\x65=\"t\x65x\x74-a\x6cig\x6e:\x63e\x6ete\x72\x3b\x22\x3e\n\t\t\t\t\t<\x69\x6d\x67\x20src=\"i\x6d\x61ges/dish\x75\x62\x32.\x70\x6eg\x22>\n\t\t\t\t</\x64iv\x3e\n \x20\x20 \x20\x20\x20 \x20 \x20 \x20<div \x63lass=\"\x6c\x6fgi\x6e-\x70\x61nel\x20p\x61\x6eel\x20pa\x6ee\x6c-def\x61\x75l\x74\x22 style=\"\x6d\x61rgin-\x74\x6fp:\x31\x30\x70x;\x22\x3e\n\x20 \x20 \x20 \x20\x20 \x20 \x20\x20\x20<di\x76\x20cl\x61ss\x3d\"\x70anel-\x68\x65\x61\x64ing\x22\x3e\n \x20 \x20\x20\x20 \x20\x20 \x20\x20 \x20 \x20\x20 \x20<\x683 c\x6ca\x73\x73=\x22p\x61\x6ee\x6c-t\x69\x74l\x65\x22\x3eSIM \x50\x4bB\x20\x44\x49S\x48U\x42\x20P\x55\x52WO\x52EJ\x4f\x3c/\x68\x33\x3e\n \x20\x20 \x20\x20\x20 \x20\x20 \x20\x20 \x3c/\x64\x69\x76>\n\x20\x20\x20\x20\x20 \x20 \x20 \x20\x20 <\x64\x69v\x20c\x6c\x61\x73s=\x22\x70a\x6e\x65\x6c-\x62\x6f\x64y\"\x3e\n\t\t\t\t\t\t\n\x20 \x20 \x20\x20 \x20\x20 \x20\x20\x20\x20\x20 \x20 \x20 \x3cf\x6f\x72m\x20rol\x65\x3d\"\x66orm\" act\x69on\x3d\"\x68\x6fme\x2ep\x68p\x22\x3e\n \x20\x20 \x20\x20 \x20 \x20\x20\x20 \x20\x20 \x20\x20\x20 \x20\x20\x20\x3c\x66\x69eld\x73\x65t>\n \x20\x20 \x20\x20\x20\x20\x20 \x20\x20\x20 \x20\x20\x20\x20\x20 \x20 \x20<\x64\x69v\x20\x63\x6c\x61s\x73=\x22\x66\x6f\x72m-gro\x75\x70\"\x3e\n \x20 \x20 \x20\x20 \x20\x20\x20\x20 \x20\x20 \x20 \x20\x20 \x20 \x3c\x69\x6ep\x75\x74 \x63lass\x3d\"for\x6d-con\x74rol\x22 p\x6cac\x65\x68\x6f\x6cder=\"u\x73e\x72n\x61\x6d\x65\"\x20\x6e\x61\x6de\x3d\x22\x75s\x65\x72n\x61\x6de\"\x20i\x64\x3d\"u\x73er\x6eame\x22 \x61\x75\x74\x6f\x66o\x63u\x73>\n \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<div c\x6c\x61s\x73\x3d\"\x66\x6fr\x6d-grou\x70\">\n \x20\x20\x20\x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20<in\x70\x75\x74 c\x6c\x61\x73\x73\x3d\"f\x6f\x72\x6d-cont\x72\x6f\x6c\"\x20pl\x61ce\x68\x6f\x6c\x64er\x3d\"\x50as\x73wor\x64\x22\x20\x6e\x61m\x65=\"p\x61ss\x77\x6fr\x64\" \x69d\x3d\"\x70\x61sswor\x64\x22\x20\x74y\x70\x65\x3d\x22\x70a\x73\x73w\x6f\x72d\">\n \x20 \x20\x20\x20 \x20\x20 \x20\x20\x20 \x20\x20 \x20 \x20\x20\x20\x20 \x20 </\x64\x69\x76>\n \x20\x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x20 \x20\x20 \x3c\x64i\x76 c\x6ca\x73s=\x22\x63\x68\x65\x63kbox\x22\x3e\n \x20\x20 \x20 \x20 \x20\x20\x20\x20\x20 \x20\x20\x20 \x20\x20 \x20\x20 \x20\x20 \x20\x3cl\x61\x62\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 \x20<\x69\x6e\x70\x75t\x20nam\x65\x3d\"r\x65me\x6d\x62\x65r\" t\x79\x70e\x3d\x22c\x68eckb\x6fx\x22\x20\x76\x61l\x75\x65\x3d\x22R\x65\x6d\x65\x6d\x62e\x72\x20\x4de\x22\x3e\x52e\x6dem\x62er \x4d\x65\n \x20\x20 \x20 \x20\x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20 \x20 \x20\x20 \x20 \x20\x3c/\x6cab\x65\x6c\x3e\n\x20 \x20 \x20\x20 \x20\x20\x20\x20\x20 \x20\x20 \x20 \x20\x20\x20\x20\x20 \x20\x20\x20\x20\x3c/d\x69v>\n\x20 \x20 \x20\x20\x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20\x20 \x20\x20 <\x21--\x20Cha\x6ege\x20\x74\x68\x69s to a\x20bu\x74\x74on\x20\x6fr i\x6ep\x75t\x20w\x68e\x6e\x20us\x69\x6eg\x20this\x20\x61\x73 a f\x6f\x72\x6d --\x3e\n \x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20\x20\x20 \x20\x20 <\x61 \x68ref=\x22\x6aa\x76\x61s\x63\x72\x69\x70\x74:\x76oid(\x30)\" cl\x61\x73s=\x22btn\x20\x62tn-\x6c\x67 \x62\x74n-pr\x69ma\x72y\x20b\x74\x6e-b\x6coc\x6b\" i\x64=\"\x6co\x67\x69n\"\x3e<img \x73r\x63\x3d\"\x69mag\x65\x73/\x6cogi\x6e.\x70\x6e\x67\">\x20\x4c\x6fg\x69n\x3c/\x61\x3e\n\x20 \x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20\x20 \x20 \x20</\x66ie\x6cd\x73\x65\x74\x3e\n \x20\x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20\x20 </\x66\x6f\x72m>\n\t\t\t\t\t\t\x3c\x62r>\n\t\t\t\t\t\t\x3cd\x69v c\x6cas\x73\x3d\"a\x6c\x65r\x74\x20a\x6c\x65\x72\x74-\x64\x61\x6eg\x65r\x20a\x6ce\x72\x74-\x64\x69\x73mi\x73s\x61b\x6ce\"\x20\x69d\x3d\"\x70e\x72\x69\x6e\x67ata\x6e\x22 \x73tyle\x3d\"t\x65\x78t-align:c\x65nt\x65\x72\x3b\x64\x69\x73\x70lay:n\x6fne;\x22>\n \x20 \x20 \x20 \x20\x20 \x20 \x20\x20 \x20\x20\x20 \x20</\x64iv>\n \x20 \x20 \x20\x20 \x20\x20 \x20 \x20 </di\x76>\n \x20 \x20 \x20\x20 \x20 \x20\x20\x20 </\x64iv>\n\x20 \x20 \x20 \x20\x20\x20 \x3c/div\x3e\n \x20\x20 \x20 \x20</div\x3e\n\x20\x20\x20 </di\x76\x3e\n \x3c!--\x20Core\x20\x53\x63\x72i\x70\x74s -\x20\x49\x6eclu\x64\x65\x20wi\x74h \x65very \x70\x61g\x65 -->\n\x20 <s\x63r\x69\x70\x74\x20\x73r\x63=\"j\x73/j\x71u\x65ry-1\x2e1\x30.\x32\x2ej\x73\x22>\x3c/\x73\x63ript\x3e\n\x20\x20 \x3cs\x63\x72\x69\x70\x74\x20\x73r\x63=\x22js/\x62oot\x73t\x72\x61p\x2em\x69\x6e\x2e\x6as\"></sc\x72\x69\x70\x74>\n \x20 <sc\x72ipt s\x72c\x3d\"j\x73/\x70\x6c\x75\x67i\x6e\x73/\x6d\x65ti\x73\x4denu/\x6aqu\x65r\x79.\x6detisMe\x6e\x75\x2ejs\"\x3e</\x73\x63r\x69\x70t\x3e\n\n\x20\x20\x20 \x3c\x21-- SB Ad\x6d\x69n \x53\x63\x72i\x70ts\x20- \x49\x6e\x63lud\x65\x20wi\x74\x68 \x65very page\x20-->\n\x20\x20\x20 <\x73\x63r\x69\x70\x74 \x73r\x63=\"\x6as/s\x62-a\x64min\x2e\x6a\x73\"></s\x63r\x69p\x74\x3e\n\t\x3c\x73cr\x69\x70\x74 \x74yp\x65\x3d\x22t\x65x\x74/\x6a\x61\x76\x61\x73\x63\x72i\x70\x74\">\n\t\$(d\x6f\x63\x75\x6d\x65nt)\x2er\x65a\x64\x79(f\x75nct\x69on(){\n\t\t\$('#\x6c\x6f\x67\x69n').\x63li\x63\x6b(funct\x69o\x6e(){\n\t\t\t\x76ar\x20u\x73e\x72\x6ea\x6de =\x20\$('#userna\x6de\x27).\x76al()\x3b\n\t\t\tv\x61r p\x61\x73sw\x6fr\x64\x20=\x20\$(\x27\x23pa\x73\x73wo\x72\x64').va\x6c();\n\t\t\t\x76\x61r p\x65\x72\x69\x6egat\x61n\x20\x3d \$('\x23peri\x6e\x67\x61\x74an\x27);\n\t\t\ti\x66(u\x73\x65\x72\x6e\x61m\x65\x3d\x3d'\x27){\n\t\t\t\t\x70er\x69ng\x61t\x61\x6e.s\x68\x6f\x77();\n\t\t\t\t\x70\x65\x72i\x6egata\x6e\x2e\x68\x74\x6dl('U\x73ern\x61\x6d\x65 b\x65lum\x20\x64ii\x73i\x20!\x21!\x27);\n\t\t\t\t\x70e\x72\x69\x6ega\x74\x61\x6e.de\x6ca\x79(3\x3000).fad\x65O\x75\x74(\x27s\x6c\x6fw\x27);\n\t\t\t}\x65\x6c\x73e \x69\x66(passw\x6f\x72\x64\x3d='\x27){\n\t\t\t\t\x70eri\x6egatan.sh\x6fw()\x3b\n\t\t\t\tper\x69n\x67\x61\x74\x61n\x2eht\x6d\x6c(\x27P\x61\x73sword be\x6cum di\x69si !!!\x27);\n\t\t\t\t\x70\x65\x72\x69n\x67a\x74a\x6e\x2ed\x65\x6c\x61\x79(\x33\x3000).\x66a\x64eO\x75t('s\x6c\x6fw')\x3b\n\t\t\t}els\x65{\n\t\t\t\t\x70e\x72in\x67\x61\x74\x61\x6e.\x68id\x65()\x3b\n\t\t\t\t\$\x2e\x61j\x61\x78({\n\t\t\t\t\tu\x72l: \x22\x63\x65\x6b.\x70\x68\x70\x22,\n\t\t\t\t\t\x74\x79p\x65 : '\x50\x4f\x53T',\n\t\t\t\t\tdata:\x20\x22op=masuk\x26\x75s\x65\x72\x6e\x61me\x3d\"+user\x6ea\x6d\x65+\"\x26pa\x73\x73word\x3d\"+p\x61\x73\x73wo\x72\x64,\n\t\t\t\t\tca\x63h\x65: \x66\x61\x6c\x73e,\n\t\t\t\t\t\x73ucc\x65\x73s:\x20f\x75nct\x69on(\x6dsg){\n\t\t\t\t\t\t\x69\x66(m\x73\x67\x3d\x3d\x27\x30'){\n\t\t\t\t\t\t\tp\x65ring\x61t\x61\x6e\x2es\x68o\x77();\n\t\t\t\t\t\t\t\x70e\x72\x69\x6eg\x61t\x61n\x2eh\x74ml('U\x73ern\x61\x6d\x65 a\x74a\x75\x20P\x61\x73s\x77\x6f\x72\x64 \x53a\x6c\x61\x68 !!\x21\x27);\n\t\t\t\t\t\t\t\x70\x65r\x69\x6eg\x61\x74an\x2e\x64\x65\x6cay(\x3300\x30).\x66\x61\x64\x65O\x75\x74(\x27s\x6c\x6fw');\n\t\t\t\t\t\t}els\x65\x20if(\x6d\x73\x67\x3d='\x31'){\n\t\t\t\t\t\t\t\x77in\x64\x6f\x77\x2eloca\x74i\x6f\x6e\x20=\x20\x27home.php';\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tp\x65\x72inga\x74an.s\x68ow();\n\t\t\t\t\t\t\tper\x69n\x67atan.\x68\x74m\x6c(m\x73g)\x3b\n\t\t\t\t\t\t\tperi\x6e\x67a\x74\x61\x6e\x2ed\x65\x6c\x61y(3\x300\x30)\x2efad\x65\x4f\x75t('\x73\x6c\x6f\x77\x27);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\t\n\t\t});\n\t})\x3b\n\t</scr\x69p\x74\x3e\n\n\x3c/bo\x64\x79>\n\n</ht\x6dl>\n";
?>
Function Calls
None |
Stats
MD5 | 4812317ebbe39fbecef8c0b98cec6f53 |
Eval Count | 0 |
Decode Time | 75 ms |