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.145.41.173
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 /
includes /
[ HOME SHELL ]
Name
Size
Permission
Action
action-links.theme.inc
697
B
-rw-r--r--
ajax.inc
4.67
KB
-rw-r--r--
cache.inc
5.79
KB
-rw-r--r--
cache.plugin-type.inc
236
B
-rw-r--r--
cleanstring.inc
7.66
KB
-rw-r--r--
collapsible.theme.inc
2.46
KB
-rw-r--r--
content.inc
25.63
KB
-rw-r--r--
content.menu.inc
6.67
KB
-rw-r--r--
content.plugin-type.inc
381
B
-rw-r--r--
content.theme.inc
458
B
-rw-r--r--
context-access-admin.inc
15.17
KB
-rw-r--r--
context-admin.inc
27.37
KB
-rw-r--r--
context-task-handler.inc
17.42
KB
-rw-r--r--
context.inc
47.33
KB
-rw-r--r--
context.menu.inc
1.23
KB
-rw-r--r--
context.plugin-type.inc
545
B
-rw-r--r--
context.theme.inc
12.42
KB
-rw-r--r--
css-cache.inc
971
B
-rw-r--r--
css.inc
17.43
KB
-rw-r--r--
dependent.inc
6.16
KB
-rw-r--r--
dropbutton.theme.inc
5.05
KB
-rw-r--r--
dropdown.theme.inc
3.1
KB
-rw-r--r--
entity-access.inc
4.61
KB
-rw-r--r--
export-ui.inc
16.62
KB
-rw-r--r--
export-ui.menu.inc
710
B
-rw-r--r--
export-ui.plugin-type.inc
536
B
-rw-r--r--
export.inc
39.03
KB
-rw-r--r--
fields.inc
12.42
KB
-rw-r--r--
jump-menu.inc
4.6
KB
-rw-r--r--
language.inc
1.18
KB
-rw-r--r--
math-expr.inc
17.69
KB
-rw-r--r--
menu.inc
3.28
KB
-rw-r--r--
modal.inc
7.77
KB
-rw-r--r--
object-cache.cron.inc
345
B
-rw-r--r--
object-cache.inc
6.39
KB
-rw-r--r--
page-wizard.inc
5.12
KB
-rw-r--r--
page-wizard.menu.inc
756
B
-rw-r--r--
plugins-admin.inc
7.38
KB
-rw-r--r--
plugins.inc
31.89
KB
-rw-r--r--
registry.inc
3
KB
-rw-r--r--
stylizer.inc
48.24
KB
-rw-r--r--
stylizer.theme.inc
647
B
-rw-r--r--
utility.inc
1.05
KB
-rw-r--r--
uuid.inc
1.97
KB
-rw-r--r--
views.inc
879
B
-rw-r--r--
wizard.inc
17.74
KB
-rw-r--r--
wizard.theme.inc
539
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : entity-access.inc
<?php /** * @file * Provides various callbacks for the whole core module integration. * This is a copy of Entity API's functionality for use when Entity API isn't * Enabled, and only works on view functions. */ /** * Core hack to include entity api-esque 'access callback' functions to core * entities without needing to rely on entity api. * Exception: We don't touch file entity. You must have entity API enabled to * view files. */ function _ctools_entity_access(&$entity_info, $entity_type) { // If the access callback is already set, don't change anything. if (isset($entity_info['access callback'])) { return; } switch ($entity_type) { case 'node': // Sad panda, we don't use Entity API, lets manually add access callbacks. $entity_info['access callback'] = 'ctools_metadata_no_hook_node_access'; break; case 'user': $entity_info['access callback'] = 'ctools_metadata_user_access'; break; case 'comment': if (module_exists('comment')) { $entity_info['access callback'] = 'ctools_metadata_comment_access'; } break; case 'taxonomy_term': if (module_exists('taxonomy')) { $entity_info['access callback'] = 'ctools_metadata_taxonomy_access'; } break; case 'taxonomy_vocabulary': if (module_exists('taxonomy')) { $entity_info['access callback'] = 'ctools_metadata_taxonomy_access'; } break; } } /** * Access callback for the node entity. * * This function does not implement hook_node_access(), thus it may not be * called ctools_metadata_node_access(). * * @see entity_access() * * @param $op * The operation being performed. One of 'view', 'update', 'create' or * 'delete'. * @param $node * A node to check access for. Must be a node object. Must have nid, * except in the case of 'create' operations. * @param $account * The user to check for. Leave it to NULL to check for the global user. * * @throws EntityMalformedException * * @return boolean * TRUE if access is allowed, FALSE otherwise. */ function ctools_metadata_no_hook_node_access($op, $node = NULL, $account = NULL) { // First deal with the case where a $node is provided. if (isset($node)) { // If a non-default revision is given, incorporate revision access. $default_revision = node_load($node->nid); if ($node->vid !== $default_revision->vid) { return _node_revision_access($node, $op, $account); } else { return node_access($op, $node, $account); } } // No node is provided. Check for access to all nodes. if (user_access('bypass node access', $account)) { return TRUE; } if (!user_access('access content', $account)) { return FALSE; } if ($op == 'view' && node_access_view_all_nodes($account)) { return TRUE; } return FALSE; } /** * Access callback for the user entity. */ function ctools_metadata_user_access($op, $entity = NULL, $account = NULL, $entity_type) { $account = isset($account) ? $account : $GLOBALS['user']; // Grant access to the users own user account and to the anonymous one. if (isset($entity) && $op != 'delete' && (($entity->uid == $account->uid && $entity->uid) || (!$entity->uid && $op == 'view'))) { return TRUE; } if (user_access('administer users', $account) || user_access('access user profiles', $account) && $op == 'view' && $entity->status) { return TRUE; } return FALSE; } /** * Access callback for the comment entity. */ function ctools_metadata_comment_access($op, $entity = NULL, $account = NULL) { // When determining access to a comment, if comment has an associated node, // the user must be able to view the node in order to access the comment. if (isset($entity->nid)) { if (!node_access('view', node_load($entity->nid), $account)) { return FALSE; } } // Comment administrators are allowed to perform all operations on all // comments. if (user_access('administer comments', $account)) { return TRUE; } // Unpublished comments can never be accessed by non-admins. if (isset($entity->status) && $entity->status == COMMENT_NOT_PUBLISHED) { return FALSE; } if (user_access('access comments', $account) && $op == 'view') { return TRUE; } return FALSE; } /** * Access callback for the taxonomy entities. */ function ctools_metadata_taxonomy_access($op, $entity = NULL, $account = NULL, $entity_type) { if ($entity_type == 'taxonomy_vocabulary') { return user_access('administer taxonomy', $account); } if (user_access('administer taxonomy', $account) || user_access('access content', $account) && $op == 'view') { return TRUE; } return FALSE; }
Close