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

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/admin/webmail/program/steps/mail/   drwxr-xr-x
Free 9.19 GB of 93.48 GB (9.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     list.inc (3.28 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/*
 +-----------------------------------------------------------------------+
 | program/steps/mail/list.inc                                           |
 |                                                                       |
 | This file is part of the RoundCube Webmail client                     |
 | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland                 |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | PURPOSE:                                                              |
 |   Send message list to client (as remote response)                    |
 |                                                                       |
 +-----------------------------------------------------------------------+
 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
 +-----------------------------------------------------------------------+

 $Id: list.inc 2634 2009-06-11 07:53:32Z alec $

*/

if (!$OUTPUT->ajax_call) {
  return;
}

// is there a sort type for this request?
if ($sort get_input_value('_sort'RCUBE_INPUT_GET))
{
  
// yes, so set the sort vars
  
list($sort_col$sort_order) = explode('_'$sort);

  
// set session vars for sort (so next page and task switch know how to sort)
  
$save_arr = array();
  
$_SESSION['sort_col'] = $save_arr['message_sort_col'] = $sort_col;
  
$_SESSION['sort_order'] = $save_arr['message_sort_order'] = $sort_order;
  
  
$RCMAIL->user->save_prefs($save_arr);
}
else
{
  
// use session settings if set, defaults if not
  
$sort_col   = isset($_SESSION['sort_col'])   ? $_SESSION['sort_col']   : $CONFIG['message_sort_col'];
  
$sort_order = isset($_SESSION['sort_order']) ? $_SESSION['sort_order'] : $CONFIG['message_sort_order'];
}

$mbox_name $IMAP->get_mailbox_name();

// initialize searching result if search_filter is used
if ($_SESSION['search_filter'] && $_SESSION['search_filter'] != 'ALL')
{
  
$search_request md5($mbox_name.$_SESSION['search_filter']);

  
$IMAP->search($mbox_name$_SESSION['search_filter'], RCMAIL_CHARSET$sort_col);
  
$_SESSION['search'][$search_request] = $IMAP->get_search_set();
  
$OUTPUT->set_env('search_request'$search_request);
}
                  

// fetch message headers
if ($count $IMAP->messagecount($mbox_name'ALL', !empty($_REQUEST['_refresh'])))
  
$a_headers $IMAP->list_headers($mbox_nameNULL$sort_col$sort_order);

$unseen $count $IMAP->messagecount($mbox_name'UNSEEN', !empty($_REQUEST['_refresh'])) : 0;

// update message count display
$pages ceil($count/$IMAP->page_size);
$OUTPUT->set_env('messagecount'$count);
$OUTPUT->set_env('pagecount'$pages);
$OUTPUT->command('set_rowcount'rcmail_get_messagecount_text($count));
$OUTPUT->command('set_mailboxname'rcmail_get_mailbox_name_text());

// add message rows
if (isset($a_headers) && count($a_headers))
{
  
rcmail_js_message_list($a_headers);
  if (
$search_request)
    
$OUTPUT->show_message('searchsuccessful''confirmation', array('nr' => $count));
}
else if (
$search_request)
  
$OUTPUT->show_message('searchnomatch''notice');
else
  
$OUTPUT->show_message('nomessagesfound''notice');
  
// update mailboxlist
$OUTPUT->command('set_unread_count'$mbox_name$unseen, ($mbox_name == 'INBOX'));

// send response
$OUTPUT->send();

?>

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