Linux s17.hosterpk.com 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
LiteSpeed
Server IP : 192.169.89.90 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : hamzalar
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
bin /
Delete
Unzip
Name
Size
Permission
Date
Action
GET
15.87
KB
-rwxr-xr-x
2024-10-29 00:00
MagickCore-config
1.77
KB
-rwxr-xr-x
2025-03-30 00:00
MagickWand-config
1.59
KB
-rwxr-xr-x
2025-03-30 00:00
Mail
1.01
MB
-rwxr-xr-x
2024-10-29 00:00
[
47.91
KB
-rwxr-xr-x
2026-01-15 00:00
aclocal
35.18
KB
-rwxr-xr-x
2024-11-27 00:00
aclocal-1.16
35.18
KB
-rwxr-xr-x
2024-11-27 00:00
addr2line
32.07
KB
-rwxr-xr-x
2026-02-04 00:00
animate
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
ar
60.41
KB
-rwxr-xr-x
2026-02-04 00:00
arch
35.8
KB
-rwxr-xr-x
2026-01-15 00:00
arpaname
15.43
KB
-rwxr-xr-x
2026-03-27 00:00
as
687.16
KB
-rwxr-xr-x
2026-02-04 00:00
aspell
150.35
KB
-rwxr-xr-x
2024-10-29 00:00
at
1.25
KB
-rwxr-xr-x
2025-09-19 00:00
atq
1.25
KB
-rwxr-xr-x
2025-09-19 00:00
atrm
1.25
KB
-rwxr-xr-x
2025-09-19 00:00
autoconf
14.85
KB
-rwxr-xr-x
2025-03-14 00:00
autoheader
8.82
KB
-rwxr-xr-x
2025-03-14 00:00
autom4te
32.69
KB
-rwxr-xr-x
2025-03-14 00:00
automake
255.91
KB
-rwxr-xr-x
2024-11-27 00:00
automake-1.16
255.91
KB
-rwxr-xr-x
2024-11-27 00:00
autoreconf
26.3
KB
-rwxr-xr-x
2025-03-14 00:00
autoscan
16.77
KB
-rwxr-xr-x
2025-03-14 00:00
autoupdate
33.22
KB
-rwxr-xr-x
2025-03-14 00:00
awk
745.91
KB
-rwxr-xr-x
2024-10-29 00:00
b2sum
55.91
KB
-rwxr-xr-x
2026-01-15 00:00
base32
39.82
KB
-rwxr-xr-x
2026-01-15 00:00
base64
39.84
KB
-rwxr-xr-x
2026-01-15 00:00
basename
35.8
KB
-rwxr-xr-x
2026-01-15 00:00
basenc
52.19
KB
-rwxr-xr-x
2026-01-15 00:00
bash
1.35
MB
-rwxr-xr-x
2024-10-29 00:00
bashbug-64
7.11
KB
-rwxr-xr-x
2024-10-29 00:00
batch
140
B
-rwxr-xr-x
2025-09-19 00:00
bison
494.29
KB
-rwxr-xr-x
2024-10-29 00:00
bunzip2
39.77
KB
-rwxr-xr-x
2024-12-19 00:00
bzcat
39.77
KB
-rwxr-xr-x
2024-12-19 00:00
bzcmp
2.09
KB
-rwxr-xr-x
2024-12-19 00:00
bzdiff
2.09
KB
-rwxr-xr-x
2024-12-19 00:00
bzgrep
2.01
KB
-rwxr-xr-x
2024-12-19 00:00
bzip2
39.77
KB
-rwxr-xr-x
2024-12-19 00:00
bzip2recover
19.55
KB
-rwxr-xr-x
2024-12-19 00:00
bzless
1.23
KB
-rwxr-xr-x
2024-12-19 00:00
bzmore
1.23
KB
-rwxr-xr-x
2024-12-19 00:00
c++
1.32
MB
-rwxr-xr-x
2026-02-26 00:00
c++filt
27.52
KB
-rwxr-xr-x
2026-02-04 00:00
c89
228
B
-rwxr-xr-x
2026-02-26 00:00
c99
219
B
-rwxr-xr-x
2026-02-26 00:00
cagefs_enter.proxied
1.27
KB
-rwxr-xr-x
2025-12-07 00:00
cal
52.21
KB
-rwxr-xr-x
2026-01-15 00:00
captoinfo
92.23
KB
-rwxr-xr-x
2026-03-24 00:00
cat
39.79
KB
-rwxr-xr-x
2026-01-15 00:00
cc
1.31
MB
-rwxr-xr-x
2026-02-26 00:00
chcon
64.42
KB
-rwxr-xr-x
2026-01-15 00:00
chgrp
64.41
KB
-rwxr-xr-x
2026-01-15 00:00
chmod
60.39
KB
-rwxr-xr-x
2026-01-15 00:00
chown
64.41
KB
-rwxr-xr-x
2026-01-15 00:00
chrt
31.76
KB
-rwxr-xr-x
2026-01-15 00:00
cksum
100.29
KB
-rwxr-xr-x
2026-01-15 00:00
cldetect
10.34
KB
-rwxr-xr-x
2026-05-14 00:00
clear
15.48
KB
-rwxr-xr-x
2026-03-24 00:00
clusterdb
68.76
KB
-rwxr-xr-x
2026-02-27 00:00
cmp
48
KB
-rwxr-xr-x
2024-10-29 00:00
col
23.61
KB
-rwxr-xr-x
2026-01-15 00:00
colcrt
19.53
KB
-rwxr-xr-x
2026-01-15 00:00
colrm
15.52
KB
-rwxr-xr-x
2026-01-15 00:00
column
43.76
KB
-rwxr-xr-x
2026-01-15 00:00
comm
39.94
KB
-rwxr-xr-x
2026-01-15 00:00
compare
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
composite
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
conjure
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
convert
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
cp
133.3
KB
-rwxr-xr-x
2026-01-15 00:00
cpan
8.37
KB
-rwxr-xr-x
2025-03-03 00:00
cpp
1.32
MB
-rwxr-xr-x
2026-02-26 00:00
createdb
72.94
KB
-rwxr-xr-x
2026-02-27 00:00
createuser
73.28
KB
-rwxr-xr-x
2026-02-27 00:00
crontab
1.49
KB
-rwxr-xr-x
2026-01-14 00:00
crontab.cagefs
40.51
KB
-rwxr-xr-x
2026-04-27 00:00
csplit
52.1
KB
-rwxr-xr-x
2026-01-15 00:00
curl
209.31
KB
-rwxr-xr-x
2025-11-17 00:00
cut
47.95
KB
-rwxr-xr-x
2026-01-15 00:00
date
96.1
KB
-rwxr-xr-x
2026-01-15 00:00
dbiprof
6.06
KB
-rwxr-xr-x
2024-10-29 00:00
dd
64.27
KB
-rwxr-xr-x
2026-01-15 00:00
delv
46.64
KB
-rwxr-xr-x
2026-03-27 00:00
df
68.77
KB
-rwxr-xr-x
2026-01-15 00:00
diff
153.17
KB
-rwxr-xr-x
2024-10-29 00:00
diff3
64.14
KB
-rwxr-xr-x
2024-10-29 00:00
dig
153.1
KB
-rwxr-xr-x
2026-03-27 00:00
dir
141.85
KB
-rwxr-xr-x
2026-01-15 00:00
dircolors
47.9
KB
-rwxr-xr-x
2026-01-15 00:00
dirname
31.63
KB
-rwxr-xr-x
2026-01-15 00:00
display
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
dnstap-read
23.53
KB
-rwxr-xr-x
2026-03-27 00:00
dropdb
64.59
KB
-rwxr-xr-x
2026-02-27 00:00
dropuser
64.53
KB
-rwxr-xr-x
2026-02-27 00:00
du
96.74
KB
-rwxr-xr-x
2026-01-15 00:00
echo
31.62
KB
-rwxr-xr-x
2026-01-15 00:00
ed
60.17
KB
-rwxr-xr-x
2024-10-29 00:00
egrep
106
B
-rwxr-xr-x
2024-10-29 00:00
enc2xs
40.82
KB
-rwxr-xr-x
2024-10-29 00:00
enchant
23.48
KB
-rwxr-xr-x
2025-01-16 00:00
enchant-lsmod
15.48
KB
-rwxr-xr-x
2025-01-16 00:00
env
48.38
KB
-rwxr-xr-x
2026-01-15 00:00
eps2eps
643
B
-rwxr-xr-x
2025-05-07 00:00
eqn
152.63
KB
-rwxr-xr-x
2024-10-29 00:00
ex
1.62
MB
-rwxr-xr-x
2026-04-08 00:00
expand
39.89
KB
-rwxr-xr-x
2026-01-15 00:00
expr
43.81
KB
-rwxr-xr-x
2026-01-15 00:00
factor
64.09
KB
-rwxr-xr-x
2026-01-15 00:00
false
27.59
KB
-rwxr-xr-x
2026-01-15 00:00
fc-cache
139
B
-rwxr-xr-x
2024-10-29 00:00
fc-cache-64
23.48
KB
-rwxr-xr-x
2024-10-29 00:00
fc-cat
19.48
KB
-rwxr-xr-x
2024-10-29 00:00
fc-conflist
15.45
KB
-rwxr-xr-x
2024-10-29 00:00
fc-list
15.46
KB
-rwxr-xr-x
2024-10-29 00:00
fc-match
15.46
KB
-rwxr-xr-x
2024-10-29 00:00
fc-pattern
15.46
KB
-rwxr-xr-x
2024-10-29 00:00
fc-query
15.46
KB
-rwxr-xr-x
2024-10-29 00:00
fc-scan
15.46
KB
-rwxr-xr-x
2024-10-29 00:00
fc-validate
15.46
KB
-rwxr-xr-x
2024-10-29 00:00
fgrep
106
B
-rwxr-xr-x
2024-10-29 00:00
file
31.93
KB
-rwxr-xr-x
2026-02-23 00:00
find
204.32
KB
-rwxr-xr-x
2024-10-29 00:00
flex
315.74
KB
-rwxr-xr-x
2024-10-29 00:00
flex++
315.74
KB
-rwxr-xr-x
2024-10-29 00:00
flock
23.71
KB
-rwxr-xr-x
2026-01-15 00:00
fmt
43.89
KB
-rwxr-xr-x
2026-01-15 00:00
fold
39.81
KB
-rwxr-xr-x
2026-01-15 00:00
free
23.58
KB
-rwxr-xr-x
2026-01-15 00:00
freetype-config
4.37
KB
-rwxr-xr-x
2024-10-29 00:00
funzip
35.55
KB
-rwxr-xr-x
2025-04-07 00:00
g++
1.32
MB
-rwxr-xr-x
2026-02-26 00:00
gawk
745.91
KB
-rwxr-xr-x
2024-10-29 00:00
gcc
1.31
MB
-rwxr-xr-x
2026-02-26 00:00
gcc-ar
31.62
KB
-rwxr-xr-x
2026-02-26 00:00
gcc-nm
31.62
KB
-rwxr-xr-x
2026-02-26 00:00
gcc-ranlib
31.62
KB
-rwxr-xr-x
2026-02-26 00:00
gcov
535.2
KB
-rwxr-xr-x
2026-02-26 00:00
gcov-dump
432.82
KB
-rwxr-xr-x
2026-02-26 00:00
gcov-tool
457.48
KB
-rwxr-xr-x
2026-02-26 00:00
gem
249
B
-rwxr-xr-x
2026-04-28 00:00
gencat
31.54
KB
-rwxr-xr-x
2026-05-26 00:00
geoiplookup
15.53
KB
-rwxr-xr-x
2019-11-28 00:00
geoiplookup6
15.48
KB
-rwxr-xr-x
2019-11-28 00:00
geqn
152.63
KB
-rwxr-xr-x
2024-10-29 00:00
getconf
27.31
KB
-rwxr-xr-x
2026-05-26 00:00
getent
31.95
KB
-rwxr-xr-x
2026-05-26 00:00
getopt
23.62
KB
-rwxr-xr-x
2026-01-15 00:00
ghostscript
15.45
KB
-rwxr-xr-x
2025-05-07 00:00
git
4.32
MB
-rwxr-xr-x
2026-01-09 00:00
git-receive-pack
4.32
MB
-rwxr-xr-x
2026-01-09 00:00
git-shell
819.72
KB
-rwxr-xr-x
2026-01-09 00:00
git-upload-archive
4.32
MB
-rwxr-xr-x
2026-01-09 00:00
git-upload-pack
4.32
MB
-rwxr-xr-x
2026-01-09 00:00
gm
15.41
KB
-rwxr-xr-x
2024-09-24 00:00
gmake
280.74
KB
-rwxr-xr-x
2024-11-05 00:00
gneqn
916
B
-rwxr-xr-x
2024-10-29 00:00
gnroff
5.58
KB
-rwxr-xr-x
2024-10-29 00:00
gpg
1.11
MB
-rwxr-xr-x
2026-02-06 00:00
gpg-agent
371.18
KB
-rwxr-xr-x
2026-02-06 00:00
gpg-error
35.75
KB
-rwxr-xr-x
2024-10-29 00:00
gpgsplit
27.82
KB
-rwxr-xr-x
2026-02-06 00:00
gpgv
315.91
KB
-rwxr-xr-x
2026-02-06 00:00
gpic
180.8
KB
-rwxr-xr-x
2024-10-29 00:00
gprof
97.8
KB
-rwxr-xr-x
2026-02-04 00:00
grep
165.82
KB
-rwxr-xr-x
2024-10-29 00:00
groff
76.36
KB
-rwxr-xr-x
2024-10-29 00:00
grops
146.32
KB
-rwxr-xr-x
2024-10-29 00:00
grotty
105.2
KB
-rwxr-xr-x
2024-10-29 00:00
groups
35.81
KB
-rwxr-xr-x
2026-01-15 00:00
gs
15.45
KB
-rwxr-xr-x
2025-05-07 00:00
gsnd
281
B
-rwxr-xr-x
2025-05-07 00:00
gtar
429.65
KB
-rwxr-xr-x
2026-02-23 00:00
gtbl
129.91
KB
-rwxr-xr-x
2024-10-29 00:00
gtroff
551.38
KB
-rwxr-xr-x
2024-10-29 00:00
gunzip
2.28
KB
-rwxr-xr-x
2024-10-29 00:00
gzexe
6.29
KB
-rwxr-xr-x
2024-10-29 00:00
gzip
97.35
KB
-rwxr-xr-x
2024-10-29 00:00
h2ph
28.3
KB
-rwxr-xr-x
2025-07-10 00:00
h2xs
59.51
KB
-rwxr-xr-x
2025-07-10 00:00
head
43.95
KB
-rwxr-xr-x
2026-01-15 00:00
hexdump
47.79
KB
-rwxr-xr-x
2026-01-15 00:00
host
121.02
KB
-rwxr-xr-x
2026-03-27 00:00
hostid
35.79
KB
-rwxr-xr-x
2026-01-15 00:00
hostname
23.51
KB
-rwxr-xr-x
2024-10-29 00:00
hunspell
102.2
KB
-rwxr-xr-x
2024-10-29 00:00
iconv
68.23
KB
-rwxr-xr-x
2026-05-26 00:00
icu-config
205
B
-rwxr-xr-x
2025-07-08 00:00
icu-config-64
21.65
KB
-rwxr-xr-x
2025-07-08 00:00
icuinfo
15.81
KB
-rwxr-xr-x
2025-07-08 00:00
id
43.86
KB
-rwxr-xr-x
2026-01-15 00:00
identify
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
idn
36.15
KB
-rwxr-xr-x
2024-07-18 00:00
ifnames
4.08
KB
-rwxr-xr-x
2025-03-14 00:00
import
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
infocmp
68.02
KB
-rwxr-xr-x
2026-03-24 00:00
infotocap
92.23
KB
-rwxr-xr-x
2026-03-24 00:00
install
141.4
KB
-rwxr-xr-x
2026-01-15 00:00
instmodsh
4.1
KB
-rwxr-xr-x
2024-10-29 00:00
ionice
19.56
KB
-rwxr-xr-x
2026-01-15 00:00
ipcrm
19.59
KB
-rwxr-xr-x
2026-01-15 00:00
ipcs
39.67
KB
-rwxr-xr-x
2026-01-15 00:00
isosize
15.49
KB
-rwxr-xr-x
2026-01-15 00:00
ispell
992
B
-rwxr-xr-x
2023-12-03 05:09
join
52.05
KB
-rwxr-xr-x
2026-01-15 00:00
kill
35.77
KB
-rwxr-xr-x
2026-01-15 00:00
ld
1.13
MB
-rwxr-xr-x
2026-05-27 07:02
ld.bfd
1.13
MB
-rwxr-xr-x
2026-05-27 07:02
ldd
5.27
KB
-rwxr-xr-x
2026-05-26 00:00
less
227.85
KB
-rwxr-xr-x
2024-10-29 00:00
lessecho
15.51
KB
-rwxr-xr-x
2024-10-29 00:00
lesskey
23.56
KB
-rwxr-xr-x
2024-10-29 00:00
lesspipe.sh
3.52
KB
-rwxr-xr-x
2024-10-29 00:00
lex
315.74
KB
-rwxr-xr-x
2024-10-29 00:00
libnetcfg
15.41
KB
-rwxr-xr-x
2025-07-10 00:00
libtool
367.87
KB
-rwxr-xr-x
2024-10-29 00:00
libtoolize
133.48
KB
-rwxr-xr-x
2024-10-29 00:00
link
35.8
KB
-rwxr-xr-x
2026-01-15 00:00
ln
60.26
KB
-rwxr-xr-x
2026-01-15 00:00
locale
51.15
KB
-rwxr-xr-x
2026-05-26 00:00
localedef
314.2
KB
-rwxr-xr-x
2026-05-26 00:00
logger
40.4
KB
-rwxr-xr-x
2026-01-15 00:00
login
47.9
KB
-rwxr-xr-x
2026-01-15 00:00
logname
35.78
KB
-rwxr-xr-x
2026-01-15 00:00
look
19.51
KB
-rwxr-xr-x
2026-01-15 00:00
ls
141.88
KB
-rwxr-xr-x
2026-01-15 00:00
lto-dump
35.33
MB
-rwxr-xr-x
2026-02-26 00:00
m4
251.59
KB
-rwxr-xr-x
2024-10-29 00:00
magick
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
magick-script
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
mail
1.01
MB
-rwxr-xr-x
2024-10-29 00:00
mailx
1.01
MB
-rwxr-xr-x
2024-10-29 00:00
make
280.74
KB
-rwxr-xr-x
2024-11-05 00:00
make-dummy-cert
614
B
-rwxr-xr-x
2026-05-20 00:00
mariadb
5.24
MB
-rwxr-xr-x
2026-02-10 00:00
mariadb-access
109.34
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-admin
686.82
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-binlog
4.89
MB
-rwxr-xr-x
2026-02-10 00:00
mariadb-check
4.68
MB
-rwxr-xr-x
2026-02-10 00:00
mariadb-conv
4.37
MB
-rwxr-xr-x
2026-02-10 00:00
mariadb-convert-table-format
4.12
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-dump
4.78
MB
-rwxr-xr-x
2026-02-10 00:00
mariadb-dumpslow
8.05
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-embedded
20.49
MB
-rwxr-xr-x
2026-02-10 00:00
mariadb-find-rows
3.21
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-hotcopy
34.53
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-import
4.67
MB
-rwxr-xr-x
2026-02-10 00:00
mariadb-plugin
412.75
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-secure-installation
13.48
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-setpermission
17.56
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-show
673.63
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-slap
692.81
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-tzinfo-to-sql
448.5
KB
-rwxr-xr-x
2026-02-10 00:00
mariadb-waitpid
387.6
KB
-rwxr-xr-x
2026-02-10 00:00
mcookie
27.64
KB
-rwxr-xr-x
2026-01-15 00:00
md5sum
39.79
KB
-rwxr-xr-x
2026-01-15 00:00
mesg
15.49
KB
-rwxr-xr-x
2026-01-15 00:00
mkdir
64.47
KB
-rwxr-xr-x
2026-01-15 00:00
mkfifo
44.02
KB
-rwxr-xr-x
2026-01-15 00:00
mknod
48.06
KB
-rwxr-xr-x
2026-01-15 00:00
mktemp
39.88
KB
-rwxr-xr-x
2026-01-15 00:00
mogrify
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
montage
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
more
47.83
KB
-rwxr-xr-x
2026-01-15 00:00
msql2mysql
1.42
KB
-rwxr-xr-x
2026-02-10 00:00
mv
125.23
KB
-rwxr-xr-x
2026-01-15 00:00
my_print_defaults
432.45
KB
-rwxr-xr-x
2026-02-10 00:00
mysql
5.24
MB
-rwxr-xr-x
2026-02-10 00:00
mysql_config
4.5
KB
-rwxr-xr-x
2026-02-10 00:00
mysql_find_rows
3.21
KB
-rwxr-xr-x
2026-02-10 00:00
mysql_waitpid
387.6
KB
-rwxr-xr-x
2026-02-10 00:00
mysqlaccess
109.34
KB
-rwxr-xr-x
2026-02-10 00:00
mysqladmin
686.82
KB
-rwxr-xr-x
2026-02-10 00:00
mysqlbinlog
4.89
MB
-rwxr-xr-x
2026-02-10 00:00
mysqlcheck
4.68
MB
-rwxr-xr-x
2026-02-10 00:00
mysqldump
4.78
MB
-rwxr-xr-x
2026-02-10 00:00
mysqlimport
4.67
MB
-rwxr-xr-x
2026-02-10 00:00
mysqlshow
673.63
KB
-rwxr-xr-x
2026-02-10 00:00
mytop
72.03
KB
-rwxr-xr-x
2026-02-10 00:00
named-checkzone
31.68
KB
-rwxr-xr-x
2026-03-27 00:00
named-compilezone
31.68
KB
-rwxr-xr-x
2026-03-27 00:00
named-nzd2nzf
15.44
KB
-rwxr-xr-x
2026-03-27 00:00
namei
23.59
KB
-rwxr-xr-x
2026-01-15 00:00
nano
285.3
KB
-rwxr-xr-x
2024-12-11 00:00
neqn
916
B
-rwxr-xr-x
2024-10-29 00:00
nice
35.77
KB
-rwxr-xr-x
2026-01-15 00:00
nl
39.95
KB
-rwxr-xr-x
2026-01-15 00:00
nm
49.11
KB
-rwxr-xr-x
2026-02-04 00:00
nohup
35.71
KB
-rwxr-xr-x
2026-01-15 00:00
nproc
35.82
KB
-rwxr-xr-x
2026-01-15 00:00
nroff
5.58
KB
-rwxr-xr-x
2024-10-29 00:00
nsec3hash
15.52
KB
-rwxr-xr-x
2026-03-27 00:00
nslookup
120.98
KB
-rwxr-xr-x
2026-03-27 00:00
nsupdate
84.19
KB
-rwxr-xr-x
2026-03-27 00:00
numfmt
60
KB
-rwxr-xr-x
2026-01-15 00:00
objcopy
189.84
KB
-rwxr-xr-x
2026-02-04 00:00
objdump
434.15
KB
-rwxr-xr-x
2026-02-04 00:00
od
60.2
KB
-rwxr-xr-x
2026-01-15 00:00
openssl
968.7
KB
-rwxr-xr-x
2026-05-20 00:00
pango-list
19.44
KB
-rwxr-xr-x
2024-10-29 00:00
pango-segmentation
19.45
KB
-rwxr-xr-x
2024-10-29 00:00
pango-view
68.49
KB
-rwxr-xr-x
2024-10-29 00:00
passenger
1.73
KB
-rwxr-xr-x
2026-05-22 00:00
passwd
1.26
KB
-rwxr-xr-x
2026-02-23 00:00
paste
39.73
KB
-rwxr-xr-x
2026-01-15 00:00
patch
194.23
KB
-rwxr-xr-x
2024-10-29 00:00
pathchk
35.8
KB
-rwxr-xr-x
2026-01-15 00:00
pdf2dsc
701
B
-rwxr-xr-x
2025-05-07 00:00
pdf2ps
913
B
-rwxr-xr-x
2025-05-07 00:00
perl
15.29
KB
-rwxr-xr-x
2025-07-10 00:00
perl5.40.2
15.29
KB
-rwxr-xr-x
2025-07-10 00:00
perlbug
44.13
KB
-rwxr-xr-x
2025-07-10 00:00
perldoc
118
B
-rwxr-xr-x
2024-10-29 00:00
perlivp
10.56
KB
-rwxr-xr-x
2025-07-10 00:00
perlml
14.48
KB
-rwxr-xr-x
2025-10-02 00:00
perlthanks
44.13
KB
-rwxr-xr-x
2025-07-10 00:00
pg_dump
435.01
KB
-rwxr-xr-x
2026-02-27 00:00
pg_dumpall
114.11
KB
-rwxr-xr-x
2026-02-27 00:00
pg_restore
188.34
KB
-rwxr-xr-x
2026-02-27 00:00
pgrep
35.73
KB
-rwxr-xr-x
2026-01-15 00:00
php
937
B
-rwxr-xr-x
2025-03-26 00:00
pic
180.8
KB
-rwxr-xr-x
2024-10-29 00:00
piconv
8.08
KB
-rwxr-xr-x
2024-10-29 00:00
ping
157.7
KB
-rwxr-xr-x
2025-10-13 00:00
pinky
39.77
KB
-rwxr-xr-x
2026-01-15 00:00
pkg-config
335
B
-rwxr-xr-x
2024-10-29 00:00
pkill
35.73
KB
-rwxr-xr-x
2026-01-15 00:00
pl2pm
4.43
KB
-rwxr-xr-x
2025-07-10 00:00
pmap
35.67
KB
-rwxr-xr-x
2026-01-15 00:00
pod2html
3.95
KB
-rwxr-xr-x
2025-07-10 00:00
pod2man
18.46
KB
-rwxr-xr-x
2024-10-29 00:00
pod2text
12.8
KB
-rwxr-xr-x
2024-10-29 00:00
pod2usage
4.01
KB
-rwxr-xr-x
2024-10-29 00:00
podchecker
3.64
KB
-rwxr-xr-x
2024-10-29 00:00
post-grohtml
182.88
KB
-rwxr-xr-x
2024-10-29 00:00
pr
76.44
KB
-rwxr-xr-x
2026-01-15 00:00
pre-grohtml
56.35
KB
-rwxr-xr-x
2024-10-29 00:00
precat
5.53
KB
-rwxr-xr-x
2023-12-03 05:09
preunzip
5.53
KB
-rwxr-xr-x
2023-12-03 05:09
prezip
5.53
KB
-rwxr-xr-x
2023-12-03 05:09
prezip-bin
15.43
KB
-rwxr-xr-x
2024-10-29 00:00
printenv
35.62
KB
-rwxr-xr-x
2026-01-15 00:00
printf
43.87
KB
-rwxr-xr-x
2026-01-15 00:00
prove
13.26
KB
-rwxr-xr-x
2024-10-29 00:00
ps
121.77
KB
-rwxr-xr-x
2026-01-15 00:00
ps2ascii
635
B
-rwxr-xr-x
2025-05-07 00:00
ps2epsi
1.24
KB
-rwxr-xr-x
2025-05-07 00:00
ps2pdf
276
B
-rwxr-xr-x
2025-05-07 00:00
ps2pdf12
219
B
-rwxr-xr-x
2025-05-07 00:00
ps2pdf13
219
B
-rwxr-xr-x
2025-05-07 00:00
ps2pdf14
219
B
-rwxr-xr-x
2025-05-07 00:00
ps2pdfwr
1.06
KB
-rwxr-xr-x
2025-05-07 00:00
ps2ps
651
B
-rwxr-xr-x
2025-05-07 00:00
ps2ps2
673
B
-rwxr-xr-x
2025-05-07 00:00
psql
694.47
KB
-rwxr-xr-x
2026-02-27 00:00
ptx
56.01
KB
-rwxr-xr-x
2026-01-15 00:00
pwd
35.83
KB
-rwxr-xr-x
2026-01-15 00:00
pwdx
15.49
KB
-rwxr-xr-x
2026-01-15 00:00
pydoc
79
B
-rwxr-xr-x
2026-04-16 00:00
pydoc3
79
B
-rwxr-xr-x
2026-04-16 00:00
pydoc3.12
79
B
-rwxr-xr-x
2026-04-16 00:00
ranlib
60.42
KB
-rwxr-xr-x
2026-02-04 00:00
readelf
792.37
KB
-rwxr-xr-x
2026-02-04 00:00
readlink
43.89
KB
-rwxr-xr-x
2026-01-15 00:00
realpath
43.95
KB
-rwxr-xr-x
2026-01-15 00:00
recode
31.75
KB
-rwxr-xr-x
2024-07-17 00:00
red
92
B
-rwxr-xr-x
2024-10-29 00:00
reindexdb
81.07
KB
-rwxr-xr-x
2026-02-27 00:00
rename
23.58
KB
-rwxr-xr-x
2026-01-15 00:00
renew-dummy-cert
729
B
-rwxr-xr-x
2026-05-20 00:00
renice
15.51
KB
-rwxr-xr-x
2026-01-15 00:00
replace
395.03
KB
-rwxr-xr-x
2026-02-10 00:00
reset
27.68
KB
-rwxr-xr-x
2026-03-24 00:00
rev
15.5
KB
-rwxr-xr-x
2026-01-15 00:00
rm
60.38
KB
-rwxr-xr-x
2026-01-15 00:00
rmdir
35.74
KB
-rwxr-xr-x
2026-01-15 00:00
rnano
285.3
KB
-rwxr-xr-x
2024-12-11 00:00
ruby
15.25
KB
-rwxr-xr-x
2026-04-28 00:00
run-with-aspell
89
B
-rwxr-xr-x
2024-10-29 00:00
runcon
35.78
KB
-rwxr-xr-x
2026-01-15 00:00
rvi
1.62
MB
-rwxr-xr-x
2026-04-08 00:00
rview
1.62
MB
-rwxr-xr-x
2026-04-08 00:00
s-nail
1.01
MB
-rwxr-xr-x
2024-10-29 00:00
scalar
872.67
KB
-rwxr-xr-x
2026-01-09 00:00
scl
39.86
KB
-rwxr-xr-x
2024-10-29 00:00
scl_enabled
262
B
-rwxr-xr-x
2021-07-27 15:14
scl_source
1.88
KB
-rwxr-xr-x
2021-07-27 15:14
scp
137.25
KB
-rwxr-xr-x
2026-05-20 00:00
script
51.93
KB
-rwxr-xr-x
2026-01-15 00:00
sdiff
52.08
KB
-rwxr-xr-x
2024-10-29 00:00
sed
121.16
KB
-rwxr-xr-x
2026-01-23 00:00
selectorctl
7.63
KB
-rwxr-xr-x
2026-04-16 00:00
seq
43.88
KB
-rwxr-xr-x
2026-01-15 00:00
setsid
15.48
KB
-rwxr-xr-x
2026-01-15 00:00
setterm
35.73
KB
-rwxr-xr-x
2026-01-15 00:00
sftp
157.39
KB
-rwxr-xr-x
2026-05-20 00:00
sh
1.35
MB
-rwxr-xr-x
2024-10-29 00:00
sha1sum
39.79
KB
-rwxr-xr-x
2026-01-15 00:00
sha224sum
39.8
KB
-rwxr-xr-x
2026-01-15 00:00
sha256sum
39.79
KB
-rwxr-xr-x
2026-01-15 00:00
sha384sum
39.79
KB
-rwxr-xr-x
2026-01-15 00:00
sha512sum
39.79
KB
-rwxr-xr-x
2026-01-15 00:00
shred
56.05
KB
-rwxr-xr-x
2026-01-15 00:00
shuf
48.16
KB
-rwxr-xr-x
2026-01-15 00:00
size
31.95
KB
-rwxr-xr-x
2026-02-04 00:00
skill
31.58
KB
-rwxr-xr-x
2026-01-15 00:00
slabtop
23.67
KB
-rwxr-xr-x
2026-01-15 00:00
sleep
35.8
KB
-rwxr-xr-x
2026-01-15 00:00
snice
31.58
KB
-rwxr-xr-x
2026-01-15 00:00
sort
117.35
KB
-rwxr-xr-x
2026-01-15 00:00
spell
125
B
-rwxr-xr-x
2023-12-03 05:09
splain
19
KB
-rwxr-xr-x
2025-07-10 00:00
split
60.43
KB
-rwxr-xr-x
2026-01-15 00:00
sprof
35.53
KB
-rwxr-xr-x
2026-05-26 00:00
sqlite3
1.78
MB
-rwxr-xr-x
2025-07-16 00:00
ssh
864.63
KB
-rwxr-xr-x
2026-05-20 00:00
ssh-add
285.84
KB
-rwxr-xr-x
2026-05-20 00:00
ssh-agent
305.89
KB
-rwxr-xr-x
2026-05-20 00:00
ssh-copy-id
13.84
KB
-rwxr-xr-x
2026-05-20 00:00
ssh-keygen
455.63
KB
-rwxr-xr-x
2026-05-20 00:00
ssh-keyscan
330.45
KB
-rwxr-xr-x
2026-05-20 00:00
stat
76.13
KB
-rwxr-xr-x
2026-01-15 00:00
stdbuf
39.83
KB
-rwxr-xr-x
2026-01-15 00:00
strace
1.52
MB
-rwxr-xr-x
2025-12-17 00:00
stream
15.45
KB
-rwxr-xr-x
2025-03-30 00:00
strings
36.08
KB
-rwxr-xr-x
2026-02-04 00:00
strip
189.84
KB
-rwxr-xr-x
2026-02-04 00:00
stty
59.97
KB
-rwxr-xr-x
2026-01-15 00:00
sum
39.77
KB
-rwxr-xr-x
2026-01-15 00:00
sync
35.69
KB
-rwxr-xr-x
2026-01-15 00:00
tabs
19.54
KB
-rwxr-xr-x
2026-03-24 00:00
tac
39.74
KB
-rwxr-xr-x
2026-01-15 00:00
tail
68.29
KB
-rwxr-xr-x
2026-01-15 00:00
tar
429.65
KB
-rwxr-xr-x
2026-02-23 00:00
taskset
31.72
KB
-rwxr-xr-x
2026-01-15 00:00
tbl
129.91
KB
-rwxr-xr-x
2024-10-29 00:00
tclsh
15.43
KB
-rwxr-xr-x
2024-10-29 00:00
tclsh8.6
15.43
KB
-rwxr-xr-x
2024-10-29 00:00
tee
39.9
KB
-rwxr-xr-x
2026-01-15 00:00
test
35.88
KB
-rwxr-xr-x
2026-01-15 00:00
tic
92.23
KB
-rwxr-xr-x
2026-03-24 00:00
timeout
40.28
KB
-rwxr-xr-x
2026-01-15 00:00
tload
23.54
KB
-rwxr-xr-x
2026-01-15 00:00
tmpwatch
35.68
KB
-rwxr-xr-x
2024-10-29 00:00
toe
23.58
KB
-rwxr-xr-x
2026-03-24 00:00
top
133.71
KB
-rwxr-xr-x
2026-01-15 00:00
touch
76.12
KB
-rwxr-xr-x
2026-01-15 00:00
tput
27.62
KB
-rwxr-xr-x
2026-03-24 00:00
tr
47.97
KB
-rwxr-xr-x
2026-01-15 00:00
troff
551.38
KB
-rwxr-xr-x
2024-10-29 00:00
true
27.59
KB
-rwxr-xr-x
2026-01-15 00:00
truncate
39.8
KB
-rwxr-xr-x
2026-01-15 00:00
tset
27.68
KB
-rwxr-xr-x
2026-03-24 00:00
tsort
47.91
KB
-rwxr-xr-x
2026-01-15 00:00
tty
35.77
KB
-rwxr-xr-x
2026-01-15 00:00
tzselect
14.99
KB
-rwxr-xr-x
2026-05-26 00:00
uapi
1.25
KB
-rwxr-xr-x
2026-05-09 06:59
ul
23.62
KB
-rwxr-xr-x
2026-01-15 00:00
uname
35.8
KB
-rwxr-xr-x
2026-01-15 00:00
unexpand
39.88
KB
-rwxr-xr-x
2026-01-15 00:00
uniq
47.99
KB
-rwxr-xr-x
2026-01-15 00:00
unlink
35.78
KB
-rwxr-xr-x
2026-01-15 00:00
unzip
196.42
KB
-rwxr-xr-x
2025-04-07 00:00
unzipsfx
96.05
KB
-rwxr-xr-x
2025-04-07 00:00
uptime
15.49
KB
-rwxr-xr-x
2026-01-15 00:00
users
35.84
KB
-rwxr-xr-x
2026-01-15 00:00
utmpdump
23.57
KB
-rwxr-xr-x
2026-01-15 00:00
vacuumdb
85.48
KB
-rwxr-xr-x
2026-02-27 00:00
vdir
141.86
KB
-rwxr-xr-x
2026-01-15 00:00
vi
1.62
MB
-rwxr-xr-x
2026-04-08 00:00
view
146
B
-rwxr-xr-x
2026-04-08 00:00
vmstat
39.98
KB
-rwxr-xr-x
2026-01-15 00:00
watch
36.16
KB
-rwxr-xr-x
2026-01-15 00:00
wc
56.04
KB
-rwxr-xr-x
2026-01-15 00:00
wget
447.23
KB
-rwxr-xr-x
2024-12-11 00:00
whereis
32.2
KB
-rwxr-xr-x
2026-01-15 00:00
which
31.8
KB
-rwxr-xr-x
2025-07-01 00:00
who
43.89
KB
-rwxr-xr-x
2026-01-15 00:00
whoami
35.79
KB
-rwxr-xr-x
2026-01-15 00:00
word-list-compress
15.44
KB
-rwxr-xr-x
2024-10-29 00:00
x86_64-redhat-linux-c++
1.32
MB
-rwxr-xr-x
2026-02-26 00:00
x86_64-redhat-linux-g++
1.32
MB
-rwxr-xr-x
2026-02-26 00:00
x86_64-redhat-linux-gcc
1.31
MB
-rwxr-xr-x
2026-02-26 00:00
x86_64-redhat-linux-gcc-14
1.31
MB
-rwxr-xr-x
2026-02-26 00:00
xargs
68.23
KB
-rwxr-xr-x
2024-10-29 00:00
xmlcatalog
23.47
KB
-rwxr-xr-x
2026-01-26 00:00
xmllint
76.88
KB
-rwxr-xr-x
2026-01-26 00:00
xmlwf
39.98
KB
-rwxr-xr-x
2025-12-02 00:00
xsltproc
31.55
KB
-rwxr-xr-x
2025-07-30 00:00
xsubpp
4.96
KB
-rwxr-xr-x
2024-10-29 00:00
yes
35.63
KB
-rwxr-xr-x
2026-01-15 00:00
zcat
1.93
KB
-rwxr-xr-x
2024-10-29 00:00
zcmp
1.64
KB
-rwxr-xr-x
2024-10-29 00:00
zdiff
6.3
KB
-rwxr-xr-x
2024-10-29 00:00
zegrep
33
B
-rwxr-xr-x
2024-10-29 00:00
zfgrep
33
B
-rwxr-xr-x
2024-10-29 00:00
zforce
2.03
KB
-rwxr-xr-x
2024-10-29 00:00
zgrep
8.02
KB
-rwxr-xr-x
2024-10-29 00:00
zip
209.48
KB
-rwxr-xr-x
2025-07-01 00:00
zipcloak
76.02
KB
-rwxr-xr-x
2025-07-01 00:00
zipgrep
2.89
KB
-rwxr-xr-x
2008-10-10 17:40
zipinfo
196.42
KB
-rwxr-xr-x
2025-04-07 00:00
zipnote
63.93
KB
-rwxr-xr-x
2025-07-01 00:00
zipsplit
63.91
KB
-rwxr-xr-x
2025-07-01 00:00
zless
2.38
KB
-rwxr-xr-x
2024-10-29 00:00
zmore
1.8
KB
-rwxr-xr-x
2024-10-29 00:00
znew
4.47
KB
-rwxr-xr-x
2024-10-29 00:00
Save
Rename
#!/usr/bin/sh # Copyright (c) 2002, 2016, 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 config=".my.cnf.$$" command=".mysql.$$" output=".my.output.$$" trap "interrupt" 1 2 3 6 15 rootpass="" echo_n= echo_c= basedir= defaults_file= defaults_extra_file= defaults_group_suffix= no_defaults= parse_arg() { echo "$1" | sed -e 's/^[^=]*=//' } parse_arguments() { # We only need to pass arguments through to the server if we don't # handle them here. So, we collect unrecognized options (passed on # the command line) into the args variable. pick_args= if test "$1" = PICK-ARGS-FROM-ARGV then pick_args=1 shift fi for arg do case "$arg" in --basedir=*) basedir=`parse_arg "$arg"` ;; --defaults-file=*) defaults_file="$arg" ;; --defaults-extra-file=*) defaults_extra_file="$arg" ;; --defaults-group-suffix=*) defaults_group_suffix="$arg" ;; --no-defaults) no_defaults="$arg" ;; *) if test -n "$pick_args" then # This sed command makes sure that any special chars are quoted, # so the arg gets passed exactly to the server. # XXX: This is broken; true fix requires using eval and proper # quoting of every single arg ($basedir, $ldata, etc.) #args="$args "`echo "$arg" | sed -e 's,\([^a-zA-Z0-9_.-]\),\\\\\1,g'` args="$args $arg" fi ;; esac done } # Try to find a specific file within --basedir which can either be a binary # release or installed source directory and return the path. find_in_basedir() { return_dir=0 found=0 case "$1" in --dir) return_dir=1; shift ;; esac file=$1; shift for dir in "$@" do if test -f "$basedir/$dir/$file" then found=1 if test $return_dir -eq 1 then echo "$basedir/$dir" else echo "$basedir/$dir/$file" fi break fi done if test $found -eq 0 then # Test if command is in PATH $file --no-defaults --version > /dev/null 2>&1 status=$? if test $status -eq 0 then echo $file fi fi } cannot_find_file() { echo echo "FATAL ERROR: Could not find $1" shift if test $# -ne 0 then echo echo "The following directories were searched:" echo for dir in "$@" do echo " $dir" done fi echo echo "If you compiled from source, you need to run 'make install' to" echo "copy the software into the correct location ready for operation." echo echo "If you are using a binary release, you must either be at the top" echo "level of the extracted archive, or pass the --basedir option" echo "pointing to that location." echo } # Ok, let's go. We first need to parse arguments which are required by # my_print_defaults so that we can execute it first, then later re-parse # the command line to add any extra bits that we need. parse_arguments PICK-ARGS-FROM-ARGV "$@" # # We can now find my_print_defaults. This script supports: # # --srcdir=path pointing to compiled source tree # --basedir=path pointing to installed binary location # # or default to compiled-in locations. # if test -n "$basedir" then print_defaults=`find_in_basedir my_print_defaults bin extra` echo "print: $print_defaults" if test -z "$print_defaults" then cannot_find_file my_print_defaults $basedir/bin $basedir/extra exit 1 fi mysql_command=`find_in_basedir mariadb bin` if test -z "$mysql_command" then cannot_find_file mariadb $basedir/bin exit 1 fi else print_defaults="/usr/bin/my_print_defaults" mysql_command="/usr/bin/mariadb" fi if test ! -x "$print_defaults" then cannot_find_file "$print_defaults" exit 1 fi if test ! -x "$mysql_command" then cannot_find_file "$mysql_command" exit 1 fi # Now we can get arguments from the group [client] and [client-server] # in the my.cfg file, then re-run to merge with command line arguments. parse_arguments `$print_defaults $defaults_file $defaults_extra_file $defaults_group_suffix $no_defaults client client-server client-mariadb` parse_arguments PICK-ARGS-FROM-ARGV "$@" set_echo_compat() { case `echo "testing\c"`,`echo -n testing` in *c*,-n*) echo_n= echo_c= ;; *c*,*) echo_n=-n echo_c= ;; *) echo_n= echo_c='\c' ;; esac } validate_reply () { ret=0 if [ -z "$1" ]; then reply=y return $ret fi case $1 in y|Y|yes|Yes|YES) reply=y ;; n|N|no|No|NO) reply=n ;; *) ret=1 ;; esac return $ret } prepare() { umask 0077 touch $config $command $output } do_query() { echo "$1" >$command #sed 's,^,> ,' < $command # Debugging $mysql_command --defaults-file=$config $defaults_extra_file $no_defaults $args <$command >$output return $? } # Simple escape mechanism (\-escape any ' and \), suitable for two contexts: # - single-quoted SQL strings # - single-quoted option values on the right hand side of = in my.cnf # # These two contexts don't handle escapes identically. SQL strings allow # quoting any character (\C => C, for any C), but my.cnf parsing allows # quoting only \, ' or ". For example, password='a\b' quotes a 3-character # string in my.cnf, but a 2-character string in SQL. # # This simple escape works correctly in both places. basic_single_escape () { # The quoting on this sed command is a bit complex. Single-quoted strings # don't allow *any* escape mechanism, so they cannot contain a single # quote. The string sed gets (as argv[1]) is: s/\(['\]\)/\\\1/g # # Inside a character class, \ and ' are not special, so the ['\] character # class is balanced and contains two characters. echo "$1" | sed 's/\(['"'"'\]\)/\\\1/g' } # # create a simple my.cnf file to be able to pass the root password to the mysql # client without putting it on the command line # make_config() { echo "# mysql_secure_installation config file" >$config echo "[mysql]" >>$config echo "user=root" >>$config esc_pass=`basic_single_escape "$rootpass"` echo "password='$esc_pass'" >>$config #sed 's,^,> ,' < $config # Debugging if test -n "$defaults_file" then dfile=`parse_arg "$defaults_file"` cat "$dfile" >>$config fi } get_root_password() { status=1 while [ $status -eq 1 ]; do stty -echo echo $echo_n "Enter current password for root (enter for none): $echo_c" read password echo stty echo if [ "x$password" = "x" ]; then emptypass=1 else emptypass=0 fi rootpass=$password make_config do_query "show create user root@localhost" status=$? done if grep -q unix_socket $output; then emptypass=0 fi echo "OK, successfully used password, moving on..." echo } set_root_password() { stty -echo echo $echo_n "New password: $echo_c" read password1 echo echo $echo_n "Re-enter new password: $echo_c" read password2 echo stty echo if [ "$password1" != "$password2" ]; then echo "Sorry, passwords do not match." echo return 1 fi if [ "$password1" = "" ]; then echo "Sorry, you can't use an empty password here." echo return 1 fi esc_pass=`basic_single_escape "$password1"` do_query "UPDATE mysql.global_priv SET priv=json_set(priv, '$.plugin', 'mysql_native_password', '$.authentication_string', PASSWORD('$esc_pass')) WHERE User='root';" if [ $? -eq 0 ]; then echo "Password updated successfully!" echo "Reloading privilege tables.." reload_privilege_tables if [ $? -eq 1 ]; then clean_and_exit fi echo rootpass=$password1 make_config else echo "Password update failed!" clean_and_exit fi return 0 } remove_anonymous_users() { do_query "DELETE FROM mysql.global_priv WHERE User='';" if [ $? -eq 0 ]; then echo " ... Success!" else echo " ... Failed!" clean_and_exit fi return 0 } remove_remote_root() { do_query "DELETE FROM mysql.global_priv WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');" if [ $? -eq 0 ]; then echo " ... Success!" else echo " ... Failed!" fi } remove_test_database() { echo " - Dropping test database..." do_query "DROP DATABASE IF EXISTS test;" if [ $? -eq 0 ]; then echo " ... Success!" else echo " ... Failed! Not critical, keep moving..." fi echo " - Removing privileges on test database..." do_query "DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%'" if [ $? -eq 0 ]; then echo " ... Success!" else echo " ... Failed! Not critical, keep moving..." fi return 0 } reload_privilege_tables() { do_query "FLUSH PRIVILEGES;" if [ $? -eq 0 ]; then echo " ... Success!" return 0 else echo " ... Failed!" return 1 fi } interrupt() { echo echo "Aborting!" echo cleanup stty echo exit 1 } cleanup() { echo "Cleaning up..." rm -f $config $command $output } # Remove the files before exiting. clean_and_exit() { cleanup exit 1 } # The actual script starts here prepare set_echo_compat echo echo "NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB" echo " SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!" echo echo "In order to log into MariaDB to secure it, we'll need the current" echo "password for the root user. If you've just installed MariaDB, and" echo "haven't set the root password yet, you should just press enter here." echo get_root_password # # Set the root password # echo "Setting the root password or using the unix_socket ensures that nobody" echo "can log into the MariaDB root user without the proper authorisation." echo while true ; do if [ $emptypass -eq 1 ]; then echo $echo_n "Enable unix_socket authentication? [Y/n] $echo_c" else echo "You already have your root account protected, so you can safely answer 'n'." echo echo $echo_n "Switch to unix_socket authentication [Y/n] $echo_c" fi read reply validate_reply $reply && break done if [ "$reply" = "n" ]; then echo " ... skipping." else emptypass=0 do_query "UPDATE mysql.global_priv SET priv=json_set(priv, '$.password_last_changed', UNIX_TIMESTAMP(), '$.plugin', 'mysql_native_password', '$.authentication_string', 'invalid', '$.auth_or', json_array(json_object(), json_object('plugin', 'unix_socket'))) WHERE User='root';" if [ $? -eq 0 ]; then echo "Enabled successfully!" echo "Reloading privilege tables.." reload_privilege_tables if [ $? -eq 1 ]; then clean_and_exit fi echo else echo "Failed!" clean_and_exit fi fi echo while true ; do if [ $emptypass -eq 1 ]; then echo $echo_n "Set root password? [Y/n] $echo_c" else echo "You already have your root account protected, so you can safely answer 'n'." echo echo $echo_n "Change the root password? [Y/n] $echo_c" fi read reply validate_reply $reply && break done if [ "$reply" = "n" ]; then echo " ... skipping." else status=1 while [ $status -eq 1 ]; do set_root_password status=$? done fi echo # # Remove anonymous users # echo "By default, a MariaDB installation has an anonymous user, allowing anyone" echo "to log into MariaDB without having to have a user account created for" echo "them. This is intended only for testing, and to make the installation" echo "go a bit smoother. You should remove them before moving into a" echo "production environment." echo while true ; do echo $echo_n "Remove anonymous users? [Y/n] $echo_c" read reply validate_reply $reply && break done if [ "$reply" = "n" ]; then echo " ... skipping." else remove_anonymous_users fi echo # # Disallow remote root login # echo "Normally, root should only be allowed to connect from 'localhost'. This" echo "ensures that someone cannot guess at the root password from the network." echo while true ; do echo $echo_n "Disallow root login remotely? [Y/n] $echo_c" read reply validate_reply $reply && break done if [ "$reply" = "n" ]; then echo " ... skipping." else remove_remote_root fi echo # # Remove test database # echo "By default, MariaDB comes with a database named 'test' that anyone can" echo "access. This is also intended only for testing, and should be removed" echo "before moving into a production environment." echo while true ; do echo $echo_n "Remove test database and access to it? [Y/n] $echo_c" read reply validate_reply $reply && break done if [ "$reply" = "n" ]; then echo " ... skipping." else remove_test_database fi echo # # Reload privilege tables # echo "Reloading the privilege tables will ensure that all changes made so far" echo "will take effect immediately." echo while true ; do echo $echo_n "Reload privilege tables now? [Y/n] $echo_c" read reply validate_reply $reply && break done if [ "$reply" = "n" ]; then echo " ... skipping." else reload_privilege_tables fi echo cleanup echo echo "All done! If you've completed all of the above steps, your MariaDB" echo "installation should now be secure." echo echo "Thanks for using MariaDB!"