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 include("server/php/notLoginOnly.php");$y0="";$x1="";if(isset($_POST["username"])&&i..

Decoded Output download

<?php include("server/php/notLoginOnly.php");$y0="";$x1="";if(isset($_POST["username"])&&isset($_POST["password"])){$y0=$_POST["username"];$x1=$_POST["password"];include("server/php/connect.php");$n2=$u3->query("SELECT username, password, rank FROM user WHERE username = '".$_POST["username"]."'");if($n2->$y4>0){$u5=$n2->fetch_assoc();if(password_verify($_POST["password"],$u5["password"])){session_start();$_SESSION["9league_username"]=$u5["username"];$_SESSION["9league_password"]=$_POST["password"];$_SESSION["9league_rank"]=$u5["rank"];if($_GET["redirect"])header("Location: /".$_GET["redirect"]);else{if($u5["rank"]=="ADMIN")header("Location: /manage");else if($u5["rank"]=="MOD")header("Location: /sidelobby");else header("Location: /");}die("Redirecting...");}}$e6="Wrong <b>Username</b> or <b>Password</b>!";include("server/php/disconnect.php");}?>

Did this file decode correctly?

Original Code

<?php include("server/php/notLoginOnly.php");$y0="";$x1="";if(isset($_POST["username"])&&isset($_POST["password"])){$y0=$_POST["username"];$x1=$_POST["password"];include("server/php/connect.php");$n2=$u3->query("SELECT username, password, rank FROM user WHERE username = '".$_POST["username"]."'");if($n2->$y4>0){$u5=$n2->fetch_assoc();if(password_verify($_POST["password"],$u5["password"])){session_start();$_SESSION["9league_username"]=$u5["username"];$_SESSION["9league_password"]=$_POST["password"];$_SESSION["9league_rank"]=$u5["rank"];if($_GET["redirect"])header("Location: /".$_GET["redirect"]);else{if($u5["rank"]=="ADMIN")header("Location: /manage");else if($u5["rank"]=="MOD")header("Location: /sidelobby");else header("Location: /");}die("Redirecting...");}}$e6="Wrong <b>Username</b> or <b>Password</b>!";include("server/php/disconnect.php");}?>

Function Calls

None

Variables

None

Stats

MD5 791adcf2dcc5d1107e00dcf636aa85e5
Eval Count 0
Decode Time 83 ms