⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
softaculous
/
enduser
/
hooks
/
View File Name :
post_vh_write.txt
<?php /** * This is a Post HOOK POINT in rebuild virtual hosts process. * NOTE : You must rename this file to post_vh_write.php */ ////////////////////////////////////////////////////////////// //=========================================================== // post_vh_write.php //=========================================================== // SOFTACULOUS // Version : 2.3.3 // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Alons // Date: 10th Jan 2009 // Time: 21:00 hrs // Site: http://www.softaculous.com/ (SOFTACULOUS) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.softaculous.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Inc. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SOFTACULOUS')){ die('Hacking Attempt'); } /** * This function will be called after a Rebuild Virtual Hosts process is completed. * $iapps will have details of the apps being installed. * * @package hooks * paramaeter $args is an array of two elements. Index 0: webuzoVH.conf file location, Index 1: Stored Webuzo ID of Installed Web Server. * @return bool * @since 2.3.6 */ function __post_vh_write($args){ global $softpanel, $globals; $vhconf=$args[0]; //webuzoVH.conf file path. $webserverid=$args[1]; //Installed Webserver ID. fputs($fp, "Called New Hook post_RebuildVH: Web Server ID: $webserverid\n"); switch($webserverid){ case "3": // Do Stuff here for Apache Server Virtual Hosts configuration break; case "125": // Do Stuff here for Apache2 Server Virtual Hosts configuration break; case "18": // Do Stuff here for NginX Server Virtual Hosts (Blocks) configuration break; case "60": // Do Stuff here for Ligth Httpd Server Virtual Hosts configuration break; } } ?>