Warning: include_once(/home/freelife/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /home/freelife/public_html/wp-content/advanced-cache.php on line 22

Warning: include_once(): Failed opening '/home/freelife/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php' for inclusion (include_path='.:') in /home/freelife/public_html/wp-content/advanced-cache.php on line 22
403WebShell
403Webshell
Server IP : 176.9.105.210  /  Your IP : 216.73.217.21
Web Server : Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
System : Linux server.mediaphic.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : freelife ( 1356)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system,show_source,mail,sendmail,popen,symlink,phpinfo
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /sbin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /sbin/opendkim-default-keygen
#!/bin/bash

# Create default keys for the OpenDKIM Milter.

# source function library
#. /etc/rc.d/init.d/functions

# Some functions to make the below more readable
prog=opendkim
KEYGEN=/usr/sbin/$prog-genkey
DKIM_SELECTOR=default
DKIM_KEYDIR=/etc/$prog/keys

# Make some colors
red='\033[1;31m'
green='\033[1;32m'
NC='\033[0m' # No Color

# Pull in sysconfig settings (will override previously set functions)
[ -f /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog

do_dkim_keygen() {
        if [ ! -s $DKIM_KEYDIR/$DKIM_SELECTOR.private ]; then
                echo -n $"Generating default DKIM keys: "
                if [ "x`hostname --domain`" = "x" ]; then
                        echo
                        echo -e "${red}Cannot determine host's domain name, so skipping default key generation.${NC}"
                else
                        mkdir -p $DKIM_KEYDIR
                        $KEYGEN -D $DKIM_KEYDIR -s $DKIM_SELECTOR -d `hostname --domain`
                        chown -R root:$prog $DKIM_KEYDIR
                        chmod 640 $DKIM_KEYDIR/$DKIM_SELECTOR.private
                        chmod 644 $DKIM_KEYDIR/$DKIM_SELECTOR.txt
                        echo
                        echo -e "${green}Default DKIM keys for `hostname --domain` created in $DKIM_KEYDIR.${NC}"
                fi
	else
		 echo -e "${red}Default DKIM keys already exist!${NC}"
        fi
}

# Create keys

do_dkim_keygen


Youez - 2016 - github.com/yon3zu
LinuXploit