OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
sbin
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/02/2024 09:00:29 PM
rwxr-xr-x
📄
aria_chk
5.51 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
aria_dump_log
5.3 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
aria_ftdump
5.31 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
aria_pack
5.34 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
aria_read_log
5.46 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
galera_new_cluster
921 bytes
10/29/2024 02:56:07 PM
rwxr-xr-x
📄
galera_recovery
3.29 KB
10/29/2024 02:56:07 PM
rwxr-xr-x
📄
innochecksum
4.57 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
mariadb
5.07 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-access
109.34 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-admin
4.85 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-binlog
5.13 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-check
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-config
15.79 KB
10/29/2024 04:05:02 PM
rwxr-xr-x
📄
mariadb-conv
4.56 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-convert-table-format
4.12 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-dump
4.93 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-dumpslow
8.05 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-embedded
24.19 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-find-rows
3.21 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-fix-extensions
1.22 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-hotcopy
34.52 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-import
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-install-db
22.11 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-ldb
5.29 MB
10/29/2024 04:33:49 PM
rwxr-xr-x
📄
mariadb-plugin
4.53 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-secure-installation
13.49 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-service-convert
2.45 KB
10/29/2024 02:32:33 PM
rwxr-xr-x
📄
mariadb-setpermission
17.56 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-show
4.83 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-slap
4.85 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-tzinfo-to-sql
4.53 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-upgrade
4.97 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
mariadb-waitpid
4.52 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb_config
15.79 KB
10/29/2024 04:05:02 PM
rwxr-xr-x
📄
mariadbd
26.23 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
mariadbd-multi
26.71 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadbd-safe
30.43 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadbd-safe-helper
4.5 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
msql2mysql
1.42 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
my_print_defaults
4.53 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
myisam_ftdump
4.86 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
myisamchk
4.98 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
myisamlog
4.84 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
myisampack
4.89 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
myrocks_hotbackup
24.46 KB
10/29/2024 02:55:50 PM
rwxr-xr-x
📄
mysql
5.07 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysql_config
4.57 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysql_embedded
24.19 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysql_find_rows
3.21 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysql_fix_extensions
1.22 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysql_install_db
22.11 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysql_ldb
5.29 MB
10/29/2024 04:33:49 PM
rwxr-xr-x
📄
mysql_plugin
4.53 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysql_tzinfo_to_sql
4.53 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysql_upgrade
4.97 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
mysql_waitpid
4.52 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlaccess
109.34 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysqladmin
4.85 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlbinlog
5.13 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlcheck
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqld
26.23 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
mysqld_multi
26.71 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysqld_safe
30.43 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysqld_safe_helper
4.5 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
mysqldump
4.93 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlimport
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlshow
4.83 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlslap
4.85 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mytop
71.95 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
perror
4.72 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
rcmysql
0 bytes
01/01/1970 12:00:00 AM
---------
📄
replace
4.5 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
resolve_stack_dump
4.53 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
resolveip
4.52 MB
10/29/2024 04:08:32 PM
rwxr-xr-x
📄
sst_dump
5.3 MB
10/29/2024 04:33:50 PM
rwxr-xr-x
📄
wsrep_sst_backup
2.39 KB
10/29/2024 02:56:07 PM
rwxr-xr-x
📄
wsrep_sst_common
65.72 KB
10/29/2024 02:56:06 PM
rw-r--r--
📄
wsrep_sst_mariabackup
48.1 KB
10/29/2024 02:56:07 PM
rwxr-xr-x
📄
wsrep_sst_mysqldump
8.03 KB
10/29/2024 02:56:07 PM
rwxr-xr-x
📄
wsrep_sst_rsync
29.69 KB
10/29/2024 02:56:07 PM
rwxr-xr-x
📄
wsrep_sst_rsync_wan
29.69 KB
10/29/2024 02:56:07 PM
rwxr-xr-x
Editing: mysql_find_rows
Close
#!/usr/bin/perl # Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # 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 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, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA $version="1.02"; use Getopt::Long; $opt_help=$opt_Information=$opt_skip_use_db=0; $opt_regexp=$opt_dbregexp=".*"; $opt_start_row=1; $opt_rows=9999999999; GetOptions("Information","help","regexp=s","start_row=i","rows=i", "dbregexp=s", "skip-use-db") || usage(); usage() if ($opt_help || $opt_Information); $query=$search=$database=$set=""; $eoq=0; while (<>) { next if (length($query) == 0 && /^\#/); # Skip comments $query.=search($_); if ($eoq) { if ($query =~ /^use /i || $query =~ /^SET / || ($query =~ /$opt_regexp/o && $database =~ /$opt_dbregexp/o)) { if ($opt_skip_use_db && $query =~ /^use /i) { $query=""; next; } if ($opt_start_row <= 1) { if ($database) { print $database, $set; $database=$set=""; } print $query; last if (--$opt_rows == 0); } else { $opt_start_row--; if ($query =~ /^use /) { $database=$query; $set=""; } elsif ($query =~ /^SET/) { $set=$query; } else { $set=""; } } } $query=""; $search=""; $eoq=0; } } exit 0; sub search { my($row)=shift; my($i); for ($i=0 ; $i < length($row) ; $i++) { if (length($search)) { if (length($search) > 1) { # Comment next if (substr($row,$i,length($search)) ne $search); $i+=length($search)-1; $search=""; } elsif (substr($row,$i,1) eq '\\') # Escaped char in string { $i++; } elsif (substr($row,$i,1) eq $search) { if (substr($row,$i+1,1) eq $search) # Double " or ' { $i++; } else { $search=""; } } next; } if (substr($row,$i,2) eq '/*') # Comment { $search="*/"; $i++; } elsif (substr($row,$i,1) eq "'" || substr($row,$i,1) eq '"') { $search=substr($row,$i,1); } } $eoq=1 if (!length($search) && $row =~ /;\s*$/); return $row; } sub usage { print <<EOF; $0 Ver $version Prints all SQL queries that matches a regexp or contains a 'use database' or 'set ..' command to stdout. A SQL query may contain newlines. This is useful to find things in a MariaDB update log. $0 takes the following options: --help or --Information Shows this help --regexp=# Print queries that matches this. --start_row=# Start output from this row (first row = 1) --skip-use-db Don\'t include \'use database\' commands in the output. --rows=# Quit after this many rows. Example: $0 --regexp "problem_table" < update.log $0 --regexp "problem_table" update-log.1 update-log.2 EOF exit(0); }