!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

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

Safe-mode: OFF (not secure)

/home/doku/axrepos/axess/old/restricted/   drwxrwxr-x
Free 11.19 GB of 97.11 GB (11.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     chatlog.phtml (1.5 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php ob_start("ob_gzhandler"); ?>
<h1>Name change log search</h1>
<?php

pg_connect
("dbname=ax");

function 
do_search_query($begindate$enddate) {
    return 
pg_exec("select * from chatlog where date between '".addslashes($begindate)."'::timestamp and '".addslashes($enddate)."'::timestamp order by date;");
}

function 
display_dialog() {
?>
<form method=get>
<table>
<tr><td>Beginning date (YYYY-MM-DD HH:MM - you can omit hours and minutes):</td><td><input type=text name=begindate size=40 value="<?= htmlspecialchars($_REQUEST['begindate']); ?>"></td></tr>
<tr><td>Ending date (YYYY-MM-DD HH:MM - you can omit hours and minutes):</td><td><input type=text name=enddate size=40 value="<?= htmlspecialchars($_REQUEST['enddate']); ?>"></td></tr>
<tr><td></td><td><input type=submit name=search value="Search"></td></tr>
</table>
</form>
<?php
}

function 
tablelist($result) {
    if (
pg_num_rows($result)==0) {
        echo 
"<p><b>No such records found.</b></p>";
        return;
    }
    echo 
"<table border>";
    echo 
"<tr>";
    for (
$column=0;$column<pg_num_fields($result);$column++) {
         echo 
"<th>".htmlspecialchars(pg_field_name($result,$column))."</th>";
    }
    echo 
"</tr>";
    for (
$row=0;$row<pg_num_rows($result);$row++) {
        
$obj=pg_fetch_array($result,$row,PGSQL_NUM);
        echo 
"<tr>";
        foreach(
$obj as $value) {
            echo 
"<td>".htmlspecialchars($value)."</td>";
        }
        echo 
"</tr>";
    }
    echo 
"</table>";
}

display_dialog();

if (isset(
$_REQUEST['search'])) {
    
tablelist(do_search_query($_REQUEST['begindate'],$_REQUEST['enddate']));
    
display_dialog();
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0201 ]--