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

Software: nginx/1.18.0. PHP/7.4.29 

uname -a: Linux ip-172-31-23-220 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/admin/   drwxrwxr-x
Free 39.75 GB of 48.28 GB (82.35%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     add_new_student_action.php (1.42 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require 'connection.php';
$student_name=$_POST['student_name'];
$student_email=$_POST['student_email'];
$mobile_num=$_POST['mobile_num'];
$dob=$_POST['dob'];
$course_id=$_POST['course'];
$address=$_POST['address'];

// $query1 = "select * from course_details order by id desc";
$query1 "select * from course_details where id='$course_id'";
                                    
$result1 $con->query($query1);
                                     while (
$row1 $result1->fetch_assoc()) {
                                    
                                      
$course$row1["name"]; 
                                    
                                        }



 
$sql "INSERT INTO `user_details`(`email`, `phone`, `name`,`request_status`,`phone_verified`,`email_verified`,`status`) 
    VALUES ('
$student_email','$mobile_num','$student_name','0','1','1','1')";
    
$result=$con->query($sql);
     
$count=$con->affected_rows;
     
$last_id $con->insert_id;

     
$sql_new "INSERT INTO `student_reg`( `name`, `dob`, `permanent_address1`, `email`,`mobile`,`user_id`,) 
    VALUES ('
$student_name','$dob','$address','$student_email','$student_email','$mobile_num','$last_id')";
    
$result_new=$con->query($sql_new);
     
$count_new=$con->affected_rows;
     
$last_id_new $con->insert_id;


    if (
$count>0) {
         
        echo 
json_encode(array("statusCode"=>$last_id));
    } 
    else {
        echo 
json_encode(array("statusCode"=>0));
    }
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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