Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.216.70.76
Cant Read [ /etc/named.conf ]
8.1.13
www
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
mysql /
mysql-test /
extra /
binlog_tests /
[ HOME SHELL ]
Name
Size
Permission
Action
binlog.test
10.5
KB
-rw-r--r--
binlog_cache_stat.test
13.09
KB
-rw-r--r--
binlog_gtid_mode_permissive_se...
1.07
KB
-rw-r--r--
binlog_gtid_mode_set_gtid_next...
1.92
KB
-rw-r--r--
binlog_gtid_next_xa.inc
5.73
KB
-rw-r--r--
binlog_implicit_commit.inc
1.6
KB
-rw-r--r--
binlog_innodb.inc
3.9
KB
-rw-r--r--
binlog_mysqlbinlog_fill.inc
1.76
KB
-rw-r--r--
binlog_mysqlbinlog_row.inc
12.67
KB
-rw-r--r--
binlog_mysqlbinlog_start_stop....
1.81
KB
-rw-r--r--
binlog_row_kill_create_select....
1.82
KB
-rw-r--r--
binlog_truncate.test
1.6
KB
-rw-r--r--
binlog_xa_prepare_connection.i...
903
B
-rw-r--r--
binlog_xa_prepare_disconnect.i...
1.11
KB
-rw-r--r--
binlog_xa_prepared.test
6.05
KB
-rw-r--r--
binlog_xa_prepared_do_and_rest...
9.59
KB
-rw-r--r--
blackhole.test
5.67
KB
-rw-r--r--
ctype_cp932.test
27.77
KB
-rw-r--r--
ctype_cp932_binlog.test
1.25
KB
-rw-r--r--
ctype_ucs_binlog.test
684
B
-rw-r--r--
database.test
2.78
KB
-rw-r--r--
drop_table.test
619
B
-rw-r--r--
drop_temp_table.test
7.9
KB
-rw-r--r--
enforce_gtid_consistency.test
5.4
KB
-rw-r--r--
enforce_gtid_consistency_creat...
2.96
KB
-rw-r--r--
enforce_gtid_consistency_creat...
3.53
KB
-rw-r--r--
enforce_gtid_consistency_state...
9.6
KB
-rw-r--r--
enforce_gtid_consistency_tmp_c...
3.77
KB
-rw-r--r--
enforce_gtid_consistency_tmp_v...
3.35
KB
-rw-r--r--
enforce_gtid_consistency_trx_n...
5.46
KB
-rw-r--r--
enforce_gtid_consistency_trx_n...
3.39
KB
-rw-r--r--
gtid_next_begin_caused_trx.tes...
3.11
KB
-rw-r--r--
gtid_next_single_stmt_trx_roll...
11.01
KB
-rw-r--r--
gtid_next_single_stmt_trx_roll...
10.92
KB
-rw-r--r--
gtid_next_xa.test
3.65
KB
-rw-r--r--
gtid_next_xa_error_simul.test
8.37
KB
-rw-r--r--
implicit.test
567
B
-rw-r--r--
insert_select-binlog.test
1.03
KB
-rw-r--r--
logical_timestamping.inc
5.4
KB
-rw-r--r--
mix_innodb_myisam_binlog.test
15.98
KB
-rw-r--r--
mix_innodb_myisam_side_effects...
6.47
KB
-rw-r--r--
mysqlbinlog_rewrite_db.test
3.47
KB
-rw-r--r--
mysqlbinlog_row_engine.inc
43.86
KB
-rw-r--r--
mysqlbinlog_start_stop_1.inc
1.71
KB
-rw-r--r--
mysqlbinlog_start_stop_2.inc
1.19
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mysqlbinlog_rewrite_db.test
# # This test validates that when the rewrite rules are # specified for mysqlbinlog, we can replay the logs # according to those rules. For instance, on SBR the # USE clause will be rewritten properly and on RBR, # the Table_map_log_event is also rewritten properly. # # Moreover, this also tests that a database not affected # by the rewritting is left untouched. # # To be included in the binlog_rewrite_order.test # # parameters: # --let $rewrite_from_db=<from_db> # --let $rewrite_to_db=<to_db> # [--let $other=<neutral_name_db>] # --source extra/binlog_tests/mysqlbinlog_rewrite_db.test # if (!$other) { --let $other=_other_ } RESET MASTER; --eval CREATE SCHEMA $rewrite_from_db --eval USE $rewrite_from_db FLUSH LOGS; CREATE TABLE test (id int); CREATE TABLE tload (c1 TEXT); SET SESSION BINLOG_FORMAT=STATEMENT; INSERT INTO test (id) VALUES (1); SET SESSION BINLOG_FORMAT=ROW; INSERT INTO test (id) VALUES (2); SET SESSION BINLOG_FORMAT=STATEMENT; LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE tload; SET SESSION SQL_LOG_BIN=0; --eval CREATE DATABASE $other --eval USE $other SET SESSION SQL_LOG_BIN=1; CREATE TABLE t1 (a INT); SET SESSION BINLOG_FORMAT=STATEMENT; INSERT INTO t1 VALUES (1); SET SESSION BINLOG_FORMAT=ROW; INSERT INTO t1 VALUES (2); --let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1) SET SQL_LOG_BIN=0; FLUSH LOGS; --copy_file $datadir/$binlog_file $datadir/backup_$binlog_file --eval CREATE SCHEMA $rewrite_to_db RESET MASTER; --eval TRUNCATE $other.t1 # # Assert that the changes are applied when we rewrite the # database name and also filter only those changes that affect # the database with the new name # --exec $MYSQL_BINLOG --database=$rewrite_to_db --rewrite-db="$rewrite_from_db->$rewrite_to_db" --force-if-open $datadir/backup_$binlog_file | $MYSQL --local-infile=1 --let $diff_tables=$rewrite_from_db.test,$rewrite_to_db.test --source include/diff_tables.inc --let $diff_tables=$rewrite_from_db.tload,$rewrite_to_db.tload --source include/diff_tables.inc --eval TRUNCATE $rewrite_to_db.test --eval TRUNCATE $rewrite_to_db.tload --eval TRUNCATE $other.t1 RESET MASTER; # # Assert that the no changes are applied when we rewrite the # database name and also filter only changes to the database # with the old name # --exec $MYSQL_BINLOG --database=$rewrite_from_db --rewrite-db="$rewrite_from_db->$rewrite_to_db" --force-if-open $datadir/backup_$binlog_file | $MYSQL --local-infile=1 --eval USE $rewrite_to_db --let $assert_text= Zero records on $rewrite_to_db.test --let $assert_cond= COUNT(*) = 0 FROM test --source include/assert.inc --let $assert_text= There is NO data in 'tload' table --let $assert_cond= COUNT(*) = 0 FROM tload --source include/assert.inc --eval TRUNCATE $rewrite_to_db.test --eval TRUNCATE $rewrite_to_db.tload --eval TRUNCATE $other.t1 RESET MASTER; # # Assert that if the database name is not rewritten, then # it is applied properly. # --eval DROP TABLE $rewrite_to_db.test --eval DROP TABLE $rewrite_to_db.tload --eval DROP TABLE $other.t1 --exec $MYSQL_BINLOG --rewrite-db="$rewrite_from_db->$rewrite_to_db" --force-if-open $datadir/backup_$binlog_file | $MYSQL --local-infile=1 --let $assert_cond= COUNT(*) = 2 FROM $other.t1 --let $assert_text= Verify that other database was not rewritten --source include/assert.inc SET SQL_LOG_BIN=1; --eval SET BINLOG_FORMAT=$saved_binlog_format --eval DROP SCHEMA $rewrite_to_db --eval DROP SCHEMA $rewrite_from_db --eval DROP SCHEMA $other RESET MASTER; --remove_file $datadir/backup_$binlog_file
Close