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


Viewing file:     namechange.phtml (1.23 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($namefragment) {
    return 
pg_exec("select * from namechange where oldname~*'".addslashes($namefragment)."' or newname~*'".addslashes($namefragment)."' order by date desc;");
}

function 
display_dialog() {
?>
<form method=get>
Name fragment to search for (search is case insensitive): <input type=text name=namefragment size=40 value="<?= htmlspecialchars($_REQUEST['namefragment']); ?>"> <input type=submit name=submit value="Search">
</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['namefragment'])) {
    
tablelist(do_search_query($_REQUEST['namefragment']));
    
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.005 ]--