!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.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     assignment_action.php (1.18 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//@session_start();
require 'connection.php';
$upload_dir 'uploads/';
$server_url 'https://www.srishticampus.com/campus2020/admin/';
$technology=$_REQUEST['technology'];
$semester=$_REQUEST['semester'];
$subject=$_REQUEST['subject'];
$topic=$_REQUEST['topic'];
// $code=$_REQUEST['Code'];
$subdate=$_REQUEST['subdate'];


 
$avatar_name $_FILES["avatar"]["name"];
    
$avatar_tmp_name $_FILES["avatar"]["tmp_name"];
    
$error $_FILES["avatar"]["error"];

     
$random_name rand(1000,1000000)."-".$avatar_name;
        
$upload_name $upload_dir.strtolower($random_name);
        
$upload_name preg_replace('/\s+/''-'$upload_name);


        
$logo$server_url."/".$upload_name;
        if(
move_uploaded_file($avatar_tmp_name,$upload_name)) {
$sql="insert into assign_sub(batch_id,semester,subject,topic,submittion_date,file) values('$technology','$semester','$subject','$topic','$subdate','$logo')";
$result=$con->query($sql);
$count=$con->affected_rows;
// if($count>0){
    
header("location:add_assignment.php?status=success");
    
//echo"success";
}
else{
    echo 
$sql;
     
header("location:add_assignment.php?status=failed");
    
//echo "failed";
}



?>

:: 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.008 ]--