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 /
admin /
tool /
behat /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
fixtures
[ DIR ]
drwxrwxrwx
data_generators.feature
18.51
KB
-rwxrwxrwx
datetime_strings.feature
1.08
KB
-rwxrwxrwx
edit_permissions.feature
4.52
KB
-rwxrwxrwx
get_and_set_fields.feature
10.55
KB
-rwxrwxrwx
get_and_set_fields_in_containe...
1.5
KB
-rwxrwxrwx
i_am_on_page.feature
5.18
KB
-rwxrwxrwx
inplaceeditable.feature
1.29
KB
-rwxrwxrwx
keyboard.feature
1.93
KB
-rwxrwxrwx
list_steps.feature
1.88
KB
-rwxrwxrwx
loginout.feature
4.4
KB
-rwxrwxrwx
manipulate_forms.feature
1.2
KB
-rwxrwxrwx
nasty_strings.feature
2.38
KB
-rwxrwxrwx
test_environment.feature
304
B
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : nasty_strings.feature
@tool @tool_behat Feature: Transform steps arguments In order to write tests with complex nasty arguments As a tests writer I need to apply some transformations to the steps arguments Background: Given I am on site homepage And the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And I log in as "admin" And I open my profile in edit mode Scenario: Use nasty strings on steps arguments When I set the field "Surname" to "$NASTYSTRING1" And I set the field "Description" to "$NASTYSTRING2" And I set the field "City/town" to "$NASTYSTRING3" And I press "Update profile" And I click on "Edit profile" "link" in the "region-main" "region" Then I should not see "NASTYSTRING" And the field "Surname" matches value "$NASTYSTRING1" And the field "City/town" matches value "$NASTYSTRING3" Scenario: Use nasty strings on table nodes When I set the following fields to these values: | Surname | $NASTYSTRING1 | | Description | $NASTYSTRING2 | | City/town | $NASTYSTRING3 | And I press "Update profile" And I click on "Edit profile" "link" in the "region-main" "region" Then I should not see "NASTYSTRING" And the field "Surname" matches value "$NASTYSTRING1" And the field "City/town" matches value "$NASTYSTRING3" Scenario: Use double quotes When I set the following fields to these values: | First name | va"lue1 | | Description | va\"lue2 | And I set the field "City/town" to "va\"lue3" And I press "Update profile" And I click on "Edit profile" "link" in the "region-main" "region" Then I should not see "NASTYSTRING" And the field "First name" matches value "va\"lue1" And the field "Description" matches value "va\\"lue2" And the field "City/town" matches value "va\"lue3" Scenario: Nasty strings with other contents When I set the field "First name" to "My Firstname $NASTYSTRING1" And I set the following fields to these values: | Surname | My Surname $NASTYSTRING2 | And I press "Update profile" And I click on "Edit profile" "link" in the "region-main" "region" Then I should not see "NASTYSTRING" And I should see "My Firstname" And I should see "My Surname" And the field "First name" matches value "My Firstname $NASTYSTRING1" And the field "Surname" matches value "My Surname $NASTYSTRING2"
Close