Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
includes /
Delete
Unzip
Name
Size
Permission
Date
Action
actions.inc
14.34
KB
-rw-r--r--
2014-12-11 05:44
batch.inc
11.21
KB
-rw-r--r--
2014-12-11 05:44
bootstrap.inc
45.69
KB
-rw-r--r--
2014-12-11 05:44
cache-install.inc
700
B
-rw-r--r--
2014-12-11 05:44
cache.inc
7.04
KB
-rw-r--r--
2014-12-11 05:44
common.inc
130.73
KB
-rw-r--r--
2014-12-11 05:44
database.inc
21.35
KB
-rw-r--r--
2014-12-11 05:44
database.mysql-common.inc
15.17
KB
-rw-r--r--
2014-12-11 05:44
database.mysql.inc
10.81
KB
-rw-r--r--
2014-12-11 05:44
database.mysqli.inc
10.97
KB
-rw-r--r--
2014-12-11 05:44
database.pgsql.inc
26.56
KB
-rw-r--r--
2014-12-11 05:44
file.inc
56.49
KB
-rw-r--r--
2019-10-08 10:17
form.inc
94.98
KB
-rw-r--r--
2019-10-08 10:26
image.gd.inc
6.13
KB
-rw-r--r--
2014-12-11 05:44
image.inc
8.35
KB
-rw-r--r--
2014-12-11 05:44
install.inc
22
KB
-rw-r--r--
2014-12-11 05:44
install.mysql.inc
4.91
KB
-rw-r--r--
2014-12-11 05:44
install.mysqli.inc
5.03
KB
-rw-r--r--
2014-12-11 05:44
install.pgsql.inc
5.51
KB
-rw-r--r--
2014-12-11 05:44
language.inc
4.35
KB
-rw-r--r--
2014-12-11 05:44
locale.inc
95.76
KB
-rw-r--r--
2014-12-11 05:44
lock-install.inc
1.23
KB
-rw-r--r--
2014-12-11 05:44
lock.inc
7.72
KB
-rw-r--r--
2014-12-11 05:44
mail.inc
17.56
KB
-rw-r--r--
2014-12-11 05:44
menu.inc
87.69
KB
-rw-r--r--
2014-12-11 05:44
module.inc
16.83
KB
-rw-r--r--
2014-12-11 05:44
pager.inc
14.45
KB
-rw-r--r--
2014-12-11 05:44
path.inc
7.9
KB
-rw-r--r--
2014-12-11 05:44
session.inc
7.45
KB
-rw-r--r--
2014-12-11 05:44
tablesort.inc
6
KB
-rw-r--r--
2014-12-11 05:44
theme.inc
69.52
KB
-rw-r--r--
2014-12-11 05:44
theme.maintenance.inc
11.16
KB
-rw-r--r--
2014-12-11 05:44
unicode.entities.inc
5.36
KB
-rw-r--r--
2014-12-11 05:44
unicode.inc
17.23
KB
-rw-r--r--
2019-10-08 10:17
xmlrpc.inc
15.37
KB
-rw-r--r--
2014-12-11 05:44
xmlrpcs.inc
9.22
KB
-rw-r--r--
2014-12-11 05:44
Save
Rename
<?php // MySQLi specific install functions /** * Check if MySQLi is available. * * @return * TRUE/FALSE */ function mysqli_is_available() { return function_exists('mysqli_connect'); } /** * Check if we can connect to MySQL. * * @return * TRUE/FALSE */ function drupal_test_mysqli($url, &$success) { if (!mysqli_is_available()) { drupal_set_message(st('PHP MySQLi support not enabled.'), 'error'); return FALSE; } $url = parse_url($url); // Decode urlencoded information in the db connection string. $url['user'] = urldecode($url['user']); $url['pass'] = isset($url['pass']) ? urldecode($url['pass']) : ''; $url['host'] = urldecode($url['host']); $url['path'] = urldecode($url['path']); $connection = mysqli_init(); @mysqli_real_connect($connection, $url['host'], $url['user'], $url['pass'], substr($url['path'], 1), $url['port'], NULL, MYSQLI_CLIENT_FOUND_ROWS); if (mysqli_connect_errno() >= 2000 || mysqli_connect_errno() == 1045) { drupal_set_message(st('Failed to connect to your MySQL database server. MySQL reports the following message: %error.<ul><li>Are you sure you have the correct username and password?</li><li>Are you sure that you have typed the correct database hostname?</li><li>Are you sure that the database server is running?</li></ul>For more help, see the <a href="http://drupal.org/node/258">Installation and upgrading handbook</a>. If you are unsure what these terms mean you should probably contact your hosting provider.', array('%error' => mysqli_connect_error())), 'error'); return FALSE; } // Test selecting the database. if (mysqli_connect_errno() > 0) { drupal_set_message(st('Failed to select your database on your MySQL database server, which means the connection username and password are valid, but there is a problem accessing your data. MySQL reports the following message: %error.<ul><li>Are you sure you have the correct database name?</li><li>Are you sure the database exists?</li><li>Are you sure the username has permission to access the database?</li></ul>For more help, see the <a href="http://drupal.org/node/258">Installation and upgrading handbook</a>. If you are unsure what these terms mean you should probably contact your hosting provider.', array('%error' => mysqli_connect_error())), 'error'); return FALSE; } $success = array('CONNECT'); // Test CREATE. $query = 'CREATE TABLE drupal_install_test (id int NULL)'; $result = mysqli_query($connection, $query); if ($error = mysqli_error($connection)) { drupal_set_message(st('Failed to create a test table on your MySQL database server with the command %query. MySQL reports the following message: %error.<ul><li>Are you sure the configured username has the necessary MySQL permissions to create tables in the database?</li></ul>For more help, see the <a href="http://drupal.org/node/258">Installation and upgrading handbook</a>. If you are unsure what these terms mean you should probably contact your hosting provider.', array('%query' => $query, '%error' => $error)), 'error'); return FALSE; } $err = FALSE; $success[] = 'SELECT'; $success[] = 'CREATE'; // Test INSERT. $query = 'INSERT INTO drupal_install_test (id) VALUES (1)'; $result = mysqli_query($connection, $query); if ($error = mysqli_error($connection)) { drupal_set_message(st('Failed to insert a value into a test table on your MySQL database server. We tried inserting a value with the command %query and MySQL reported the following error: %error.', array('%query' => $query, '%error' => $error)), 'error'); $err = TRUE; } else { $success[] = 'INSERT'; } // Test UPDATE. $query = 'UPDATE drupal_install_test SET id = 2'; $result = mysqli_query($connection, $query); if ($error = mysqli_error($connection)) { drupal_set_message(st('Failed to update a value in a test table on your MySQL database server. We tried updating a value with the command %query and MySQL reported the following error: %error.', array('%query' => $query, '%error' => $error)), 'error'); $err = TRUE; } else { $success[] = 'UPDATE'; } // Test DELETE. $query = 'DELETE FROM drupal_install_test'; $result = mysqli_query($connection, $query); if ($error = mysqli_error($connection)) { drupal_set_message(st('Failed to delete a value from a test table on your MySQL database server. We tried deleting a value with the command %query and MySQL reported the following error: %error.', array('%query' => $query, '%error' => $error)), 'error'); $err = TRUE; } else { $success[] = 'DELETE'; } // Test DROP. $query = 'DROP TABLE drupal_install_test'; $result = mysqli_query($connection, $query); if ($error = mysqli_error($connection)) { drupal_set_message(st('Failed to drop a test table from your MySQL database server. We tried dropping a table with the command %query and MySQL reported the following error %error.', array('%query' => $query, '%error' => $error)), 'error'); $err = TRUE; } else { $success[] = 'DROP'; } if ($err) { return FALSE; } mysqli_close($connection); return TRUE; }