Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.172
Cant Read [ /etc/named.conf ]
7.4.32
finalho
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
sbin /
[ HOME SHELL ]
Name
Size
Permission
Action
NetworkManager
2.83
MB
-rwxr-xr-x
accessdb
11.55
KB
-rwxr-xr-x
addgnupghome
3.05
KB
-rwxr-xr-x
addpart
19.69
KB
-rwxr-xr-x
adduser
134.39
KB
-rwxr-xr-x
agetty
48.48
KB
-rwxr-xr-x
alternatives
27.61
KB
-rwxr-xr-x
amavisd
1.51
MB
-rwxr-xr-x
anacron
35.52
KB
-rwxr-xr-x
applygnupgdefaults
2.21
KB
-rwxr-xr-x
arp
63.98
KB
-rwxr-xr-x
arpd
52.98
KB
-rwxr-xr-x
arping
23.19
KB
-rwxr-xr-x
atd
27.17
KB
-rwxr-xr-x
atrun
67
B
-rwxr-xr-x
audispd
39.75
KB
-rwxr-xr-x
auditctl
39.56
KB
-rwxr-xr-x
auditd
125.65
KB
-rwxr-xr-x
augenrules
3.7
KB
-rwxr-xr-x
aureport
105.39
KB
-rwxr-xr-x
ausearch
109.8
KB
-rwxr-xr-x
authconfig
43.49
KB
-rwxr-xr-x
authconfig-tui
43.49
KB
-rwxr-xr-x
autrace
15.49
KB
-rwxr-x---
avcstat
11.25
KB
-rwxr-xr-x
badblocks
27.69
KB
-rwxr-xr-x
biosdecode
24.15
KB
-rwxr-xr-x
biosdevname
36.57
KB
-rwxr-xr-x
blkdeactivate
15.97
KB
-r-xr-xr-x
blkdiscard
23.84
KB
-rwxr-xr-x
blkid
77.92
KB
-rwxr-xr-x
blockdev
32.2
KB
-rwxr-xr-x
bridge
77.61
KB
-rwxr-xr-x
btrfs
690.59
KB
-rwxr-xr-x
btrfs-convert
378.62
KB
-rwxr-xr-x
btrfs-debug-tree
354.23
KB
-rwxr-xr-x
btrfs-find-root
346.22
KB
-rwxr-xr-x
btrfs-image
374.63
KB
-rwxr-xr-x
btrfs-map-logical
350.27
KB
-rwxr-xr-x
btrfs-select-super
346.2
KB
-rwxr-xr-x
btrfs-zero-log
346.2
KB
-rwxr-xr-x
btrfsck
690.59
KB
-rwxr-xr-x
btrfstune
350.24
KB
-rwxr-xr-x
build-locale-archive
860.52
KB
-rwx------
cacertdir_rehash
644
B
-rwxr-xr-x
capsh
19.43
KB
-rwxr-xr-x
cbpadmin
5.54
KB
-rwxr-xr-x
cbpolicyd
21.21
KB
-rwxr-xr-x
cbq
32.73
KB
-rwxr-xr-x
cfdisk
71.37
KB
-rwxr-xr-x
chcpu
23.7
KB
-rwxr-xr-x
chgpasswd
64.1
KB
-rwxr-xr-x
chkconfig
40.22
KB
-rwxr-xr-x
chpasswd
55.88
KB
-rwxr-xr-x
chronyd
263.08
KB
-rwxr-xr-x
chroot
32.48
KB
-rwxr-xr-x
clamd
208.17
KB
-rwxr-xr-x
clamonacc
200.67
KB
-rwxr-xr-x
clock
48.44
KB
-rwxr-xr-x
clockdiff
19.04
KB
-rwxr-xr-x
consoletype
6.95
KB
-rwxr-xr-x
convert-tsql
3.44
KB
-rwxr-xr-x
convertquota
70.88
KB
-rwxr-xr-x
cracklib-check
7.04
KB
-rwxr-xr-x
cracklib-format
246
B
-rwxr-xr-x
cracklib-packer
11.06
KB
-rwxr-xr-x
cracklib-unpacker
7.02
KB
-rwxr-xr-x
create-cracklib-dict
990
B
-rwxr-xr-x
crond
68.48
KB
-rwxr-xr-x
csf
245.08
KB
-rwx------
ctrlaltdel
11.2
KB
-rwxr-xr-x
ctstat
20.09
KB
-rwxr-xr-x
ddns-confgen
19.44
KB
-rwxr-xr-x
debugfs
120.65
KB
-rwxr-xr-x
delpart
19.69
KB
-rwxr-xr-x
depmod
143.24
KB
-rwxr-xr-x
devlink
64.72
KB
-rwxr-xr-x
dhclient
414.34
KB
-rwxr-xr-x
dhclient-script
30.38
KB
-rwxr-xr-x
dmfilemapd
19.16
KB
-r-xr-xr-x
dmidecode
120.2
KB
-rwxr-xr-x
dmsetup
149.2
KB
-r-xr-xr-x
dmstats
149.2
KB
-r-xr-xr-x
dnssec-checkds
922
B
-rwxr-xr-x
dnssec-coverage
924
B
-rwxr-xr-x
dnssec-dsfromkey
56.6
KB
-rwxr-xr-x
dnssec-importkey
52.59
KB
-rwxr-xr-x
dnssec-keyfromlabel
60.52
KB
-rwxr-xr-x
dnssec-keygen
64.55
KB
-rwxr-xr-x
dnssec-keymgr
920
B
-rwxr-xr-x
dnssec-revoke
48.46
KB
-rwxr-xr-x
dnssec-settime
56.52
KB
-rwxr-xr-x
dnssec-signzone
105.7
KB
-rwxr-xr-x
dnssec-verify
48.46
KB
-rwxr-xr-x
dovecot
88.1
KB
-rwxr-xr-x
dracut
55.83
KB
-rwxr-xr-x
dumpe2fs
23.62
KB
-rwxr-xr-x
e2freefrag
11.15
KB
-rwxr-xr-x
e2fsck
250.55
KB
-rwxr-xr-x
e2image
27.85
KB
-rwxr-xr-x
e2label
69.41
KB
-rwxr-xr-x
e2undo
11.32
KB
-rwxr-xr-x
e4defrag
23.55
KB
-rwxr-xr-x
eapol_test
1.77
MB
-rwxr-xr-x
ebtables
6.85
KB
-rwxr-xr-x
ebtables-restore
10.88
KB
-rwxr-xr-x
ebtables-save
851
B
-rwxr-xr-x
edquota
83.09
KB
-rwxr-xr-x
ether-wake
73.26
KB
-rwxr-xr-x
ethtool
293.87
KB
-rwxr-xr-x
faillock
15.02
KB
-rwxr-xr-x
fdformat
11.27
KB
-rwxr-xr-x
fdisk
195.8
KB
-rwxr-xr-x
filefrag
15.23
KB
-rwxr-xr-x
findfs
11.2
KB
-rwxr-xr-x
firewalld
6.87
KB
-rwxr-xr-x
fixfiles
11.03
KB
-rwxr-xr-x
fsck
32.12
KB
-rwxr-xr-x
fsck.btrfs
1.16
KB
-rwxr-xr-x
fsck.cramfs
19.57
KB
-rwxr-xr-x
fsck.ext2
250.55
KB
-rwxr-xr-x
fsck.ext3
250.55
KB
-rwxr-xr-x
fsck.ext4
250.55
KB
-rwxr-xr-x
fsck.minix
73.32
KB
-rwxr-xr-x
fsck.xfs
433
B
-rwxr-xr-x
fsfreeze
11.23
KB
-rwxr-xr-x
fstrim
40.59
KB
-rwxr-xr-x
fxload
19.26
KB
-rwxr-xr-x
genccode
11.46
KB
-rwxr-xr-x
gencmn
11.51
KB
-rwxr-xr-x
genhomedircon
23.77
KB
-rwxr-xr-x
genhostid
6.94
KB
-rwxr-xr-x
genl
52.81
KB
-rwxr-xr-x
genl-ctrl-list
11.27
KB
-rwxr-xr-x
gennorm2
41.05
KB
-rwxr-xr-x
genrandom
11.16
KB
-rwxr-xr-x
gensprep
20.08
KB
-rwxr-xr-x
getcap
11.13
KB
-rwxr-xr-x
getenforce
7.01
KB
-rwxr-xr-x
getpcaps
7.07
KB
-rwxr-xr-x
getsebool
11.13
KB
-rwxr-xr-x
glibc_post_upgrade.x86_64
772.05
KB
-rwx------
groupadd
85.65
KB
-rwxr-xr-x
groupdel
77.38
KB
-rwxr-xr-x
groupmems
55.97
KB
-rwxr-xr-x
groupmod
85.66
KB
-rwxr-xr-x
grpck
59.93
KB
-rwxr-xr-x
grpconv
51.73
KB
-rwxr-xr-x
grpunconv
51.73
KB
-rwxr-xr-x
grub2-bios-setup
1.03
MB
-rwxr-xr-x
grub2-get-kernel-settings
2.08
KB
-rwxr-xr-x
grub2-install
1.29
MB
-rwxr-xr-x
grub2-macbless
1.02
MB
-rwxr-xr-x
grub2-mkconfig
7.63
KB
-rwxr-xr-x
grub2-ofpathname
225.52
KB
-rwxr-xr-x
grub2-probe
1.03
MB
-rwxr-xr-x
grub2-reboot
4
KB
-rwxr-xr-x
grub2-rpm-sort
258.52
KB
-rwxr-xr-x
grub2-set-default
3.46
KB
-rwxr-xr-x
grub2-setpassword
2.96
KB
-rwxr-xr-x
grub2-sparc64-setup
1.04
MB
-rwxr-xr-x
grubby
71.27
KB
-rwxr-xr-x
gss-server
23.13
KB
-rwxr-xr-x
halt
704.8
KB
-rwxr-xr-x
hardlink
15.29
KB
-rwxr-xr-x
hwclock
48.44
KB
-rwxr-xr-x
iconvconfig
22.15
KB
-rwxr-xr-x
iconvconfig.x86_64
22.15
KB
-rwxr-xr-x
icupkg
15.95
KB
-rwxr-xr-x
ifcfg
2.99
KB
-rwxr-xr-x
ifconfig
80.05
KB
-rwxr-xr-x
ifdown
1.61
KB
-rwxr-xr-x
ifenslave
19.74
KB
-rwxr-xr-x
ifstat
40.6
KB
-rwxr-xr-x
ifup
4.89
KB
-rwxr-xr-x
init
1.56
MB
-rwxr-xr-x
insmod
143.24
KB
-rwxr-xr-x
install-info
110.42
KB
-rwxr-xr-x
installkernel
2.69
KB
-rwxr-xr-x
intel-microcode2ucode
11.1
KB
-rwxr-xr-x
ip
459.59
KB
-rwxr-xr-x
ip6tables
91.52
KB
-rwxr-xr-x
ip6tables-restore
91.52
KB
-rwxr-xr-x
ip6tables-save
91.52
KB
-rwxr-xr-x
ipmaddr
19.33
KB
-rwxr-xr-x
iprconfig
394.37
KB
-rwxr-xr-x
iprdbg
135.94
KB
-rwx------
iprdump
123.67
KB
-rwxr-xr-x
iprinit
123.64
KB
-rwxr-xr-x
iprsos
2.18
KB
-rwxr-xr-x
iprupdate
123.64
KB
-rwxr-xr-x
ipset
7.02
KB
-rwxr-xr-x
iptables
91.52
KB
-rwxr-xr-x
iptables-restore
91.52
KB
-rwxr-xr-x
iptables-save
91.52
KB
-rwxr-xr-x
iptunnel
23.33
KB
-rwxr-xr-x
irqbalance
48.5
KB
-rwxr-xr-x
isc-hmac-fixup
11.2
KB
-rwxr-xr-x
kexec
166.06
KB
-rwxr-xr-x
killall5
23.17
KB
-rwxr-xr-x
kpartx
39.47
KB
-rwxr-xr-x
lchage
15.41
KB
-rwxr-xr-x
ldattach
27.93
KB
-rwxr-xr-x
ldconfig
952.08
KB
-rwxr-xr-x
lfd
382.43
KB
-rwx------
lgroupadd
11.28
KB
-rwxr-xr-x
lgroupdel
11.26
KB
-rwxr-xr-x
lgroupmod
15.44
KB
-rwxr-xr-x
lid
15.4
KB
-rwxr-xr-x
lnewusers
15.46
KB
-rwxr-xr-x
lnstat
20.09
KB
-rwxr-xr-x
load_policy
10.97
KB
-rwxr-xr-x
logrotate
68.61
KB
-rwxr-xr-x
logsave
11.27
KB
-rwxr-xr-x
losetup
82.45
KB
-rwxr-xr-x
lpasswd
15.5
KB
-rwxr-xr-x
lshw
895.18
KB
-rwxr-xr-x
lsmod
143.24
KB
-rwxr-xr-x
lsof
150.57
KB
-rwxr-xr-x
luseradd
15.38
KB
-rwxr-xr-x
luserdel
11.3
KB
-rwxr-xr-x
lusermod
19.43
KB
-rwxr-xr-x
lwresd
768.03
KB
-rwxr-xr-x
makedumpfile
376.52
KB
-rwxr-xr-x
mariadbd
23.13
MB
-rwxr-xr-x
matchpathcon
11.19
KB
-rwxr-xr-x
mii-diag
20.08
KB
-rwxr-xr-x
mii-tool
19.51
KB
-rwxr-xr-x
mkdict
246
B
-rwxr-xr-x
mkdumprd
13.99
KB
-rwxr-xr-x
mke2fs
94.08
KB
-rwxr-xr-x
mkfs
11.25
KB
-rwxr-xr-x
mkfs.btrfs
366.45
KB
-rwxr-xr-x
mkfs.cramfs
36.16
KB
-rwxr-xr-x
mkfs.ext2
94.08
KB
-rwxr-xr-x
mkfs.ext3
94.08
KB
-rwxr-xr-x
mkfs.ext4
94.08
KB
-rwxr-xr-x
mkfs.minix
36.27
KB
-rwxr-xr-x
mkfs.xfs
359.8
KB
-rwxr-xr-x
mkhomedir_helper
19.05
KB
-rwxr-xr-x
mklost+found
11.11
KB
-rwxr-xr-x
mkswap
69.64
KB
-rwxr-xr-x
modinfo
143.24
KB
-rwxr-xr-x
modprobe
143.24
KB
-rwxr-xr-x
mysqld
23.13
MB
-rwxr-xr-x
named
768.03
KB
-rwxr-xr-x
named-checkconf
32.25
KB
-rwxr-xr-x
named-checkzone
32.06
KB
-rwxr-xr-x
named-compilezone
32.06
KB
-rwxr-xr-x
named-journalprint
11.13
KB
-rwxr-xr-x
nameif
15.32
KB
-rwxr-xr-x
netreport
10.96
KB
-rwxr-sr-x
new-kernel-pkg
24.96
KB
-rwxr-xr-x
newusers
93.45
KB
-rwxr-xr-x
nginx
1.33
MB
-rwxr-xr-x
nginx-debug
1.45
MB
-rwxr-xr-x
nl-class-add
11.7
KB
-rwxr-xr-x
nl-class-delete
11.55
KB
-rwxr-xr-x
nl-class-list
11.48
KB
-rwxr-xr-x
nl-classid-lookup
11.29
KB
-rwxr-xr-x
nl-cls-add
11.76
KB
-rwxr-xr-x
nl-cls-delete
11.68
KB
-rwxr-xr-x
nl-cls-list
11.58
KB
-rwxr-xr-x
nl-link-list
11.52
KB
-rwxr-xr-x
nl-pktloc-lookup
11.36
KB
-rwxr-xr-x
nl-qdisc-add
11.6
KB
-rwxr-xr-x
nl-qdisc-delete
11.54
KB
-rwxr-xr-x
nl-qdisc-list
11.63
KB
-rwxr-xr-x
nologin
7.01
KB
-rwxr-xr-x
nsec3hash
11.13
KB
-rwxr-xr-x
nstat
23.88
KB
-rwxr-xr-x
opendkim
158.3
KB
-rwxr-xr-x
opendkim-default-keygen
1.4
KB
-rwxr-xr-x
opendkim-genkey
6.29
KB
-rwxr-xr-x
opendkim-genzone
66.68
KB
-rwxr-xr-x
opendkim-reportstats
14.16
KB
-rwxr-xr-x
opendkim-testkey
70.98
KB
-rwxr-xr-x
opendkim-testmsg
15.27
KB
-rwxr-xr-x
ownership
15.04
KB
-rwxr-xr-x
packer
11.06
KB
-rwxr-xr-x
pam_console_apply
39.69
KB
-rwxr-xr-x
pam_tally2
15.05
KB
-rwxr-xr-x
pam_timestamp_check
10.97
KB
-rwsr-xr-x
paperconfig
4.07
KB
-rwxr-xr-x
parted
77.22
KB
-rwxr-xr-x
partprobe
11.23
KB
-rwxr-xr-x
partx
86.55
KB
-rwxr-xr-x
pidof
23.17
KB
-rwxr-xr-x
ping6
64.63
KB
-rwxr-xr-x
pivot_root
11.19
KB
-rwxr-xr-x
plipconfig
11.06
KB
-rwxr-xr-x
pluginviewer
15.23
KB
-rwxr-xr-x
plymouth-set-default-theme
6.21
KB
-rwxr-xr-x
plymouthd
84.22
KB
-rwxr-xr-x
portrelease
15.02
KB
-rwxr-xr-x
portreserve
15.02
KB
-rwxr-xr-x
postalias
284.66
KB
-rwxr-xr-x
postcat
211.42
KB
-rwxr-xr-x
postconf
383.47
KB
-rwxr-xr-x
postdrop
292.98
KB
-rwxr-sr-x
postfix
202.72
KB
-rwxr-xr-x
postkick
198.51
KB
-rwxr-xr-x
postlock
202.66
KB
-rwxr-xr-x
postlog
202.86
KB
-rwxr-xr-x
postmap
288.88
KB
-rwxr-xr-x
postmulti
215.48
KB
-rwxr-xr-x
postqueue
292.92
KB
-rwxr-sr-x
postsuper
219.59
KB
-rwxr-xr-x
poweroff
704.8
KB
-rwxr-xr-x
ppp-watch
23.2
KB
-rwxr-xr-x
pure-authd
19.62
KB
-rwxr-xr-x
pure-config.pl
4.64
KB
-rwxr-xr-x
pure-config.py
7.54
KB
-rwxr-xr-x
pure-ftpd
222.52
KB
-rwxr-xr-x
pure-ftpwho
27.25
KB
-rwxr-xr-x
pure-mrtginfo
10.98
KB
-rwxr-xr-x
pure-quotacheck
15.07
KB
-rwxr-xr-x
pure-uploadscript
15.36
KB
-rwxr-xr-x
pwck
51.71
KB
-rwxr-xr-x
pwconv
47.57
KB
-rwxr-xr-x
pwhistory_helper
15.44
KB
-rwxr-xr-x
pwunconv
47.59
KB
-rwxr-xr-x
quot
70.66
KB
-rwxr-xr-x
quotacheck
107.29
KB
-rwxr-xr-x
quotaoff
75.03
KB
-rwxr-xr-x
quotaon
75.03
KB
-rwxr-xr-x
quotastats
14.03
KB
-rwxr-xr-x
rdisc
23.17
KB
-rwxr-xr-x
rdma
73.42
KB
-rwxr-xr-x
readprofile
15.46
KB
-rwxr-xr-x
reboot
704.8
KB
-rwxr-xr-x
repquota
75.16
KB
-rwxr-xr-x
resize2fs
48.41
KB
-rwxr-xr-x
resizepart
32.36
KB
-rwxr-xr-x
restorecon
27.16
KB
-rwxr-xr-x
rmmod
143.24
KB
-rwxr-xr-x
rndc
35.88
KB
-rwxr-xr-x
rndc-confgen
19.44
KB
-rwxr-xr-x
route
66.6
KB
-rwxr-xr-x
routef
173
B
-rwxr-xr-x
routel
1.59
KB
-rwxr-xr-x
rpc.rquotad
78.95
KB
-rwxr-xr-x
rpcbind
60.07
KB
-rwxr-xr-x
rpcinfo
27.3
KB
-rwxr-xr-x
rsyslogd
648.45
KB
-rwxr-xr-x
rtacct
41.93
KB
-rwxr-xr-x
rtcwake
31.96
KB
-rwxr-xr-x
rtmon
48.67
KB
-rwxr-xr-x
rtpr
37
B
-rwxr-xr-x
rtstat
20.09
KB
-rwxr-xr-x
runlevel
704.8
KB
-rwxr-xr-x
runuser
32.21
KB
-rwxr-xr-x
safe_finger
11.08
KB
-rwxr-xr-x
sasl2-shared-mechlist
10.98
KB
-rwxr-xr-x
saslauthd
92.59
KB
-rwxr-xr-x
sasldblistusers2
19.26
KB
-rwxr-xr-x
saslpasswd2
15.09
KB
-rwxr-xr-x
sefcontext_compile
60.53
KB
-rwxr-xr-x
selabel_digest
11.17
KB
-rwxr-xr-x
selabel_lookup
11.14
KB
-rwxr-xr-x
selabel_lookup_best_match
11.16
KB
-rwxr-xr-x
selabel_partial_match
11.09
KB
-rwxr-xr-x
selinux_restorecon
15.21
KB
-rwxr-xr-x
selinuxconlist
11.1
KB
-rwxr-xr-x
selinuxdefcon
11.12
KB
-rwxr-xr-x
selinuxenabled
6.98
KB
-rwxr-xr-x
selinuxexeccon
7.09
KB
-rwxr-xr-x
semanage
42.76
KB
-rwxr-xr-x
semodule
23.77
KB
-rwxr-xr-x
sendmail
322.16
KB
-rwxr-xr-x
sendmail.postfix
322.16
KB
-rwxr-xr-x
service
3.17
KB
-rwxr-xr-x
sestatus
15.02
KB
-rwxr-xr-x
setcap
11.13
KB
-rwxr-xr-x
setenforce
7.05
KB
-rwxr-xr-x
setfiles
27.16
KB
-rwxr-xr-x
setquota
83.16
KB
-rwxr-xr-x
setsebool
14.99
KB
-rwxr-xr-x
sfdisk
83.25
KB
-rwxr-xr-x
shutdown
704.8
KB
-rwxr-xr-x
sim_server
10.97
KB
-rwxr-xr-x
slattach
42.4
KB
-rwxr-xr-x
sln
743.78
KB
-rwxr-xr-x
smtp-sink
100.38
KB
-rwxr-xr-x
smtp-source
87.1
KB
-rwxr-xr-x
snmpd
31.05
KB
-rwxr-xr-x
snmptrapd
31.22
KB
-rwxr-xr-x
ss
128.44
KB
-rwxr-xr-x
sshd
832.96
KB
-rwxr-xr-x
sshd-keygen
3.53
KB
-rwxr-xr-x
sulogin
40.53
KB
-rwxr-xr-x
sushell
67
B
-rwxr-xr-x
swaplabel
15.31
KB
-rwxr-xr-x
swapoff
15.53
KB
-rwxr-xr-x
swapon
53.29
KB
-rwxr-xr-x
switch_root
15.35
KB
-rwxr-xr-x
sys-unconfig
184
B
-rwxr-xr-x
sysctl
23.57
KB
-rwxr-xr-x
tc
384.66
KB
-rwxr-xr-x
tcpd
36.62
KB
-rwxr-xr-x
tcpdmatch
40.83
KB
-rwxr-xr-x
tcsd
300.27
KB
-rwxr-xr-x
telinit
704.8
KB
-rwxr-xr-x
testsaslauthd
15.09
KB
-rwxr-xr-x
tracepath
15.05
KB
-rwxr-xr-x
tracepath6
15.05
KB
-rwxr-xr-x
try-from
23.47
KB
-rwxr-xr-x
tsig-keygen
19.44
KB
-rwxr-xr-x
tune2fs
69.41
KB
-rwxr-xr-x
tuned
3.29
KB
-rwxr-xr-x
tuned-adm
5.22
KB
-rwxr-xr-x
udevadm
414.27
KB
-rwxr-xr-x
unix_chkpwd
35.42
KB
-rwsr-xr-x
unix_update
35.42
KB
-rwx------
update-alternatives
27.61
KB
-rwxr-xr-x
useradd
134.39
KB
-rwxr-xr-x
userdel
93.5
KB
-rwxr-xr-x
userhelper
39.38
KB
-rws--x--x
usermod
130.33
KB
-rwxr-xr-x
usernetctl
11.03
KB
-rwsr-xr-x
uuserver
14.97
KB
-rwxr-xr-x
varnish_reload_vcl
3.09
KB
-rwxr-xr-x
varnishd
4.23
MB
-rwxr-xr-x
vigr
62.54
KB
-rwxr-xr-x
vipw
62.54
KB
-rwxr-xr-x
virt-what
11.57
KB
-rwxr-xr-x
visudo
200.91
KB
-rwxr-xr-x
vmcore-dmesg
19.28
KB
-rwxr-xr-x
vpddecode
15.33
KB
-rwxr-xr-x
weak-modules
31.9
KB
-rwxr-xr-x
wipefs
28.05
KB
-rwxr-xr-x
wpa_cli
128.06
KB
-rwxr-xr-x
wpa_passphrase
56.79
KB
-rwxr-xr-x
wpa_supplicant
1.93
MB
-rwxr-xr-x
xfs_admin
1.35
KB
-rwxr-xr-x
xfs_bmap
638
B
-rwxr-xr-x
xfs_copy
339.33
KB
-rwxr-xr-x
xfs_db
576.38
KB
-rwxr-xr-x
xfs_estimate
11.16
KB
-rwxr-xr-x
xfs_freeze
767
B
-rwxr-xr-x
xfs_fsr
31.83
KB
-rwxr-xr-x
xfs_growfs
327.2
KB
-rwxr-xr-x
xfs_info
472
B
-rwxr-xr-x
xfs_io
122.68
KB
-rwxr-xr-x
xfs_logprint
355.81
KB
-rwxr-xr-x
xfs_mdrestore
314.81
KB
-rwxr-xr-x
xfs_metadump
747
B
-rwxr-xr-x
xfs_mkfile
1007
B
-rwxr-xr-x
xfs_ncheck
650
B
-rwxr-xr-x
xfs_quota
84.88
KB
-rwxr-xr-x
xfs_repair
563.2
KB
-rwxr-xr-x
xfs_rtcp
15.25
KB
-rwxr-xr-x
xqmstats
14.03
KB
-rwxr-xr-x
xtables-multi
91.52
KB
-rwxr-xr-x
yum-complete-transaction
9.22
KB
-rwxr-xr-x
yumdb
8.67
KB
-rwxr-xr-x
zdump
14.02
KB
-rwxr-xr-x
zic
50.02
KB
-rwxr-xr-x
zramctl
82.23
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : opendkim-reportstats
#!/bin/sh # # Copyright (c) 2012, The Trusted Domain Project. All rights reserved. # # Script to upload OpenDKIM statistics data. Original contributed # by John Wood. # # ## ## opendkim(8) configuration file location ## OPENDKIMCONFIG="/etc/mail/opendkim.conf" ## ## Owner and group of the statistics file ## (Leave empty to skip the re-creation step and let opendkim(8) do it) ## OPENDKIMDATOWNER="opendkim:opendkim" ## =========================================== ## NO USER SERVICEABLE PARTS BEYOND THIS POINT ## =========================================== PROGNAME=`basename $0` OPENDKIMSTATS=`awk '$1 == "Statistics" { print $2 }' $OPENDKIMCONFIG` if [ x"$OPENDKIMSTATS" = x"" ] then echo "${PROGNAME}: can't determine statistics file location from ${OPENDKIMCONFIG}" exit 1 fi OPENDKIMSTATSDIR=`dirname $OPENDKIMSTATS` OPENDKIMSTATSFILE=`basename $OPENDKIMSTATS` REPORTERNAME="OpenDKIM Filter User" REPORTEREMAIL="<`whoami`@$HOSTNAME>" UNIXDATE=`date +%s` HOSTNAME=`hostname` OPENDKIMSTATSDAT="${OPENDKIMSTATSDIR}/${OPENDKIMSTATSFILE}" REPORTSTUB="${OPENDKIMSTATSDIR}/report_stub.txt" GNUPGDIR="${OPENDKIMSTATSDIR}/.gnupg" STATEMAIL="OpenDKIM Statistics Reporting Key <stats-report@opendkim.org>" STATEMAILSIMPLE="stats-report@opendkim.org" REGISTEREMAIL="OpenDKIM Stats Registration <stats-registration@opendkim.org>" SENDMAILFLAGS="-t -f $REPORTEREMAIL" ODKGNUPGURL="http://www.opendkim.org/stats/stats_opendkim_org.pub" ODKGNUPGMD5URL="http://www.opendkim.org/stats/stats_opendkim_org.pub.md5" ODKGNUPGCERT="${GNUPGDIR}/opendkim_org.pem" ODKGNUPGMD5="${GNUPGDIR}/stats_opendkim_org.pub.md5" OPENDKIMSTATS="2.11.0" # # VERSION -- output version string # version() { echo "${PROGNAME} v{OPENDKIMSTATS}" exit 0 } # # USAGE -- output usage message # usage() { echo "${PROGNAME}: usage: ${PROGNAME} <mode>" echo echo "Valid modes:" echo echo " -register Downloads the opendkim.org public key," echo " generates stats reporting GPG setup, and" echo " sends a registration request" echo echo " -sendregistration Sends pre-setup GPG registration to" ecoh " opendkim.org in case initial registration" echo " has problems sending email" echo echo " -sendstats Sends latest OpenDKIM stats to opendkim.org" echo echo " -version Displays the version and exits" exit 0 } # # SET_PATHS -- set PATH and SENDMAIL variables # set_paths() { # Try to ensure proper execution by adding likely paths PATH=$PATH:/usr/sbin:/sbin:/usr/bin:/usr/lib for i in /usr/local/bin /usr/local/sbin /opt/local/bin \ /opt/local/sbin /usr/sfw/bin /usr/sfw/sbin do if [ -d "$i" ]; then PATH=$PATH:$i export PATH fi done # Solaris if [ -f '/usr/lib/sendmail' ] then SENDMAIL="/usr/lib/sendmail" else SENDMAIL="/usr/sbin/sendmail" fi } # # CHECK_OPENSSL -- try to find the openssl binary # check_openssl() { OPENSSL=`which openssl` if [ -z "$OPENSSL" ]; then echo "${PROGNAME}: cannot locate openssl binary" exit 1 fi } # # CHECK_GPG -- try to find the gpg binary # check_gpg() { GPG=`which gpg` if [ -z "$GPG" ]; then echo "${PROGNAME}: cannot locate gpg binary" exit 1 fi } # # CHECK_GPG_SETUP -- verify the OpenDKIM public key is in the local keyring # check_gpg_setup() { GPGVERIFY=`gpg --homedir="$GNUPGDIR" --no-permission-warning --list-keys | \ grep "$STATEMAIL" | \ awk -FO '{print "O"$2}'` if [ "$GPGVERIFY" != "$STATEMAIL" ] then echo "${PROGNAME}: could not verify imported GPG key for $STATEMAIL" echo "${PROGNAME}: run \"${PROGNAME} -register\" first" exit 1 fi GPGSETUP=`gpg --homedir="$GNUPGDIR" --no-permission-warning --list-keys | \ grep -v "$STATEMAIL" | \ grep "OpenDKIM"` if [ -z "$GPGSETUP" ] then echo "${PROGNAME}: GPG setup incomplete" echo "${PROGNAME}: run \"${PROGNAME}\" again" exit 1 fi } # # CHECK_WEB_APP -- figure out what web "GET" application is available # check_web_app() { WGET=`which wget` if [ ! -z "$WGET" ] then WEBAPP=wget elif [ -z "$WGET" ] then CURL=`which curl` if [ -z "$CURL" ] then echo "${PROGNAME}: cannot locate wget or curl" exit 1 fi WEBAPP=curl fi } # # GET_OPENDKIM_ORG_PUB_CERT -- go get the OpenDKIM public key for signing # get_opendkim_org_pub_cert() { # safety net if [ $? != 0 ] then echo "${PROGNAME}: cannot locate wget or curl" exit 1 fi # get the md5 sum file first if [ x"$WEBAPP" = x"wget" ] then "$WEBAPP" -q -c --tries=10 -T 340 \ -O "$ODKGNUPGMD5" "$ODKGNUPGMD5URL" elif [ "$WEBAPP" = curl ] then "$WEBAPP" -s -m 340 "$ODKGNUPGMD5URL" > "$ODKGNUPGMD5" fi if [ $? != 0 ] then echo "${PROGNAME}: failed to retrieve ${ODKGNUPGMD5URL}" exit 1 fi # get the public cert if [ "$WEBAPP" = wget ] then "$WEBAPP" -q -c --tries=10 -T 340 \ -O "$ODKGNUPGCERT" "$ODKGNUPGURL" elif [ "$WEBAPP" = curl ] then "$WEBAPP" -s -m 340 "$ODKGNUPGURL" > "$ODKGNUPGCERT" fi if [ $? != 0 ] then echo "${PROGNAME}: failed to retrieve ${ODKGNUPGURL}" exit 1 fi # verify the md5 sum of the public cert if [ -f "$ODKGNUPGMD5" ] && [ -f "$ODKGNUPGCERT" ] then ODKORGSUM=`cat "$ODKGNUPGMD5"` LOCALSUM=`"$OPENSSL" md5 "$ODKGNUPGCERT" | awk '{print $2}'` else echo "${PROGNAME}: $ODKGNUPGMD5 or ${ODKGNUPGCERT} absent/unreadable" exit 1 fi if [ "$ODKORGSUM" != "$LOCALSUM" ] then echo "${PROGNAME}: MD5 checksum for $ODKGNUPGCERT failed" echo "${PROGNAME}: (expecting ${ODKORGSUM}, got ${LOCALSUM})" exit 1 fi } # # INPUT_CONTACT_INFO -- prompt for details we want to store in the key # input_contact_info() { NAMEVALID=0 INPUTNAME="" EMAILVALID=0 INPUTEMAIL="" NAMELENGTH=0 CONTACTEMAIL="" until [ "$NAMEVALID" = 1 ] do printf "Please enter your name: " read INPUTNAME NAMELENGTH=`echo "$INPUTNAME" | wc -c` if [ "$NAMELENGTH" -lt 5 ] then INPUTNAME="" echo "${PROGNAME}: name must be at least five characters long" fi if [ ! -z "$INPUTNAME" ] then NAMEVALID=1 fi done until [ "$EMAILVALID" = 1 ] do printf "Please enter your contact email for OpenDKIM stats: " read INPUTEMAIL CONTACTEMAIL=`echo $INPUTEMAIL | egrep '[^[:space:]]+\>@[a-zA-Z0-9_\.]+\.[a-zA-Z]{2,3}'` if [ ! -z "$CONTACTEMAIL" ] then EMAILVALID=1 else echo "${PROGNAME}: invalid email address syntax" fi done } # # OPENDKIM_GPG_IMPORT -- set up GPG and import the OpenDKIM key # opendkim_gpg_import() { echo "${PROGNAME}: retrieving opendkim.org public GPG certificate" get_opendkim_org_pub_cert if [ $? != 0 ] then echo "${PROGNAME}: failed to retrieve opendkim.org public GPG certificate" exit 1 fi echo "${PROGNAME}: importing opendkim.org public GPG certificate" if [ ! -d "$GNUPGDIR" ] then echo "${PROGNAME}: directory ${GNUPGDIR} missing" exit 1 fi cat > "${GNUPGDIR}/gpg.conf" <<EOF no-secmem-warning keyserver-options no-auto-key-retrieve no-random-seed-file trust-model always no-permission-warning EOF gpg --homedir="$GNUPGDIR" --no-permission-warning --import \ --trust-model always "$ODKGNUPGCERT" if [ $? != 0 ] then echo "${PROGNAME}: certificate import failed" exit 1 fi GPGVERIFY=`gpg --homedir="$GNUPGDIR" --no-permission-warning --list-keys | \ grep "$STATEMAIL" | awk -FO '{print "O"$2}'` if [ "$GPGVERIFY" != "$STATEMAIL" ] then echo "${PROGNAME}: could not verify imported GPG key for: ${STATEMAIL}" exit 1 fi } # # REGISTER -- generate a signing key and send it to OpenDKIM # register() { mkdir -p "$GNUPGDIR" if [ $? != 0 ] then echo "${PROGNAME}: unable to create ${GNUPGDIR}" exit 1 fi chmod 700 "$GNUPGDIR" echo "${PROGNAME}: configuring local GPG for statstics reporting" # get name/email for non-interactive GPG cert/key generation until [ x"$AGREE" = x"y" ] do input_contact_info printf "$INPUTNAME <$INPUTEMAIL> is correct? [y/n]: " read AGREE done if [ -z "$INPUTNAME" ] || [ -z "$INPUTEMAIL" ] then echo "${PROGNAME}: missing contact information, cannot generate GPG certificates" echo "${PROGNAME}: run \"${PROGNAME} -register\"" exit 1 fi # Generate the key INPUTFILE="${GNUPGDIR}/${UNIXDATE}.temp.gpg" echo "# input file to generate GnuPG keys automatically" > $INPUTFILE echo >> $INPUTFILE echo "%echo Generating a standard key" >> $INPUTFILE echo >> $INPUTFILE echo "#######################################" >> $INPUTFILE echo "# parameters for the key" >> $INPUTFILE echo >> $INPUTFILE echo "Key-Type: DSA" >> $INPUTFILE echo "Key-Length: 1024" >> $INPUTFILE echo "Subkey-Type: ELG-E" >> $INPUTFILE echo "Subkey-Length: 2048" >> $INPUTFILE echo >> $INPUTFILE echo "Name-Real: $INPUTNAME" >> $INPUTFILE echo "Name-Comment: OpenDKIM GnuPG key" >> $INPUTFILE echo "Name-Email: $INPUTEMAIL" >> $INPUTFILE echo >> $INPUTFILE echo "Expire-Date: 0" >> $INPUTFILE echo >> $INPUTFILE echo "######################################" >> $INPUTFILE echo >> $INPUTFILE echo "# the keyring files" >> $INPUTFILE echo "%pubring ${GNUPGDIR}/pubring.gpg" >> $INPUTFILE echo "%secring ${GNUPGDIR}/secring.gpg" >> $INPUTFILE echo >> $INPUTFILE echo "# perform key generation" >> $INPUTFILE echo "%commit" >> $INPUTFILE echo >> $INPUTFILE echo "%echo done" >> $INPUTFILE echo "#EOF" >> $INPUTFILE echo >> $INPUTFILE if [ ! -f "$INPUTFILE" ] then echo "${PROGNAME}: failed to create temporary file for GPG key generation" exit 1 fi # call GPG on the temp file echo "${PROGNAME}: generating signing key" gpg --batch --gen-key --homedir="$GNUPGDIR" \ --keyring="${GNUPGDIR}/pubring.gpg" \ --secret-keyring="${GNUPGDIR}/secring.gpg" "$INPUTFILE" if [ $? != 0 ] then echo "${PROGNAME}: signing key generation failed" exit 1 fi rm "$INPUTFILE" } # # NAME_FROM_KEY -- try to get name/email from gnupg key # name_from_key() { REPORTER=`gpg --homedir="$GNUPGDIR" --list-keys | grep 'OpenDKIM GnuPG key' | sed 's/^uid *//'` if [ ! -z "$REPORTER" ] then REPORTERNAME=`echo $REPORTER | awk -F\< '{print $1}'` REPORTEREMAIL=`echo $REPORTER | awk -F\< '{print "<"$2}'` if [ -z "$REPORTERNAME" ] || [ -z "$REPORTEREMAIL" ] then REPORTERNAME="OpenDKIM Filter User" REPORTEREMAIL="<`whoami`@$HOSTNAME>" fi fi # re-eval flags to set the envelope as well SENDMAILFLAGS="-t -f $REPORTEREMAIL" } # # SEND_REGISTRATION -- send registration # send_registration() { echo "${PROGNAME}: preparing signing key submission" gpg --batch -a --export --homedir="$GNUPGDIR" \ --out="/tmp/$HOSTNAME.public.key" if [ $? != 0 ] then echo "${PROGNAME}: unable to export public key" exit 1 fi if [ -f /tmp/$HOSTNAME.public.key ] then mv /tmp/$HOSTNAME.public.key "${GNUPGDIR}"/ fi # encrypt public key and prep for sending to OpenDKIM gpg -a --homedir="$GNUPGDIR" -o \ "${GNUPGDIR}/${HOSTNAME}.${UNIXDATE}.gpg" -e \ -r "$STATEMAILSIMPLE" -- "${GNUPGDIR}/${HOSTNAME}.public.key" 2>/dev/null if [ ! -f "${GNUPGDIR}/${HOSTNAME}.${UNIXDATE}.gpg" ] then echo "${PROGNAME}: encrypted key generation failed" rm /tmp/"{$HOSTNAME}".public.key exit 1 fi name_from_key # create a one time stub echo "From: ${REPORTERNAME} ${REPORTEREMAIL}" > $REPORTSTUB echo "To: ${REGISTEREMAIL}" >> $REPORTSTUB echo "Subject: OpenDKIM stats reporting registration from ${REPORTEREMAIL}" >> $REPORTSTUB # send registration email cat $REPORTSTUB ${GNUPGDIR}/${HOSTNAME}.${UNIXDATE}.gpg | \ ${SENDMAIL} ${SENDMAILFLAGS} if [ $? != 0 ] then echo "${PROGNAME}: unable to send registration email" exit 1 fi echo "${PROGNAME}: registration submitted to OpenDKIM" rm ${GNUPGDIR}/${HOSTNAME}.${UNIXDATE}.gpg rm ${GNUPGDIR}/${HOSTNAME}.public.key rm ${REPORTSTUB} } # # SEND_STATS -- send the current stats batch # send_stats() { if [ ! -s "$OPENDKIMSTATSDAT" ] then echo "{$PROGNAME}: ${OPENDKIMSTATSDAT} empty or missing" exit 1 fi GPGVERIFY=`gpg --homedir="$GNUPGDIR" --no-permission-warning --list-keys | \ grep "$STATEMAIL" | awk -FO '{print "O"$2}'` if [ "$GPGVERIFY" != "$STATEMAIL" ] then echo "${PROGNAME}: could not verify imported GPG key for: ${STATEMAIL}" echo "${PROGNAME}: run \"${PROGNAME} -register\"" exit 1 fi name_from_key echo "From: ${REPORTERNAME} ${REPORTEREMAIL}" > $REPORTSTUB echo "To: $STATEMAIL" >> $REPORTSTUB echo "Subject: opendkim-stats report from ${HOSTNAME} at ${UNIXDATE}" >> $REPORTSTUB if [ ! -s "$REPORTSTUB" ] then echo "${PROGNAME}: report stub empty or missing" exit 1 fi # clearsign statistics data gpg --homedir="$GNUPGDIR" \ --output "${GNUPGDIR}/${OPENDKIMSTATSFILE}.${HOSTNAME}.${UNIXDATE}.gpg" \ --clearsign $OPENDKIMSTATSDAT if [ $? != 0 ] then echo "${PROGNAME}: GPG clearsign of stats file ${OPENDKIMSTATSDAT} failed" rm $REPORTSTUB exit 1 fi if [ ! -f "${GNUPGDIR}/${OPENDKIMSTATSFILE}.${HOSTNAME}.${UNIXDATE}.gpg" ] then echo "${PROGNAME}: GPG clearsign of stats file ${OPENDKIMSTATSDAT} missing" rm $REPORTSTUB exit 1 fi cat $REPORTSTUB ${GNUPGDIR}/${OPENDKIMSTATSFILE}.${HOSTNAME}.${UNIXDATE}.gpg | \ ${SENDMAIL} ${SENDMAILFLAGS} if [ $? != 0 ] then echo "${PROGNAME}: sending of ${GNUPGDIR}/${OPENDKIMSTATSFILE}.${HOSTNAME}.${UNIXDATE}.gpg failed" exit 1 fi rm ${GNUPGDIR}/${OPENDKIMSTATSFILE}.${HOSTNAME}.${UNIXDATE}.gpg # change this to cp when testing mv $OPENDKIMSTATSDAT ${OPENDKIMSTATSDAT}.old if [ ! -z "$OPENDKIMDATOWNER" ] then touch $OPENDKIMSTATSDAT touch ${OPENDKIMSTATSDIR}/last_report chown $OPENDKIMDATOWNER $OPENDKIMSTATSDAT chmod 0660 $OPENDKIMSTATSDAT fi rm -f $REPORTSTUB echo "${PROGNAME}: OpenDKIM stats sent at `date`" exit 0 } case "$1" in -register) set_paths check_openssl check_gpg check_web_app register opendkim_gpg_import send_registration ;; -sendregistration) set_paths check_openssl check_gpg check_gpg_setup send_registration ;; -sendstats) set_paths check_openssl check_gpg send_stats ;; -version) version ;; *) usage esac
Close