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 if [ -n "$EX4DEBUG" ]; then echo "now debugging $0 $@" set -x fi # set this to some other value if you don't want the panic log to be # watched by this script, for example when you're using your own log # checking mechanisms or don't care. E4BCD_DAILY_REPORT_TO="" E4BCD_DAILY_REPORT_OPTIONS="" E4BCD_WATCH_PANICLOG="yes" # Number of lines of paniclog quoted in warning email. E4BCD_PANICLOG_LINES="10" E4BCD_PANICLOG_NOISE="" # Only do anything if exim4 is actually installed if [ ! -x /usr/lib/exim4/exim4 ]; then exit 0 fi [ -f /etc/default/exim4 ] && . /etc/default/exim4 SPOOLDIR="$(exim4 -bP spool_directory | sed 's/.*=[[:space:]]\(.*\)/\1/')" # The log processing code used in this cron script is not very # sophisticated. It relies on this cron job being executed earlier than # the log rotation job, and will have false results if the log is not # rotated exactly once daily in the daily cron processing. Even in the # default configuration, it will ignore log entries made between this # cron job and the log rotation job. # Patches for more sophisticated processing are appreciated via the # Debian BTS. E4BCD_MAINLOG_NOISE="^[[:digit:][:space:]:-]\{20\}\(\(Start\|End\) queue run: pid=[[:digit:]]\+\|exim [[:digit:]\.]\+ daemon started: pid=[[:digit:]]\+, .*\)$" if [ -n "$E4BCD_DAILY_REPORT_TO" ]; then if [ -x "$(command -v eximstats)" ] && [ -x "$(command -v mail)" ]; then if [ "$(< /var/log/exim4/mainlog grep -v "$E4BCD_MAINLOG_NOISE" | wc -l)" -gt "0" ]; then < /var/log/exim4/mainlog grep -v "$E4BCD_MAINLOG_NOISE" \ | eximstats $E4BCD_DAILY_REPORT_OPTIONS \ | mail -s"$(hostname --fqdn) Daily e-mail activity report" \ $E4BCD_DAILY_REPORT_TO else echo "no mail activity in this interval" \ | mail -s"$(hostname --fqdn) Daily e-mail activity report" \ $E4BCD_DAILY_REPORT_TO fi else echo "The exim4 cron job is configured to send a daily report, but eximstats" echo "and/or mail cannot be found. Please check and make sure that these two" echo "binaries are available" fi fi log_this() { TEXT="$@" if ! logger -t exim4 -p mail.alert $TEXT; then RET="$?" echo >&2 "ALERT: could not syslog $TEXT, logger return value $RET" fi } if [ "$E4BCD_WATCH_PANICLOG" != "no" ]; then if [ -s "/var/log/exim4/paniclog" ]; then if [ -x "/usr/local/lib/exim4/nonzero_paniclog_hook" ]; then /usr/local/lib/exim4/nonzero_paniclog_hook fi if [ -z "$E4BCD_PANICLOG_NOISE" ] || grep -vq "$E4BCD_PANICLOG_NOISE" /var/log/exim4/paniclog; then log_this "ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken" if ! printf "Subject: exim paniclog on %s has non-zero size\nTo: root\n\nexim paniclog /var/log/exim4/paniclog on %s has non-zero size, mail system might be broken. The last ${E4BCD_PANICLOG_LINES} lines are quoted below.\n\n%s\n" \ "$(hostname --fqdn)" "$(hostname --fqdn)" \ "$(tail -n "${E4BCD_PANICLOG_LINES}" /var/log/exim4/paniclog)" \ | exim4 root; then log_this "PANIC: sending out e-mail warning has failed, exim has non-zero return code" fi if [ "$E4BCD_WATCH_PANICLOG" = "once" ]; then logrotate -f /etc/logrotate.d/exim4-paniclog fi fi fi fi # run tidydb as Debian-exim:Debian-exim. if [ -x /usr/sbin/exim_tidydb ]; then cd $SPOOLDIR/db || exit 1 if ! find $SPOOLDIR/db -maxdepth 1 -name '*.lockfile' -or -name 'log.*' \ -or -type f -printf '%f\0' | \ xargs -0r -n 1 \ start-stop-daemon --start --exec /usr/sbin/exim_tidydb \ --chuid Debian-exim:Debian-exim -- $SPOOLDIR > /dev/null; then # if we reach this, invoking exim_tidydb from start-stop-daemon has # failed, most probably because of libpam-tmpdir being in use # (see #373786 and #376165) find $SPOOLDIR/db -maxdepth 1 -name '*.lockfile' -or -name 'log.*' \ -or -type f -printf '%f\0' | \ su - --shell /bin/bash \ --command "xargs -0r -n 1 /usr/sbin/exim_tidydb $SPOOLDIR > /dev/null" \ Debian-exim fi fi