Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
libexec /
[ HOME SHELL ]
Name
Size
Permission
Action
?;
awk
[ DIR ]
drwxr-xr-x
?;
coreutils
[ DIR ]
drwxr-xr-x
?;
dbus-1
[ DIR ]
drwxr-xr-x
?;
dovecot
[ DIR ]
drwxr-xr-x
?;
gcc
[ DIR ]
drwxr-xr-x
?;
getconf
[ DIR ]
drwxr-xr-x
?;
git-core
[ DIR ]
drwxr-xr-x
?;
grubby
[ DIR ]
drwxr-xr-x
?;
initscripts
[ DIR ]
drwxr-xr-x
?;
linux-boot-probes
[ DIR ]
drwxr-xr-x
?;
man-db
[ DIR ]
drwxr-xr-x
?;
mc
[ DIR ]
drwxr-xr-x
?;
microcode_ctl
[ DIR ]
drwxr-xr-x
?;
openldap
[ DIR ]
drwxr-xr-x
?;
openssh
[ DIR ]
drwxr-xr-x
?;
os-probes
[ DIR ]
drwxr-xr-x
?;
p11-kit
[ DIR ]
drwxr-xr-x
?;
plymouth
[ DIR ]
drwxr-xr-x
?;
selinux
[ DIR ]
drwxr-xr-x
?;
smartmontools
[ DIR ]
drwxr-xr-x
?;
sudo
[ DIR ]
drwxr-xr-x
?;
systemtap
[ DIR ]
drwxr-xr-x
?;
tuned
[ DIR ]
drwxr-xr-x
?;
utempter
[ DIR ]
drwxr-xr-x
chrony-helper
6.37
KB
-rwxr-xr-x
ebtables
1.66
KB
-rwxr-xr-x
exim.daemon
758
B
-rwxr-xr-x
generate-rndc-key.sh
546
B
-rwxr-xr-x
gnupg-pcsc-wrapper
19.3
KB
-rwxr-xr-x
gpg-check-pattern
102.95
KB
-rwxr-xr-x
gpg-preset-passphrase
86.39
KB
-rwxr-xr-x
gpg-protect-tool
185.57
KB
-rwxr-xr-x
gpg2keys_curl
44.81
KB
-rwxr-xr-x
gpg2keys_finger
61.34
KB
-rwxr-xr-x
gpg2keys_hkp
53
KB
-rwxr-xr-x
gpg2keys_ldap
61.02
KB
-rwxr-xr-x
grepconf.sh
253
B
-rwxr-xr-x
newns
7.03
KB
-rwxr-xr-x
nm-dhcp-helper
15.12
KB
-rwxr-xr-x
nm-dispatcher
47.7
KB
-rwxr-xr-x
nm-iface-helper
839.36
KB
-rwxr-xr-x
nm-ifdown
155
B
-rwxr-xr-x
nm-ifup
153
B
-rwxr-xr-x
platform-python
6.98
KB
-rwxr-xr-x
redis-shutdown
1.09
KB
-rwxr-xr-x
tcawmgr.cgi
19.56
KB
-rwxr-xr-x
urlgrabber-ext-down
2.54
KB
-rwxr-xr-x
virt-what-cpuid-helper
7.02
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : redis-shutdown
#!/bin/bash # # Wrapper to close properly redis and sentinel test x"$REDIS_DEBUG" != x && set -x REDIS_CLI=/usr/bin/redis-cli # Retrieve service name SERVICE_NAME="$1" if [ -z "$SERVICE_NAME" ]; then SERVICE_NAME=redis fi # Get the proper config file based on service name CONFIG_FILE="/etc/$SERVICE_NAME.conf" # Use awk to retrieve host, port from config file HOST=`awk '/^[[:blank:]]*bind/ { print $2 }' $CONFIG_FILE | tail -n1` PORT=`awk '/^[[:blank:]]*port/ { print $2 }' $CONFIG_FILE | tail -n1` PASS=`awk '/^[[:blank:]]*requirepass/ { print $2 }' $CONFIG_FILE | tail -n1` SOCK=`awk '/^[[:blank:]]*unixsocket\s/ { print $2 }' $CONFIG_FILE | tail -n1` # Just in case, use default host, port HOST=${HOST:-127.0.0.1} if [ "$SERVICE_NAME" = redis ]; then PORT=${PORT:-6379} else PORT=${PORT:-26739} fi # Setup additional parameters # e.g password-protected redis instances [ -z "$PASS" ] || ADDITIONAL_PARAMS="-a $PASS" # shutdown the service properly if [ -e "$SOCK" ] ; then $REDIS_CLI -s $SOCK $ADDITIONAL_PARAMS shutdown else $REDIS_CLI -h $HOST -p $PORT $ADDITIONAL_PARAMS shutdown fi
Close