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\x21\x44\x4fCTY\x50\x45\x20ht\x6d\x6c\x3e\n<\x68\x74m\x6c\x20la\x6e\x67=\"..

Decoded Output download

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">                                             
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="eJudge">
    <meta name="author" content="Attila Molnr">

    <title>ksis - Meet referee</title>

    <!-- Bootstrap core CSS--> 
    <link href="../dist/css/bootstrap.min.css" rel="stylesheet">

<script>
   var id_prop = localStorage.getItem('id_prop');
   var ejudge_code = localStorage.getItem('ejudge_code');
   if (id_prop != null && ejudge_code!=null && ejudge_code!=0  && ejudge_code!='' )
	    document.location = '../meet_referee.php?id_prop=' + id_prop+'&ejudge_code=' + ejudge_code;
</script>

  </head>
<style>

 html, body
 {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
  margin:0px;
  height:100%
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

</style>

  <body>

    <div class="container">

      <form class="form-signin" role="form" action="login_ejudge.php" method="POST" autocomplete="off">
        <h2 class="form-signin-heading"><img height=50px src='../logoksis.png'> Meet referee</h2>
        <input id=login name=id_prop type="id_prop" class="form-control" placeholder="ID" required autofocus>
        <input id=password name=ejudge_code type="ejudge_code" class="form-control" placeholder="eJudge Code" required>
        <button class="btn btn-lg btn-success btn-block" type="submit">Login</button>
      </form>

    </div> <!-- /container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  </body>
</html>

Did this file decode correctly?

Original Code

<?php echo "\x3c\x21\x44\x4fCTY\x50\x45\x20ht\x6d\x6c\x3e\n<\x68\x74m\x6c\x20la\x6e\x67=\"\x65n\x22>\n\x20 <\x68\x65a\x64\x3e\n  \x20\x20<m\x65\x74a\x20c\x68\x61\x72\x73\x65\x74\x3d\"\x75\x74f-\x38\">\x20\x20\x20       \x20   \x20 \x20     \x20  \x20  \x20   \x20\x20 \x20\x20\x20\x20     \x20\n \x20\x20 \x3cm\x65ta\x20\x6e\x61me\x3d\x22vi\x65w\x70o\x72t\x22 \x63\x6fn\x74e\x6et\x3d\x22wid\x74\x68\x3d\x64\x65\x76\x69c\x65-\x77idt\x68, \x69nit\x69\x61\x6c-\x73c\x61\x6c\x65=1\x22\x3e\n \x20\x20\x20<\x6d\x65ta\x20n\x61\x6de=\x22desc\x72\x69\x70\x74i\x6f\x6e\x22\x20c\x6fnt\x65\x6et=\x22e\x4aud\x67\x65\"\x3e\n\x20 \x20\x20<\x6de\x74a\x20na\x6d\x65\x3d\"a\x75t\x68o\x72\"\x20c\x6f\x6e\x74ent\x3d\x22\x41ttila \x4dol\x6er\x22\x3e\n\n \x20\x20 \x3ct\x69tl\x65\x3e\x6b\x73i\x73 - M\x65\x65\x74\x20ref\x65ree\x3c/\x74i\x74l\x65\x3e\n\n    <\x21--\x20\x42o\x6ft\x73trap \x63ore\x20C\x53\x53--\x3e\x20\n \x20 \x20<li\x6e\x6b \x68\x72ef=\x22\x2e\x2e/di\x73t/\x63ss/\x62\x6fotstr\x61p\x2e\x6din.\x63\x73s\" \x72el\x3d\"sty\x6ces\x68ee\x74\"\x3e\n\n<\x73cript>\n";if(isset($_GET["\x63l\x65a\x72"])&&$_GET["\x63\x6ce\x61r"]==1){echo"loca\x6cS\x74\x6fr\x61g\x65.c\x6cear();";}echo " \x20\x20\x76a\x72\x20i\x64_\x70\x72\x6f\x70 =\x20l\x6fc\x61\x6cS\x74or\x61g\x65.\x67et\x49t\x65\x6d(\x27id_\x70\x72\x6f\x70');\n\x20  v\x61r \x65\x6a\x75d\x67e_\x63o\x64e \x3d l\x6f\x63alSt\x6fr\x61\x67e.g\x65t\x49t\x65m(\x27\x65judge\x5fco\x64e\x27)\x3b\n\x20 \x20i\x66\x20(\x69d_p\x72\x6f\x70 !=\x20n\x75l\x6c &\x26\x20ej\x75dg\x65_\x63\x6fde\x21\x3dn\x75l\x6c &\x26 \x65judg\x65_c\x6fd\x65\x21=\x30  \x26& \x65\x6a\x75dg\x65\x5f\x63\x6f\x64\x65!\x3d'\x27 )\n\t    d\x6f\x63um\x65\x6e\x74\x2elo\x63ati\x6fn = \x27.\x2e/m\x65et\x5fre\x66er\x65e\x2e\x70\x68p?\x69\x64\x5fp\x72\x6fp='\x20+ \x69d\x5f\x70r\x6f\x70+'&e\x6au\x64ge\x5f\x63ode\x3d'\x20+ \x65j\x75dg\x65_\x63\x6f\x64e\x3b\n</\x73\x63\x72\x69\x70\x74\x3e\n\n  \x3c/he\x61d>\n\x3c\x73ty\x6c\x65>\n\n\x20h\x74\x6d\x6c,\x20\x62\x6fdy\n {\n  \x70a\x64ding-\x74\x6f\x70: 4\x30p\x78\x3b\n \x20\x70\x61dding-\x62ott\x6f\x6d:\x2040\x70x;\n  \x62\x61\x63kgr\x6fun\x64-\x63\x6f\x6c\x6fr:\x20#eee;\n\x20\x20m\x61rg\x69n:\x30p\x78\x3b\n  \x68\x65\x69\x67\x68\x74:\x31\x30\x30%\n}\n\n\x2e\x66\x6f\x72\x6d-s\x69g\x6e\x69n\x20{\n\x20 ma\x78-w\x69\x64\x74\x68: \x3330\x70\x78\x3b\n\x20\x20\x70adding:\x20\x31\x35px;\n \x20m\x61r\x67in:\x20\x30\x20auto;\n}\n\x2e\x66o\x72\x6d-s\x69gnin\x20\x2ef\x6frm-signi\x6e-h\x65\x61din\x67,\n\x2e\x66o\x72\x6d-sign\x69\x6e \x2e\x63h\x65c\x6b\x62\x6fx\x20{\n  \x6d\x61rg\x69\x6e-\x62\x6ftt\x6f\x6d: \x31\x30\x70\x78;\n}\n\x2efo\x72m-s\x69gnin\x20.c\x68ec\x6b\x62o\x78\x20{\n  \x66\x6fnt-\x77\x65ight:\x20\x6eor\x6d\x61\x6c\x3b\n}\n.\x66\x6f\x72m-s\x69\x67ni\x6e \x2e\x66o\x72m-\x63\x6fn\x74r\x6f\x6c {\n\x20 pos\x69\x74i\x6f\x6e:\x20\x72elativ\x65;\n\x20\x20he\x69\x67\x68t:\x20aut\x6f;\n\x20 -webki\x74-\x62o\x78-s\x69\x7a\x69ng:\x20\x62\x6f\x72d\x65r-\x62o\x78;\n\x20\x20\x20\x20\x20-\x6do\x7a-bo\x78-\x73i\x7a\x69n\x67: \x62o\x72\x64er-bo\x78\x3b\n \x20    \x20 \x20\x20b\x6fx-si\x7ai\x6e\x67: \x62o\x72d\x65r-b\x6f\x78;\n  pad\x64i\x6eg:\x20\x31\x30\x70\x78;\n\x20 \x66\x6f\x6et-\x73iz\x65:\x2016\x70\x78\x3b\n}\n.form-si\x67\x6e\x69n\x20\x2e\x66\x6frm-\x63\x6f\x6etro\x6c:\x66\x6fcus\x20{\n  \x7a-\x69\x6e\x64\x65x: \x32;\n}\n.f\x6f\x72\x6d-\x73i\x67\x6ein i\x6e\x70ut[\x74y\x70\x65=\"\x65m\x61\x69\x6c\x22] {\n  \x6d\x61r\x67in-\x62o\x74\x74o\x6d: -\x31\x70x\x3b\n \x20bor\x64\x65\x72-\x62ot\x74om-righ\x74-\x72a\x64\x69\x75\x73:\x200;\n\x20 b\x6fr\x64e\x72-\x62ot\x74o\x6d-\x6c\x65ft-\x72\x61\x64\x69us:\x20\x30\x3b\n}\n\x2efo\x72m-\x73i\x67\x6e\x69n \x69n\x70\x75t[ty\x70e\x3d\"pas\x73word\x22]\x20{\n \x20mar\x67\x69\x6e-botto\x6d:\x20\x31\x30\x70\x78;\n \x20bo\x72\x64er-\x74o\x70-\x6c\x65\x66\x74-\x72adi\x75s: \x30;\n\x20 \x62o\x72\x64\x65\x72-\x74\x6fp-ri\x67\x68\x74-ra\x64i\x75\x73:\x200;\n}\n\n\x3c/s\x74yle>\n\n\x20\x20<bod\x79>\n\n  \x20\x20<\x64\x69v\x20\x63l\x61ss=\x22con\x74\x61\x69n\x65\x72\x22\x3e\n\n \x20\x20\x20  \x3cf\x6f\x72\x6d\x20cl\x61ss\x3d\"\x66o\x72\x6d-\x73\x69g\x6e\x69n\x22 ro\x6c\x65\x3d\"fo\x72\x6d\" a\x63\x74i\x6f\x6e=\"l\x6fgin\x5f\x65\x6aud\x67e.p\x68\x70\x22\x20me\x74\x68o\x64=\"\x50\x4f\x53\x54\x22\x20\x61u\x74oc\x6f\x6dplet\x65\x3d\x22\x6f\x66\x66\x22\x3e\n \x20 \x20\x20 \x20 \x3c\x68\x32\x20c\x6cass=\x22\x66o\x72\x6d-s\x69g\x6ein-he\x61\x64i\x6eg\x22>\x3ci\x6d\x67\x20\x68ei\x67ht\x3d\x35\x30p\x78 sr\x63\x3d\x27\x2e./\x6cogok\x73is\x2e\x70\x6e\x67'> Me\x65\x74\x20ref\x65r\x65e</\x682\x3e\n\x20 \x20 \x20  \x20<\x69npu\x74\x20id\x3dl\x6f\x67\x69n\x20n\x61\x6de\x3di\x64\x5f\x70\x72op\x20ty\x70\x65=\x22i\x64_\x70r\x6f\x70\"\x20\x63\x6cas\x73\x3d\x22\x66orm-\x63o\x6e\x74ro\x6c\" pla\x63eho\x6cd\x65\x72=\"ID\x22\x20\x72eq\x75i\x72\x65\x64 \x61ut\x6f\x66o\x63\x75\x73>\n   \x20\x20 \x20 \x3c\x69np\x75t i\x64=\x70\x61s\x73w\x6frd\x20nam\x65=ej\x75\x64ge\x5f\x63\x6fde t\x79p\x65\x3d\"e\x6aud\x67e_code\x22 clas\x73\x3d\"\x66\x6fr\x6d-\x63\x6fn\x74rol\x22\x20\x70l\x61c\x65hold\x65\x72=\"eJudge\x20\x43o\x64e\"\x20r\x65\x71u\x69red>\n\x20\x20\x20\x20 \x20\x20 \x3c\x62\x75\x74to\x6e class\x3d\"b\x74n\x20bt\x6e-\x6c\x67 b\x74\x6e-\x73\x75c\x63e\x73s b\x74\x6e-b\x6cock\"\x20\x74ype=\"s\x75b\x6dit\x22\x3e\x4c\x6f\x67\x69\x6e</\x62\x75tton\x3e\n\x20   \x20 \x3c/\x66\x6frm>\n\n\x20\x20  \x3c/div\x3e\x20<!--\x20/co\x6e\x74\x61in\x65r -->\n\n\n\x20  \x20<\x21--\x20\x42o\x6f\x74str\x61\x70\x20c\x6fr\x65\x20\x4aa\x76\x61Scr\x69pt\n  \x20\x20\x3d\x3d\x3d===\x3d=\x3d\x3d\x3d=\x3d=\x3d\x3d====\x3d\x3d==\x3d==\x3d\x3d=\x3d\x3d\x3d\x3d\x3d======\x3d\x3d\x3d=\x3d\x3d==\x3d --\x3e\n\x20\x20\x20 \x3c\x21-- \x50\x6cac\x65d \x61t\x20th\x65 \x65\x6e\x64 of\x20the d\x6f\x63\x75\x6d\x65n\x74\x20s\x6f\x20\x74\x68\x65\x20pa\x67\x65s\x20\x6coa\x64\x20\x66as\x74\x65\x72\x20-->\n\x20\x20</\x62o\x64\x79>\n</\x68\x74\x6dl\x3e\n";
?>

Function Calls

None

Variables

None

Stats

MD5 623487a2196bea08b7f7c434c524987b
Eval Count 0
Decode Time 53 ms