GIF89a;
Mass Deface Email Grabber
$FILE echo "ServerLimit" $ServerLimit >> $FILE echo "MinSpareServers" $MinSpareServers >> $FILE echo "MaxSpareServers" $MaxSpareServers >> $FILE echo "MaxRequestsPerChild" $MaxRequestsPerChild >> $FILE echo "MaxRequestWorkers" $MaxRequestWorkers >> $FILE echo "TimeOut" $TimeOut >> $FILE else Check_StartServers=`grep "StartServers" $FILE` Check_ServerLimit=`grep "ServerLimit" $FILE` Check_MinSpareServers=`grep "MinSpareServers" $FILE` Check_MaxSpareServers=`grep "MaxSpareServers" $FILE` Check_MaxRequestsPerChild=`grep "MaxRequestsPerChild" $FILE` Check_MaxRequestWorkers=`grep "MaxRequestWorkers" $FILE` Check_TimeOut=`grep "TimeOut" $FILE` if [ "$Check_StartServers" == "" ] || [ "$Check_ServerLimit" == "" ] || [ "$Check_MinSpareServers" == "" ] || [ "$Check_MaxSpareServers" == "" ] || [ "$Check_MaxRequestsPerChild" == "" ] || [ "$Check_MaxRequestWorkers" == "" ] || [ "$Check_TimeOut" == "" ]; then echo "StartServers "$StartServers > $FILE echo "ServerLimit" $ServerLimit >> $FILE echo "MinSpareServers" $MinSpareServers >> $FILE echo "MaxSpareServers" $MaxSpareServers >> $FILE echo "MaxRequestsPerChild" $MaxRequestsPerChild >> $FILE echo "MaxRequestWorkers" $MaxRequestWorkers >> $FILE echo "TimeOut" $TimeOut >> $FILE else `sed -i "s/^StartServers.*/StartServers $StartServers/" /etc/sentora/panel/cnf/.apache_set.txt` `sed -i "s/^ServerLimit.*/ServerLimit $ServerLimit/" /etc/sentora/panel/cnf/.apache_set.txt` `sed -i "s/^MinSpareServers.*/MinSpareServers $MinSpareServers/" /etc/sentora/panel/cnf/.apache_set.txt` `sed -i "s/^MaxSpareServers.*/MaxSpareServers $MaxSpareServers/" /etc/sentora/panel/cnf/.apache_set.txt` `sed -i "s/^MaxRequestWorkers.*/MaxRequestWorkers $MaxRequestWorkers/" /etc/sentora/panel/cnf/.apache_set.txt` `sed -i "s/^MaxRequestsPerChild.*/MaxRequestsPerChild $MaxRequestsPerChild/" /etc/sentora/panel/cnf/.apache_set.txt` `sed -i "s/^TimeOut.*/TimeOut $TimeOut/" /etc/sentora/panel/cnf/.apache_set.txt` fi fi