403Webshell
Server IP : 104.21.94.62  /  Your IP : 216.73.217.74
Web Server : Apache
System : Linux semi1.us.cloudlogin.co 5.10.244-xeon-hst #1 SMP Sun Sep 14 17:09:20 UTC 2025 x86_64
User : xessglobal ( 271017)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : ON
Directory :  /proc/self/root/usr/local/ei2/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /proc/self/root/usr/local/ei2/drupal8.patch
diff -Nur drupal/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php drupal-orig/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
--- drupal/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php	2020-05-14 11:35:23.238162000 +0000
+++ drupal-orig/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php	2020-05-14 11:12:28.740979000 +0000
@@ -453,7 +453,7 @@
     // https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html#mysqld-8-0-11-deprecation-removal
     $version_server = $pdo->getAttribute(\PDO::ATTR_SERVER_VERSION);
     if (version_compare($version_server, '8.0.11', '<')) {
-      $sql_mode .= ',NO_AUTO_CREATE_USER';
+      //$sql_mode .= ',NO_AUTO_CREATE_USER';
     }
     $connection_options['init_commands'] += [
       'sql_mode' => "SET sql_mode = '$sql_mode'",
diff -Nur drupal/core/lib/Drupal/Core/Database/Schema.php drupal-orig/core/lib/Drupal/Core/Database/Schema.php
--- drupal/core/lib/Drupal/Core/Database/Schema.php	2020-05-14 11:35:44.070944000 +0000
+++ drupal-orig/core/lib/Drupal/Core/Database/Schema.php	2020-05-14 10:18:20.368611000 +0000
@@ -201,7 +201,7 @@
     // couldn't use \Drupal::database()->select() here because it would prefix
     // information_schema.tables and the query would fail.
     // Don't use {} around information_schema.tables table.
-    $results = $this->connection->query("SELECT table_name as table_name FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments());
+    $results = $this->connection->query("SELECT TABLE_NAME as table_name FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments());
     foreach ($results as $table) {
       // Take into account tables that have an individual prefix.
       if (isset($individually_prefixed_tables[$table->table_name])) {

Youez - 2016 - github.com/yon3zu
LinuXploit