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.216.126.33
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 : term.inc
<?php /** * @file * Plugin to provide access control based upon specific terms. */ /** * Plugins are described by creating a $plugin array which will be used * by the system that includes this file. */ $plugin = array( 'title' => t("Taxonomy: term"), 'description' => t('Control access by a specific term.'), 'callback' => 'ctools_term_ctools_access_check', 'default' => array('vids' => array()), 'settings form' => 'ctools_term_ctools_access_settings', 'settings form validation' => 'ctools_term_ctools_access_settings_validate', 'settings form submit' => 'ctools_term_ctools_access_settings_submit', 'summary' => 'ctools_term_ctools_access_summary', 'required context' => new ctools_context_required(t('Term'), array('taxonomy_term', 'terms')), ); /** * Settings form for the 'by term' access plugin */ function ctools_term_ctools_access_settings($form, &$form_state, $conf) { // If no configuration was saved before, set some defaults. if (empty($conf)) { $conf = array( 'vid' => 0, ); } if (!isset($conf['vid'])) { $conf['vid'] = 0; } $form['settings']['vid'] = array( '#title' => t('Vocabulary'), '#type' => 'select', '#options' => array(), '#description' => t('Select the vocabulary for this form.'), '#id' => 'ctools-select-vid', '#default_value' => $conf['vid'], '#required' => TRUE, ); ctools_include('dependent'); $options = array(); // A note: Dependency works strangely on these forms as they have never been // updated to a more modern system so they are not individual forms of their // own like the content types. $form['settings']['#tree'] = TRUE; // Loop over each of the configured vocabularies. foreach (taxonomy_get_vocabularies() as $vid => $vocabulary) { $options[$vid] = $vocabulary->name; $form['settings'][$vocabulary->vid] = array( '#title' => t('Terms'), '#description' => t('Select a term or terms from @vocabulary.', array('@vocabulary' => $vocabulary->name)), //. $description, '#dependency' => array('ctools-select-vid' => array($vocabulary->vid)), '#default_value' => !empty($conf[$vid]) ? $conf[$vid] : '', '#multiple' => TRUE, ); $terms = array(); foreach (taxonomy_get_tree($vocabulary->vid) as $tid => $term) { $terms[$term->tid] = str_repeat('-', $term->depth) . ($term->depth ? ' ' : '') . $term->name; } $form['settings'][$vocabulary->vid]['#type'] = 'select'; $form['settings'][$vocabulary->vid]['#options'] = $terms; unset($terms); } $form['settings']['vid']['#options'] = $options; return $form; } /** * Check for access. */ function ctools_term_ctools_access_check($conf, $context) { // As far as I know there should always be a context at this point, but this // is safe. if (empty($context) || empty($context->data) || empty($context->data->vid) || empty($context->data->tid)) { return FALSE; } // Get the $vid. if (!isset($conf['vid'])) { return FALSE; } $vid = $conf['vid']; // Get the terms. if (!isset($conf[$vid])) { return FALSE; } $return = FALSE; $terms = array_filter($conf[$vid]); // For multi-term if any terms coincide, let's call that good enough: if (isset($context->tids)) { return (bool) array_intersect($terms, $context->tids); } else { return in_array($context->data->tid, $terms); } } /** * Provide a summary description based upon the checked terms. */ function ctools_term_ctools_access_summary($conf, $context) { $vid = $conf['vid']; $terms = array(); foreach ($conf[$vid] as $tid) { $term = taxonomy_term_load($tid); $terms[] = $term->name; } return format_plural(count($terms), '@term can be the term "@terms"', '@term can be one of these terms: @terms', array('@terms' => implode(', ', $terms), '@term' => $context->identifier)); }
Close