!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:     userchange.php (5.99 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
  
include_once dirname(__FILE__) . "/config/variables.php";
  include_once 
dirname(__FILE__) . "/config/authuser.php";
  include_once 
dirname(__FILE__) . "/config/functions.php";
  include_once 
dirname(__FILE__) . "/config/httpheaders.php";

  
$domquery "SELECT avscan,spamassassin FROM domains WHERE domain_id={$_SESSION['domain_id']}";
  
$domresult $db->query($domquery);
  if (!
DB::isError($domresult)) { $domrow $domresult->fetchRow(); }
  
$query "SELECT * FROM users WHERE user_id={$_SESSION['user_id']}";
  
$result $db->query($query);
  if (!
DB::isError($result)) { $row $result->fetchRow(); }
  
$blockquery "SELECT block_id,blockhdr,blockval FROM blocklists,users
          WHERE blocklists.user_id=
{$_SESSION['user_id']}
        AND users.user_id=blocklists.user_id"
;
  
$blockresult $db->query($blockquery);
?>
<html>
  <head>
    <title><?php echo _("Virtual Exim") . ": " _("Manage Users"); ?></title>
    <link rel="stylesheet" href="style.css" type="text/css">
  </head>
  <body onLoad="document.userchange.realname.focus()">
    <?php include dirname(__FILE__) . "/config/header.php"?>
    <div id="menu">
      <a href="logout.php"><?php echo _("Logout"); ?></a><br>
    </div>
    <div id="forms">
      <form name="userchange" method="post" action="userchangesubmit.php">
    <table align="center">
      <tr><td><?php echo _("Name"); ?>:</td><td><input name="realname" type="text" value="<?php print $row['realname']; ?>" class="textfield"></td></tr>
      <tr><td><?php echo _("Email Address"); ?>:</td><td><?php print $row['localpart']."@".$_SESSION['domain']; ?></td>
      <tr><td><?php echo _("Password"); ?>:</td><td><input name="clear" type="password" class="textfield"></td></tr>
      <tr><td><?php echo _("Verify Password"); ?>:</td><td><input name="vclear" type="password" class="textfield"></td></tr>
         <tr><td colspan="2" style="padding-top:1em;"><b><?php echo _("Note:"); ?></b> <?php echo _("Attempting to set blank passwords does not work!"); ?><td></tr>
      <tr><td></td><td class="button"><input name="submit" type="submit" value="<?php echo _("Submit Password"); ?>"></td></tr>
   </form>
      <form name="userchange" method="post" action="userchangesubmit.php">
    </table>
    <table align="center">
      <tr><td colspan="2"><?php
        
if ($row['quota'] != "0") {
          
printf (_("Your mailbox quota is currently: %s Mb"), $row['quota']);
        } else {
          print 
_("Your mailbox quota is currently: Unlimited");
        }
      
?></td></tr><?php 
      
if ($domrow['avscan'] == "1") {
        print 
"<tr><td>" _("Anti-Virus") . ":</td><td><input name=\"on_avscan\" type=\"checkbox\"";
        if (
$row['on_avscan'] == "1") { 
          print 
" checked "
        } 
      print 
"></td></tr>\n";
    }
      if (
$domrow['spamassassin'] == "1") {
    print 
"<tr><td>" _("Spamassassin") . ":</td><td><input name=\"on_spamassassin\" type=\"checkbox\"";
    if (
$row['on_spamassassin'] == "1") { 
      print 
" checked "
    } 
    print 
"></td></tr>\n";
    print 
"<tr><td>" _("SpamAssassin tag score") . ":</td>";
    print 
"<td><input type=\"text\" size=\"5\" name=\"sa_tag\" value=\"{$row['sa_tag']}\" class=\"textfield\"></td></tr>\n";
    print 
"<tr><td>" _("SpamAssassin refuse score") . ":</td>";
    print 
"<td><input type=\"text\" size=\"5\" name=\"sa_refuse\" value=\"{$row['sa_refuse']}\" class=\"textfield\"></td></tr>\n";
      }
      print 
"<tr><td>" _("Maximum message size") . ":</td>";
      print 
"<td><input type=\"text\" size=\"5\" name=\"maxmsgsize\" value=\"{$row['maxmsgsize']}\" class=\"textfield\"> " _("Kb") . "</td></tr>\n";
      print 
"<tr><td>" _("Vacation enabled") . ":</td><td><input name=\"on_vacation\" type=\"checkbox\"";
      if (
$row['on_vacation'] == "1") { print " checked "; } 
      print 
"></td></tr>\n";
      print 
"<tr><td>" _("Vacation message") . ":</td>";
      print 
"<td><textarea name=\"vacation\" cols=\"40\" rows=\"5\" class=\"textfield\">{$row['vacation']}</textarea>";
      print 
"<tr><td>" _("Forwarding enabled") . ":</td><td><input name=\"on_forward\" type=\"checkbox\"";
      if (
$row['on_forward'] == "1") { print " checked "; } 
      print 
"></td></tr>\n";
      print 
"<tr><td>" _("Forward mail to") . ":</td>";
      print 
"<td><input type=\"text\" name=\"forward\" value=\"{$row['forward']}\" class=\"textfield\"></td><br>\n";
            print 
_("Must be a full e-mail address") . "!</tr>\n";
      print 
"<tr><td>" _("Store Forwarded Mail Locally") . ":</td><td><input name=\"unseen\" type=\"checkbox\"";
      if (
$row['unseen'] == "1") { print " checked "; } print "></td></tr>\n";
    
?>
    <tr><td></td><td class="button"><input name="submit" type="submit" value="<?php echo _("Submit Profile"); ?>"></td></tr>
  </table>
  </form>
  <form name="blocklist" method="post" action="userblocksubmit.php">
    <table align="center">
      <tr><td><?php echo _("Add a new header blocking filter"); ?>:</td></tr>
      <tr><td><select name="blockhdr" class="textfield">
      <option value="From"><?php echo _("From"); ?>:</option>
      <option value="To"><?php echo _("To"); ?>:</option>
      <option value="Subject"><?php echo _("Subject"); ?>:</option>
        <option value="X-Mailer"><?php echo _("X-Mailer"); ?>:</option>
      </select></td>
      <td><input name="blockval" type="text" size="25" class="textfield">
      <input name="color" type="hidden" value="black"></td></tr>
      <tr><td><input name="submit" type="submit" value="Submit"></td></tr>
    </table>
    </form>
    <table align="center">
      <tr><th><?php echo _("Delete"); ?></th><th><?php echo _("Blocked Header"); ?></th><th><?php echo _("Content"); ?></th></tr>
      <?php if (!DB::isError($blockresult)) {
    while (
$blockrow $blockresult->fetchRow()) {
      print 
"<tr><td><a href=\"userblocksubmit.php?action=delete&block_id={$blockrow['block_id']}\"><img style=\"border:0;width:10px;height:16px\" title=\"Delete\" src=\"images/trashcan.gif\" alt=\"trashcan\"></a></td>";
      print 
"<td>{$blockrow['blockhdr']}</td><td>{$blockrow['blockval']}</td></tr>\n";
    }
      }
    
?>
      </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.0077 ]--