OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
mysql
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/20/2022 06:47:16 AM
rwxr-xr-x
📁
bulgarian
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
charsets
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
czech
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
danish
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📄
debian_create_root_user.sql
1.79 KB
10/19/2022 12:58:42 PM
rw-r--r--
📄
dictionary.txt
24.98 KB
08/30/2022 03:50:14 AM
rw-r--r--
📁
docs
-
11/20/2022 06:47:02 AM
rwxr-xr-x
📁
dutch
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📄
echo_stderr
27 bytes
10/19/2022 12:58:42 PM
rwxr-xr-x
📁
english
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📄
errmsg-utf8.txt
518.77 KB
08/30/2022 03:50:14 AM
rw-r--r--
📁
estonian
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📄
fill_help_tables.sql
1.02 MB
08/30/2022 04:00:27 AM
rw-r--r--
📁
french
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
german
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
greek
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
hungarian
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📄
innodb_memcached_config.sql
3.91 KB
08/30/2022 03:50:14 AM
rw-r--r--
📄
install_rewriter.sql
2.17 KB
10/19/2022 12:58:42 PM
rw-r--r--
📁
italian
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
japanese
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
korean
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📄
magic
773 bytes
08/30/2022 03:50:14 AM
rw-r--r--
📄
mysql-log-rotate
844 bytes
10/19/2022 12:58:42 PM
rw-r--r--
📄
mysql-systemd-start
1.91 KB
08/19/2021 04:34:52 PM
rwxr-xr-x
📄
mysql_security_commands.sql
2.12 KB
08/30/2022 03:50:14 AM
rw-r--r--
📄
mysql_sys_schema.sql
281.58 KB
08/30/2022 03:50:14 AM
rw-r--r--
📄
mysql_system_tables.sql
151.8 KB
08/30/2022 03:50:14 AM
rw-r--r--
📄
mysql_system_tables_data.sql
1.19 KB
08/30/2022 03:50:14 AM
rw-r--r--
📄
mysql_test_data_timezone.sql
10.61 KB
08/30/2022 03:50:14 AM
rw-r--r--
📄
mysqld_multi.server
1.04 KB
10/19/2022 12:58:42 PM
rwxr-xr-x
📁
norwegian
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
norwegian-ny
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
polish
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
portuguese
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
romanian
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
russian
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
serbian
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
slovak
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
spanish
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
swedish
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📁
ukrainian
-
11/20/2022 06:47:03 AM
rwxr-xr-x
📄
uninstall_rewriter.sql
1.21 KB
10/19/2022 12:58:42 PM
rw-r--r--
Editing: install_rewriter.sql
Close
/* Copyright (c) 2015, 2022, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain software (including but not limited to OpenSSL) that is licensed under separate terms, as designated in a particular file or component or in included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the separately licensed software that they have included with MySQL. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */ CREATE DATABASE IF NOT EXISTS query_rewrite; CREATE TABLE IF NOT EXISTS query_rewrite.rewrite_rules ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, pattern VARCHAR(10000) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, pattern_database VARCHAR(20) CHARACTER SET utf8 COLLATE utf8_bin, replacement VARCHAR(10000) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, enabled ENUM('YES', 'NO') CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT 'YES', message VARCHAR(1000) CHARACTER SET utf8 COLLATE utf8_bin, pattern_digest VARCHAR(32), normalized_pattern VARCHAR(100) ) DEFAULT CHARSET = utf8 ENGINE = INNODB; INSTALL PLUGIN rewriter SONAME 'rewriter.so'; CREATE FUNCTION load_rewrite_rules RETURNS STRING SONAME 'rewriter.so'; DELIMITER // CREATE PROCEDURE query_rewrite.flush_rewrite_rules() BEGIN DECLARE message_text VARCHAR(100); COMMIT; SELECT load_rewrite_rules() INTO message_text; RESET QUERY CACHE; IF NOT message_text IS NULL THEN SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = message_text; END IF; END // DELIMITER ; RESET QUERY CACHE;