Sunda Cyber Army


* Sunda Cyber Army 2k17 *
Indonesia Defacer ~


Path : /home/dent/public_html/_demos/
File Upload :
Current File : /home/dent/public_html/_demos/secure.php

<?php

session_start();
$_SESSION["loggedin"] = "";



if($_REQUEST["password"] != "") { // I just received a pw submission

    $sql = "SELECT * from USers where username ='" . $_REQUEST["username"] .
            "' AND password = '" . $_REQUEST["password"] . "'";

    echo $sql;
   /// PROCESS LOGIN
        exit();

} else if($_SESSION["loggedin"] == "") {  // NOT logged in

    /* build a login form */
// exit php ?>
    Please log in to continue:
    <form>
        USername: <input type="text"name="username"><br>
        Password: <input type="text" name="password"><br>
        <input type="submit" value="Log in">
    </form>

<?php  // back into php
    exit();
}