Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 162.158.159.144
Cant Read [ /etc/named.conf ]
8.1.5
www-data
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
README
+ Create Folder
+ Create File
/
usr /
share /
mysql /
[ HOME SHELL ]
Name
Size
Permission
Action
charsets
[ DIR ]
drwxr-xr-x
czech
[ DIR ]
drwxr-xr-x
danish
[ DIR ]
drwxr-xr-x
dutch
[ DIR ]
drwxr-xr-x
english
[ DIR ]
drwxr-xr-x
estonian
[ DIR ]
drwxr-xr-x
french
[ DIR ]
drwxr-xr-x
german
[ DIR ]
drwxr-xr-x
greek
[ DIR ]
drwxr-xr-x
hindi
[ DIR ]
drwxr-xr-x
hungarian
[ DIR ]
drwxr-xr-x
italian
[ DIR ]
drwxr-xr-x
japanese
[ DIR ]
drwxr-xr-x
korean
[ DIR ]
drwxr-xr-x
norwegian
[ DIR ]
drwxr-xr-x
norwegian-ny
[ DIR ]
drwxr-xr-x
polish
[ DIR ]
drwxr-xr-x
portuguese
[ DIR ]
drwxr-xr-x
romanian
[ DIR ]
drwxr-xr-x
russian
[ DIR ]
drwxr-xr-x
serbian
[ DIR ]
drwxr-xr-x
slovak
[ DIR ]
drwxr-xr-x
spanish
[ DIR ]
drwxr-xr-x
swedish
[ DIR ]
drwxr-xr-x
ukrainian
[ DIR ]
drwxr-xr-x
debian-10.4.flag
0
B
-rw-r--r--
debian-start.inc.sh
2.91
KB
-rwxr-xr-x
echo_stderr
27
B
-rwxr-xr-x
errmsg-utf8.txt
534.25
KB
-rw-r--r--
fill_help_tables.sql
1.43
MB
-rw-r--r--
maria_add_gis_sp_bootstrap.sql
1.64
KB
-rw-r--r--
mysql.init
5.32
KB
-rw-r--r--
mysql_performance_tables.sql
1.91
KB
-rw-r--r--
mysql_system_tables.sql
29.39
KB
-rw-r--r--
mysql_system_tables_data.sql
3.08
KB
-rw-r--r--
mysql_test_data_timezone.sql
10.17
KB
-rw-r--r--
mysql_test_db.sql
1.64
KB
-rw-r--r--
wsrep_notify
2.18
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : wsrep_notify
#!/bin/sh -eu # This is a simple example of wsrep notification script (wsrep_notify_cmd). # It will create 'wsrep' schema and two tables in it: 'membeship' and 'status' # and fill them on every membership or node status change. # # Edit parameters below to specify the address and login to server. USER=root PSWD=rootpass HOST=127.0.0.1 PORT=3306 SCHEMA="wsrep" MEMB_TABLE="$SCHEMA.membership" STATUS_TABLE="$SCHEMA.status" BEGIN=" SET wsrep_on=0; DROP SCHEMA IF EXISTS $SCHEMA; CREATE SCHEMA $SCHEMA; CREATE TABLE $MEMB_TABLE ( idx INT UNIQUE PRIMARY KEY, uuid CHAR(40) UNIQUE, /* node UUID */ name VARCHAR(32), /* node name */ addr VARCHAR(256) /* node address */ ) ENGINE=MEMORY; CREATE TABLE $STATUS_TABLE ( size INT, /* component size */ idx INT, /* this node index */ status CHAR(16), /* this node status */ uuid CHAR(40), /* cluster UUID */ prim BOOLEAN /* if component is primary */ ) ENGINE=MEMORY; BEGIN; DELETE FROM $MEMB_TABLE; DELETE FROM $STATUS_TABLE; " END="COMMIT;" configuration_change() { echo "$BEGIN;" local idx=0 for NODE in $(echo $MEMBERS | sed s/,/\ /g) do echo "INSERT INTO $MEMB_TABLE VALUES ( $idx, " # Don't forget to properly quote string values echo "'$NODE'" | sed s/\\//\',\'/g echo ");" idx=$(( $idx + 1 )) done echo "INSERT INTO $STATUS_TABLE VALUES($idx, $INDEX, '$STATUS', '$CLUSTER_UUID', $PRIMARY);" echo "$END" } status_update() { echo "SET wsrep_on=0; BEGIN; UPDATE $STATUS_TABLE SET status='$STATUS'; COMMIT;" } COM=status_update # not a configuration change by default while [ $# -gt 0 ] do case $1 in --status) STATUS=$2 shift ;; --uuid) CLUSTER_UUID=$2 shift ;; --primary) [ "$2" = "yes" ] && PRIMARY="1" || PRIMARY="0" COM=configuration_change shift ;; --index) INDEX=$2 shift ;; --members) MEMBERS=$2 shift ;; esac shift done # Undefined means node is shutting down if [ "$STATUS" != "Undefined" ] then $COM | mysql -B -u$USER -p$PSWD -h$HOST -P$PORT fi exit 0 #
Close