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/community/plugins/autoupdate/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/baberankings.com.bak/community/plugins/autoupdate/remote.php
<?php

define('PHPWG_ROOT_PATH','../../');
define('IN_ADMIN', true);
include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
include_once(PHPWG_ROOT_PATH.'admin/include/functions_plugins.inc.php');

check_status(ACCESS_ADMINISTRATOR);

if (isset($_POST['autoupdate_ignore'])
  and is_array($_POST['autoupdate_ignore'])
  and count($_POST['autoupdate_ignore']) == 2)
{
  // Add or remove plugin from ignore list
  $ignore = unserialize($conf['autoupdate_ignore_list']);
  $ignore = array_flip($ignore);

  if ($_POST['autoupdate_ignore'][1] == "false" and isset($ignore[$_POST['autoupdate_ignore'][0]]))
  {
    unset($ignore[$_POST['autoupdate_ignore'][0]]);
    $ignore = array_flip($ignore);
  }
  elseif ($_POST['autoupdate_ignore'][1] == "true" and !isset($ignore[$_POST['autoupdate_ignore'][0]]))
  {
    $ignore = array_flip($ignore);
    array_push($ignore, $_POST['autoupdate_ignore'][0]);
  }
  else
  {
    die;
  }
  sort($ignore);  

  $query = '
UPDATE '.CONFIG_TABLE.'
SET value = "'.addslashes(serialize($ignore)).'"
WHERE param = "autoupdate_ignore_list"
;';
  pwg_query($query);

  unset($_SESSION['plugins_need_update']);
  echo 'ok';
}
else
{
  // Check if gallery or plugins are up to date
  load_language('plugin.lang', dirname(__FILE__).'/');
  header('Content-Type: text/html; charset=UTF-8');

  include(AUTOUPDATE_PATH.'include/functions_remote.inc.php');
  echo autoupdate_check_version();
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit