Linux host40.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
: 68.65.120.213 | : 216.73.216.131
Cant Read [ /etc/named.conf ]
7.4.33
trade
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 /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
7za
46
B
-rwxr-xr-x
GET
15.84
KB
-rwxr-xr-x
Mail
408.89
KB
-rwxr-xr-x
[
53.67
KB
-rwxr-xr-x
aclocal
35.62
KB
-rwxr-xr-x
aclocal-1.16
35.62
KB
-rwxr-xr-x
addr2line
33.41
KB
-rwxr-xr-x
animate
11.84
KB
-rwxr-xr-x
ar
61.96
KB
-rwxr-xr-x
arch
37.41
KB
-rwxr-xr-x
arpaname
11.82
KB
-rwxr-xr-x
as
889.91
KB
-rwxr-xr-x
aspell
159.5
KB
-rwxr-xr-x
at
1.01
KB
-rwxr-xr-x
atq
1.01
KB
-rwxr-xr-x
atrm
1.02
KB
-rwxr-xr-x
autoconf
14.42
KB
-rwxr-xr-x
autoheader
8.33
KB
-rwxr-xr-x
autom4te
31.43
KB
-rwxr-xr-x
automake
251.9
KB
-rwxr-xr-x
automake-1.16
251.9
KB
-rwxr-xr-x
autoreconf
20.57
KB
-rwxr-xr-x
autoscan
16.72
KB
-rwxr-xr-x
autoupdate
33.08
KB
-rwxr-xr-x
awk
669.77
KB
-rwxr-xr-x
b2sum
57.76
KB
-rwxr-xr-x
base32
41.55
KB
-rwxr-xr-x
base64
41.56
KB
-rwxr-xr-x
basename
37.49
KB
-rwxr-xr-x
bash
1.1
MB
-rwxr-xr-x
bashbug-64
7.18
KB
-rwxr-xr-x
batch
137
B
-rwxr-xr-x
bison
437.72
KB
-rwxr-xr-x
bunzip2
36.86
KB
-rwxr-xr-x
bzcat
36.86
KB
-rwxr-xr-x
bzcmp
2.08
KB
-rwxr-xr-x
bzdiff
2.08
KB
-rwxr-xr-x
bzgrep
1.64
KB
-rwxr-xr-x
bzip2
36.86
KB
-rwxr-xr-x
bzip2recover
16.44
KB
-rwxr-xr-x
bzless
1.23
KB
-rwxr-xr-x
bzmore
1.23
KB
-rwxr-xr-x
c++
1.21
MB
-rwxr-x---
c++filt
28.89
KB
-rwxr-xr-x
c89
224
B
-rwxr-x---
c99
215
B
-rwxr-x---
cagefs_enter.proxied
1.03
KB
-rwxr-xr-x
cal
65.98
KB
-rwxr-xr-x
captoinfo
85.31
KB
-rwxr-xr-x
cat
37.54
KB
-rwxr-xr-x
catchsegv
3.21
KB
-rwxr-xr-x
cc
1.21
MB
-rwxr-x---
chcon
70.43
KB
-rwxr-xr-x
chgrp
66.35
KB
-rwxr-xr-x
chmod
62.29
KB
-rwxr-xr-x
chown
70.39
KB
-rwxr-xr-x
chrt
37.18
KB
-rwxr-xr-x
cksum
37.46
KB
-rwxr-xr-x
cldetect
10.35
KB
-rwxr-xr-x
clear
12.54
KB
-rwxr-xr-x
clusterdb
70.23
KB
-rwxr-xr-x
cmp
103.76
KB
-rwxr-xr-x
col
29
KB
-rwxr-xr-x
colcrt
16.48
KB
-rwxr-xr-x
colrm
24.88
KB
-rwxr-xr-x
column
49.47
KB
-rwxr-xr-x
comm
41.63
KB
-rwxr-xr-x
compare
11.85
KB
-rwxr-xr-x
composite
11.84
KB
-rwxr-xr-x
conjure
11.84
KB
-rwxr-xr-x
convert
11.84
KB
-rwxr-xr-x
cp
148.05
KB
-rwxr-xr-x
cpan
8.17
KB
-rwxr-xr-x
cpp
1.21
MB
-rwxr-xr-x
createdb
70.22
KB
-rwxr-xr-x
createuser
74.63
KB
-rwxr-xr-x
crontab
1.49
KB
-rwxr-xr-x
crontab.cagefs
54.16
KB
-rwxr-xr-x
csplit
53.76
KB
-rwxr-xr-x
curl
230.09
KB
-rwxr-xr-x
cut
49.59
KB
-rwxr-xr-x
date
106.03
KB
-rwxr-xr-x
dbiprof
6.06
KB
-rwxr-xr-x
dd
78.05
KB
-rwxr-xr-x
delv
42.46
KB
-rwxr-xr-x
df
91.16
KB
-rwxr-xr-x
diff
268.01
KB
-rwxr-xr-x
diff3
128.6
KB
-rwxr-xr-x
dig
162.19
KB
-rwxr-xr-x
dir
139.97
KB
-rwxr-xr-x
dircolors
49.63
KB
-rwxr-xr-x
dirname
33.44
KB
-rwxr-xr-x
display
11.84
KB
-rwxr-xr-x
dnstap-read
20.43
KB
-rwxr-xr-x
dropdb
66.02
KB
-rwxr-xr-x
dropuser
65.99
KB
-rwxr-xr-x
du
107.1
KB
-rwxr-xr-x
echo
37.43
KB
-rwxr-xr-x
egrep
28
B
-rwxr-xr-x
enc2xs
40.97
KB
-rwxr-xr-x
enchant
21.08
KB
-rwxr-xr-x
enchant-lsmod
13.09
KB
-rwxr-xr-x
env
41.43
KB
-rwxr-xr-x
eps2eps
639
B
-rwxr-xr-x
eqn
232.16
KB
-rwxr-xr-x
ex
1.13
MB
-rwxr-xr-x
expand
41.66
KB
-rwxr-xr-x
expr
49.65
KB
-rwxr-xr-x
factor
86.05
KB
-rwxr-xr-x
false
33.39
KB
-rwxr-xr-x
fc-cache
132
B
-rwxr-xr-x
fc-cache-64
20.35
KB
-rwxr-xr-x
fc-cat
16.35
KB
-rwxr-xr-x
fc-conflist
12.25
KB
-rwxr-xr-x
fc-list
12.25
KB
-rwxr-xr-x
fc-match
16.26
KB
-rwxr-xr-x
fc-pattern
12.26
KB
-rwxr-xr-x
fc-query
12.24
KB
-rwxr-xr-x
fc-scan
12.26
KB
-rwxr-xr-x
fc-validate
16.26
KB
-rwxr-xr-x
fgrep
28
B
-rwxr-xr-x
file
24.68
KB
-rwxr-xr-x
find
223.3
KB
-rwxr-xr-x
flex
428.45
KB
-rwxr-xr-x
flex++
428.45
KB
-rwxr-xr-x
flock
33.2
KB
-rwxr-xr-x
fmt
45.57
KB
-rwxr-xr-x
fold
41.48
KB
-rwxr-xr-x
free
20.79
KB
-rwxr-xr-x
freetype-config
4.31
KB
-rwxr-xr-x
funzip
36.63
KB
-rwxr-xr-x
g++
1.21
MB
-rwxr-x---
gawk
669.77
KB
-rwxr-xr-x
gcc
1.21
MB
-rwxr-x---
gcc-ar
36.66
KB
-rwxr-xr-x
gcc-nm
36.66
KB
-rwxr-xr-x
gcc-ranlib
36.66
KB
-rwxr-xr-x
gcov
1.31
MB
-rwxr-xr-x
gcov-dump
570.88
KB
-rwxr-xr-x
gcov-tool
607.75
KB
-rwxr-xr-x
gem
542
B
-rwxr-xr-x
gencat
24.84
KB
-rwxr-xr-x
geoiplookup
21.89
KB
-rwxr-xr-x
geoiplookup6
21.65
KB
-rwxr-xr-x
geqn
232.16
KB
-rwxr-xr-x
getconf
32.46
KB
-rwxr-xr-x
getent
33.13
KB
-rwxr-xr-x
getopt
20.52
KB
-rwxr-xr-x
ghostscript
12.35
KB
-rwxr-xr-x
git
3.67
MB
-rwxr-xr-x
git-receive-pack
3.67
MB
-rwxr-xr-x
git-shell
2.13
MB
-rwxr-xr-x
git-upload-archive
3.67
MB
-rwxr-xr-x
git-upload-pack
3.67
MB
-rwxr-xr-x
gm
7.82
KB
-rwxr-xr-x
gmake
235.32
KB
-rwxr-xr-x
gneqn
908
B
-rwxr-xr-x
gnroff
3.23
KB
-rwxr-xr-x
gpg
1.04
MB
-rwxr-xr-x
gpg-agent
419.29
KB
-rwxr-xr-x
gpg-error
34.16
KB
-rwxr-xr-x
gpg-zip
3.44
KB
-rwxr-xr-x
gpgsplit
87.02
KB
-rwxr-xr-x
gpgv
451.58
KB
-rwxr-xr-x
gpic
293.84
KB
-rwxr-xr-x
gprof
103.36
KB
-rwxr-xr-x
grep
193.63
KB
-rwxr-xr-x
groff
124.92
KB
-rwxr-xr-x
grops
191.14
KB
-rwxr-xr-x
grotty
141.9
KB
-rwxr-xr-x
groups
37.47
KB
-rwxr-xr-x
gs
12.35
KB
-rwxr-xr-x
gsnd
277
B
-rwxr-xr-x
gsoelim
42.55
KB
-rwxr-xr-x
gtar
448.99
KB
-rwxr-xr-x
gtbl
154.61
KB
-rwxr-xr-x
gtroff
805.02
KB
-rwxr-xr-x
gunzip
2.29
KB
-rwxr-xr-x
gzexe
6.23
KB
-rwxr-xr-x
gzip
94.67
KB
-rwxr-xr-x
h2ph
28.69
KB
-rwxr-xr-x
h2xs
59.44
KB
-rwxr-xr-x
head
45.58
KB
-rwxr-xr-x
hexdump
57.5
KB
-rwxr-xr-x
host
142.3
KB
-rwxr-xr-x
hostid
33.41
KB
-rwxr-xr-x
hostname
21.16
KB
-rwxr-xr-x
hunspell
144.7
KB
-rwxr-xr-x
iconv
61.44
KB
-rwxr-xr-x
id
45.52
KB
-rwxr-xr-x
identify
11.84
KB
-rwxr-xr-x
idn
39.41
KB
-rwxr-xr-x
ifnames
4.03
KB
-rwxr-xr-x
import
11.84
KB
-rwxr-xr-x
infocmp
61.05
KB
-rwxr-xr-x
infotocap
85.31
KB
-rwxr-xr-x
install
156.25
KB
-rwxr-xr-x
instmodsh
4.1
KB
-rwxr-xr-x
ionice
28.98
KB
-rwxr-xr-x
ipcrm
28.99
KB
-rwxr-xr-x
ipcs
53.39
KB
-rwxr-xr-x
isosize
24.88
KB
-rwxr-xr-x
ispell
988
B
-rwxr-xr-x
join
53.77
KB
-rwxr-xr-x
kill
37.27
KB
-rwxr-xr-x
ld
1.71
MB
-rwxr-x---
ld.bfd
1.71
MB
-rwxr-x---
ldd
5.31
KB
-rwxr-xr-x
less
173.76
KB
-rwxr-xr-x
lessecho
12.4
KB
-rwxr-xr-x
lesskey
21.99
KB
-rwxr-xr-x
lesspipe.sh
3.07
KB
-rwxr-xr-x
lex
428.45
KB
-rwxr-xr-x
libnetcfg
15.41
KB
-rwxr-xr-x
libtool
359.11
KB
-rwxr-xr-x
libtoolize
126.17
KB
-rwxr-xr-x
link
33.41
KB
-rwxr-xr-x
ln
70.57
KB
-rwxr-xr-x
locale
56.45
KB
-rwxr-xr-x
localedef
307.47
KB
-rwxr-xr-x
logger
49.98
KB
-rwxr-xr-x
login
40.96
KB
-rwxr-xr-x
logname
33.42
KB
-rwxr-xr-x
look
16.45
KB
-rwxr-xr-x
ls
139.97
KB
-rwxr-xr-x
lynx
1.84
MB
-rwxr-xr-x
m4
185.56
KB
-rwxr-xr-x
mail
408.89
KB
-rwxr-xr-x
mailx
408.89
KB
-rwxr-xr-x
make
235.32
KB
-rwxr-xr-x
make-dummy-cert
610
B
-rwxr-xr-x
mariadb
4.34
MB
-rwxr-xr-x
mariadb-access
109.34
KB
-rwxr-xr-x
mariadb-admin
3.88
MB
-rwxr-xr-x
mariadb-binlog
4.14
MB
-rwxr-xr-x
mariadb-check
3.88
MB
-rwxr-xr-x
mariadb-conv
3.59
MB
-rwxr-xr-x
mariadb-convert-table-format
4.12
KB
-rwxr-xr-x
mariadb-dump
3.96
MB
-rwxr-xr-x
mariadb-dumpslow
8.05
KB
-rwxr-xr-x
mariadb-embedded
22.59
MB
-rwxr-xr-x
mariadb-find-rows
3.21
KB
-rwxr-xr-x
mariadb-hotcopy
34.15
KB
-rwxr-xr-x
mariadb-import
3.87
MB
-rwxr-xr-x
mariadb-plugin
3.57
MB
-rwxr-xr-x
mariadb-secure-installation
13.49
KB
-rwxr-xr-x
mariadb-setpermission
17.56
KB
-rwxr-xr-x
mariadb-show
3.87
MB
-rwxr-xr-x
mariadb-slap
3.89
MB
-rwxr-xr-x
mariadb-tzinfo-to-sql
3.57
MB
-rwxr-xr-x
mariadb-waitpid
3.55
MB
-rwxr-xr-x
mc
1.3
MB
-rwxr-xr-x
mcdiff
1.3
MB
-rwxr-xr-x
mcedit
1.3
MB
-rwxr-xr-x
mcookie
33.26
KB
-rwxr-xr-x
mcview
1.3
MB
-rwxr-xr-x
md5sum
45.62
KB
-rwxr-xr-x
mesg
16.36
KB
-rwxr-xr-x
mkdir
82.79
KB
-rwxr-xr-x
mkfifo
66.56
KB
-rwxr-xr-x
mknod
70.55
KB
-rwxr-xr-x
mktemp
45.73
KB
-rwxr-xr-x
mogrify
11.84
KB
-rwxr-xr-x
montage
11.84
KB
-rwxr-xr-x
more
44.94
KB
-rwxr-xr-x
msql2mysql
1.41
KB
-rwxr-xr-x
mv
144.03
KB
-rwxr-xr-x
my_print_defaults
3.56
MB
-rwxr-xr-x
mysql
4.34
MB
-rwxr-xr-x
mysql_config
4.51
KB
-rwxr-xr-x
mysql_find_rows
3.21
KB
-rwxr-xr-x
mysql_waitpid
3.55
MB
-rwxr-xr-x
mysqlaccess
109.34
KB
-rwxr-xr-x
mysqladmin
3.88
MB
-rwxr-xr-x
mysqlbinlog
4.14
MB
-rwxr-xr-x
mysqlcheck
3.88
MB
-rwxr-xr-x
mysqldump
3.96
MB
-rwxr-xr-x
mysqlimport
3.87
MB
-rwxr-xr-x
mysqlshow
3.87
MB
-rwxr-xr-x
mytop
71.95
KB
-rwxr-xr-x
namei
33.1
KB
-rwxr-xr-x
nano
247.94
KB
-rwxr-xr-x
neqn
908
B
-rwxr-xr-x
nice
37.41
KB
-rwxr-xr-x
nl
45.63
KB
-rwxr-xr-x
nm
50.38
KB
-rwxr-xr-x
nohup
37.48
KB
-rwxr-xr-x
nproc
37.48
KB
-rwxr-xr-x
nroff
3.23
KB
-rwxr-xr-x
nslookup
146.26
KB
-rwxr-xr-x
nsupdate
73.05
KB
-rwxr-xr-x
numfmt
65.71
KB
-rwxr-xr-x
objcopy
240.07
KB
-rwxr-xr-x
objdump
419.76
KB
-rwxr-xr-x
od
73.88
KB
-rwxr-xr-x
openssl
745.95
KB
-rwxr-xr-x
pango-list
11.88
KB
-rwxr-xr-x
pango-view
57.44
KB
-rwxr-xr-x
passwd
1.02
KB
-rwxr-xr-x
paste
37.46
KB
-rwxr-xr-x
patch
206.46
KB
-rwxr-xr-x
pathchk
37.41
KB
-rwxr-xr-x
pdf2dsc
698
B
-rwxr-xr-x
pdf2ps
909
B
-rwxr-xr-x
perl
12.44
KB
-rwxr-xr-x
perl5.26.3
12.44
KB
-rwxr-xr-x
perlbug
44.39
KB
-rwxr-xr-x
perldoc
118
B
-rwxr-xr-x
perlivp
10.56
KB
-rwxr-xr-x
perlml
6.86
KB
-rwxr-xr-x
perlthanks
44.39
KB
-rwxr-xr-x
pg_dump
399.43
KB
-rwxr-xr-x
pg_dumpall
107.11
KB
-rwxr-xr-x
pg_restore
173.34
KB
-rwxr-xr-x
pgrep
28.84
KB
-rwxr-xr-x
php
937
B
-rwxr-xr-x
pic
293.84
KB
-rwxr-xr-x
piconv
8.08
KB
-rwxr-xr-x
pinentry
2.35
KB
-rwxr-xr-x
pinentry-curses
77.89
KB
-rwxr-xr-x
ping
66.13
KB
-rwxr-xr-x
pinky
41.53
KB
-rwxr-xr-x
pkg-config
40.04
KB
-rwxr-xr-x
pkgconf
40.04
KB
-rwxr-xr-x
pkill
28.84
KB
-rwxr-xr-x
pl2pm
4.43
KB
-rwxr-xr-x
pmap
32.78
KB
-rwxr-xr-x
pod2html
4.04
KB
-rwxr-xr-x
pod2man
14.68
KB
-rwxr-xr-x
pod2text
10.55
KB
-rwxr-xr-x
pod2usage
3.86
KB
-rwxr-xr-x
podchecker
3.57
KB
-rwxr-xr-x
podselect
2.47
KB
-rwxr-xr-x
post-grohtml
238.73
KB
-rwxr-xr-x
pr
82.23
KB
-rwxr-xr-x
pre-grohtml
130.55
KB
-rwxr-xr-x
precat
5.52
KB
-rwxr-xr-x
preunzip
5.52
KB
-rwxr-xr-x
prezip
5.52
KB
-rwxr-xr-x
prezip-bin
11.98
KB
-rwxr-xr-x
printenv
33.4
KB
-rwxr-xr-x
printf
53.64
KB
-rwxr-xr-x
prove
13.24
KB
-rwxr-xr-x
ps
134.75
KB
-rwxr-xr-x
ps2ascii
631
B
-rwxr-xr-x
ps2epsi
2.69
KB
-rwxr-xr-x
ps2pdf
272
B
-rwxr-xr-x
ps2pdf12
215
B
-rwxr-xr-x
ps2pdf13
215
B
-rwxr-xr-x
ps2pdf14
215
B
-rwxr-xr-x
ps2pdfwr
1.07
KB
-rwxr-xr-x
ps2ps
647
B
-rwxr-xr-x
ps2ps2
669
B
-rwxr-xr-x
psql
644.33
KB
-rwxr-xr-x
ptx
78.07
KB
-rwxr-xr-x
pwd
37.5
KB
-rwxr-xr-x
pwdx
12.68
KB
-rwxr-xr-x
python2
7.84
KB
-rwxr-xr-x
python2.7
7.84
KB
-rwxr-xr-x
python3
11.59
KB
-rwxr-xr-x
python3.6
11.59
KB
-rwxr-xr-x
python3.6m
11.59
KB
-rwxr-xr-x
ranlib
61.98
KB
-rwxr-xr-x
raw
16.49
KB
-rwxr-xr-x
readelf
624.54
KB
-rwxr-xr-x
readlink
45.96
KB
-rwxr-xr-x
realpath
50.02
KB
-rwxr-xr-x
recode
47.03
KB
-rwxr-xr-x
reindexdb
70.32
KB
-rwxr-xr-x
rename
16.5
KB
-rwxr-xr-x
renew-dummy-cert
725
B
-rwxr-xr-x
renice
16.46
KB
-rwxr-xr-x
replace
3.54
MB
-rwxr-xr-x
reset
24.76
KB
-rwxr-xr-x
rev
12.45
KB
-rwxr-xr-x
rm
70.47
KB
-rwxr-xr-x
rmdir
45.54
KB
-rwxr-xr-x
rnano
247.94
KB
-rwxr-xr-x
rsync
510.15
KB
-rwxr-xr-x
ruby
11.84
KB
-rwxr-xr-x
run-with-aspell
85
B
-rwxr-xr-x
runcon
37.45
KB
-rwxr-xr-x
rvi
1.13
MB
-rwxr-xr-x
rview
1.13
MB
-rwxr-xr-x
rvim
2.93
MB
-rwxr-xr-x
scalar
2.18
MB
-rwxr-xr-x
scl
36.87
KB
-rwxr-xr-x
scl_enabled
258
B
-rwxr-xr-x
scl_source
1.82
KB
-rwxr-xr-x
scp
102.85
KB
-rwxr-xr-x
screen
482.46
KB
-rwxr-xr-x
script
36.79
KB
-rwxr-xr-x
sdiff
105.33
KB
-rwxr-xr-x
sed
115.48
KB
-rwxr-xr-x
selectorctl
7.63
KB
-rwxr-xr-x
seq
53.52
KB
-rwxr-xr-x
setsid
16.38
KB
-rwxr-xr-x
setterm
45.12
KB
-rwxr-xr-x
sftp
159.74
KB
-rwxr-xr-x
sh
1.1
MB
-rwxr-xr-x
sha1sum
45.63
KB
-rwxr-xr-x
sha224sum
45.66
KB
-rwxr-xr-x
sha256sum
45.66
KB
-rwxr-xr-x
sha384sum
45.66
KB
-rwxr-xr-x
sha512sum
45.66
KB
-rwxr-xr-x
shred
61.94
KB
-rwxr-xr-x
shuf
58.16
KB
-rwxr-xr-x
size
33.25
KB
-rwxr-xr-x
skill
28.8
KB
-rwxr-xr-x
slabtop
20.84
KB
-rwxr-xr-x
sleep
37.47
KB
-rwxr-xr-x
snice
28.8
KB
-rwxr-xr-x
soelim
42.55
KB
-rwxr-xr-x
sort
123.55
KB
-rwxr-xr-x
spell
122
B
-rwxr-xr-x
splain
18.7
KB
-rwxr-xr-x
split
58.13
KB
-rwxr-xr-x
sprof
28.67
KB
-rwxr-xr-x
sqlite3
1.28
MB
-rwxr-xr-x
ssh
757.54
KB
-rwxr-xr-x
ssh-add
346.13
KB
-rwxr-xr-x
ssh-agent
325.58
KB
-rwxr-xr-x
ssh-copy-id
10.44
KB
-rwxr-xr-x
ssh-keygen
427.16
KB
-rwxr-xr-x
ssh-keyscan
428.57
KB
-rwxr-xr-x
stat
86.23
KB
-rwxr-xr-x
stdbuf
49.58
KB
-rwxr-xr-x
strace
1.94
MB
-rwxr-xr-x
stream
11.83
KB
-rwxr-xr-x
strings
37.43
KB
-rwxr-xr-x
strip
240.09
KB
-rwxr-xr-x
stty
77.68
KB
-rwxr-xr-x
sum
45.61
KB
-rwxr-xr-x
sync
37.43
KB
-rwxr-xr-x
tabs
16.55
KB
-rwxr-xr-x
tac
41.57
KB
-rwxr-xr-x
tail
74.2
KB
-rwxr-xr-x
tar
448.99
KB
-rwxr-xr-x
taskset
37.25
KB
-rwxr-xr-x
tbl
154.61
KB
-rwxr-xr-x
tclsh
9.04
KB
-rwxr-xr-x
tclsh8.6
9.04
KB
-rwxr-xr-x
tee
41.55
KB
-rwxr-xr-x
test
53.63
KB
-rwxr-xr-x
tic
85.31
KB
-rwxr-xr-x
timeout
41.93
KB
-rwxr-xr-x
tload
16.76
KB
-rwxr-xr-x
tmpwatch
35.47
KB
-rwxr-xr-x
toe
16.45
KB
-rwxr-xr-x
top
121.7
KB
-rwxr-xr-x
touch
94.02
KB
-rwxr-xr-x
tput
24.8
KB
-rwxr-xr-x
tr
49.7
KB
-rwxr-xr-x
traceroute
70.97
KB
-rwxr-xr-x
troff
805.02
KB
-rwxr-xr-x
true
33.4
KB
-rwxr-xr-x
truncate
41.44
KB
-rwxr-xr-x
tset
24.76
KB
-rwxr-xr-x
tsort
41.57
KB
-rwxr-xr-x
tty
33.39
KB
-rwxr-xr-x
tzselect
15.01
KB
-rwxr-xr-x
uapi
1.02
KB
-rwxr-xr-x
ul
20.58
KB
-rwxr-xr-x
uname
37.41
KB
-rwxr-xr-x
unexpand
45.68
KB
-rwxr-xr-x
uniq
49.72
KB
-rwxr-xr-x
unlink
33.41
KB
-rwxr-xr-x
unzip
201.88
KB
-rwxr-xr-x
unzipsfx
101.48
KB
-rwxr-xr-x
uptime
12.59
KB
-rwxr-xr-x
users
37.47
KB
-rwxr-xr-x
utmpdump
28.66
KB
-rwxr-xr-x
vacuumdb
78.46
KB
-rwxr-xr-x
vdir
139.97
KB
-rwxr-xr-x
vi
1.13
MB
-rwxr-xr-x
view
1.13
MB
-rwxr-xr-x
vim
2.93
MB
-rwxr-xr-x
vimdiff
2.93
MB
-rwxr-xr-x
vimtutor
2.07
KB
-rwxr-xr-x
vmstat
36.79
KB
-rwxr-xr-x
watch
29.19
KB
-rwxr-xr-x
wc
49.72
KB
-rwxr-xr-x
wget
521.41
KB
-rwxr-xr-x
whereis
29.27
KB
-rwxr-xr-x
which
29.44
KB
-rwxr-xr-x
who
53.68
KB
-rwxr-xr-x
whoami
33.41
KB
-rwxr-xr-x
word-list-compress
11.99
KB
-rwxr-xr-x
x86_64-redhat-linux-c++
1.21
MB
-rwxr-x---
x86_64-redhat-linux-g++
1.21
MB
-rwxr-x---
x86_64-redhat-linux-gcc
1.21
MB
-rwxr-x---
x86_64-redhat-linux-gcc-8
1.21
MB
-rwxr-x---
xargs
74.11
KB
-rwxr-xr-x
xmlcatalog
20.38
KB
-rwxr-xr-x
xmllint
73.37
KB
-rwxr-xr-x
xmlwf
32.96
KB
-rwxr-xr-x
xsltproc
28.47
KB
-rwxr-xr-x
xsubpp
4.96
KB
-rwxr-xr-x
xxd
20.52
KB
-rwxr-xr-x
yes
33.45
KB
-rwxr-xr-x
zcat
1.94
KB
-rwxr-xr-x
zcmp
1.64
KB
-rwxr-xr-x
zdiff
5.74
KB
-rwxr-xr-x
zegrep
29
B
-rwxr-xr-x
zfgrep
29
B
-rwxr-xr-x
zforce
2.03
KB
-rwxr-xr-x
zgrep
7.4
KB
-rwxr-xr-x
zip
229
KB
-rwxr-xr-x
zipcloak
102.91
KB
-rwxr-xr-x
zipgrep
2.88
KB
-rwxr-xr-x
zipinfo
201.88
KB
-rwxr-xr-x
zipnote
97.76
KB
-rwxr-xr-x
zipsplit
97.76
KB
-rwxr-xr-x
zless
2.15
KB
-rwxr-xr-x
zmore
1.8
KB
-rwxr-xr-x
znew
4.45
KB
-rwxr-xr-x
zsoelim
42.55
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mariadb-secure-installation
#!/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() { touch $config $command chmod 600 $config $command } 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!"
Close