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 | : 13.59.196.41
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 /
suite /
ndb_binlog /
t /
[ HOME SHELL ]
Name
Size
Permission
Action
binlog_multi_engine.test
3.44
KB
-rw-r--r--
disabled.def
405
B
-rw-r--r--
ndb_binlog_basic.test
4.89
KB
-rw-r--r--
ndb_binlog_check_binlog_index....
8.88
KB
-rw-r--r--
ndb_binlog_cmp_epoch_vals.inc
1.51
KB
-rw-r--r--
ndb_binlog_ddl_multi.test
3.9
KB
-rw-r--r--
ndb_binlog_default_format-mast...
10
B
-rw-r--r--
ndb_binlog_default_format.cnf
663
B
-rw-r--r--
ndb_binlog_default_format.test
576
B
-rw-r--r--
ndb_binlog_discover.test
1.85
KB
-rw-r--r--
ndb_binlog_discover_multi.test
2.37
KB
-rw-r--r--
ndb_binlog_eventbuffer.test
699
B
-rw-r--r--
ndb_binlog_flush_log_waits.tes...
1.86
KB
-rw-r--r--
ndb_binlog_flush_tables_with_r...
5.47
KB
-rw-r--r--
ndb_binlog_format.test
1.37
KB
-rw-r--r--
ndb_binlog_get_binlog_stmts.in...
122
B
-rw-r--r--
ndb_binlog_get_binlog_stmts_ba...
2.91
KB
-rw-r--r--
ndb_binlog_get_row_extra_data....
1.02
KB
-rw-r--r--
ndb_binlog_ignore_db-master.op...
53
B
-rw-r--r--
ndb_binlog_ignore_db.test
2.39
KB
-rw-r--r--
ndb_binlog_index.test
2.61
KB
-rw-r--r--
ndb_binlog_index_test_schema_i...
4.13
KB
-rw-r--r--
ndb_binlog_init_epoch_vals.inc
355
B
-rw-r--r--
ndb_binlog_last_commit_epoch.t...
2.23
KB
-rw-r--r--
ndb_binlog_log_apply_status.te...
1.88
KB
-rw-r--r--
ndb_binlog_log_bin.test
1.53
KB
-rw-r--r--
ndb_binlog_log_reads.cnf
1
KB
-rw-r--r--
ndb_binlog_log_reads.test
18.2
KB
-rw-r--r--
ndb_binlog_log_transaction_id-...
59
B
-rw-r--r--
ndb_binlog_log_transaction_id....
3.25
KB
-rw-r--r--
ndb_binlog_manual_apply.cnf
61
B
-rw-r--r--
ndb_binlog_manual_apply.test
1.79
KB
-rw-r--r--
ndb_binlog_multi.test
3.4
KB
-rw-r--r--
ndb_binlog_purge-master.opt
77
B
-rw-r--r--
ndb_binlog_purge.test
2.71
KB
-rw-r--r--
ndb_binlog_restore.test
5.16
KB
-rw-r--r--
ndb_binlog_size_based_rotate.t...
597
B
-rw-r--r--
ndb_binlog_test_conflict_flags...
3.63
KB
-rw-r--r--
ndb_binlog_unique_epoch.cnf
164
B
-rw-r--r--
ndb_binlog_unique_epoch.test
3.86
KB
-rw-r--r--
ndb_binlog_variants.cnf
975
B
-rw-r--r--
ndb_binlog_variants.test
10.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ndb_binlog_get_binlog_stmts_basic.inc
# # Get the mysqlbinlog tool --verbose mode to dump the Binlog contents with # 'SQL' statements in triple-comments over multiple lines, e.g. : # ### INSERT ### SET ### @1=1 ### @2=2 # # Then munch this output into single-line statements # e.g. : # INSERT SET @1=1 @2=2 # # Then filter + sort to get deterministic order independent of Ndb table # fragmentation, epoch in ndb_apply_status etc. # --disable_query_log let $MYSQLD_DATADIR= `select @@datadir;`; --exec $MYSQL_BINLOG --verbose $MYSQLD_DATADIR/mysqld-bin.000001 > $MYSQLTEST_VARDIR/tmp/ndb_binlog_mysqlbinlog.sql create table raw_binlog_rows (txt varchar(1000)); --eval load data local infile '$MYSQLTEST_VARDIR/tmp/ndb_binlog_mysqlbinlog.sql' into table raw_binlog_rows columns terminated by '\n'; create table binlog_stmt_parts_unassoc (txt varchar(1000), line_count int, stmt_boundary int); set @line_count=0; set @stmt_boundary=0; # Use replace() here to get rid of any unwanted Windows # CRs insert into binlog_stmt_parts_unassoc select replace(txt, '\r', ''), @line_count:= @line_count + 1, # So we can preserve order later (txt like '%INSERT%' or # Identify statement boundaries txt like '%UPDATE%' or txt like '%DELETE%') from raw_binlog_rows where txt like '###%'; # Discard non verbose output #select * from binlog_stmt_parts_unassoc; create table binlog_stmt_parts_assoc (txt varchar(1000), line_count int, stmt_num int); set @stmt_count = 0; insert into binlog_stmt_parts_assoc select txt, line_count, @stmt_count:= @stmt_count + stmt_boundary # All rows from same stmt will # have same stmt_num from binlog_stmt_parts_unassoc order by line_count; #select * from binlog_stmt_parts_assoc; create table binlog_stmts (txt varchar(1000), stmt_num int); insert into binlog_stmts select group_concat(right(txt, # Combine rows in statment into 1 length(txt) - 4) # Trim ### from line start order by line_count separator ' '), stmt_num from binlog_stmt_parts_assoc group by stmt_num; #select * from binlog_stmts; # Drop ndb_apply_status entries and sort by the statment # text to get a deterministic order. # # Reasonable order would be sort by (PK-cols, stmt_num) # - Sorting by PK-cols would give determinism between events from different # fragments # - Multiple ops on same pk would be in order of application # # However, as that's harder, and unnecessary given that we just want # deterministic output, not applicable SQL, we will just sort by # the statement text # --enable_query_log --eval select txt from binlog_stmts where txt $binlog_condition order by txt --disable_query_log drop table raw_binlog_rows; drop table binlog_stmt_parts_unassoc; drop table binlog_stmt_parts_assoc; drop table binlog_stmts; --enable_query_log
Close