SILENT KILLERPanel

Current Path: > > > var > softaculous > humhub


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: ///var/softaculous/humhub

NameTypeSizeLast ModifiedActions
images Directory - -
php53 Directory - -
php56 Directory - -
php71 Directory - -
php81 Directory - -
php82 Directory - -
upgrader Directory - -
_index.php File 59 bytes February 19 2025 06:49:24.
clone.php File 6066 bytes July 18 2025 10:15:22.
common.php File 438 bytes April 08 2025 11:58:00.
dynamic.php File 899 bytes January 15 2025 08:00:50.
edit.php File 5287 bytes July 18 2025 10:15:22.
edit.xml File 433 bytes July 23 2024 10:58:56.
extend.php File 9417 bytes July 18 2025 10:15:22.
fileindex.php File 189 bytes March 07 2025 08:17:10.
humhub.sql File 87877 bytes July 18 2025 10:08:00.
humhub.zip File 73943405 bytes July 18 2025 10:08:00.
import.php File 3099 bytes July 18 2025 10:15:22.
info.xml File 3672 bytes July 18 2025 10:08:00.
install.js File 921 bytes December 23 2021 11:54:36.
install.php File 8829 bytes July 18 2025 10:15:22.
install.xml File 3204 bytes December 23 2021 11:54:36.
md5 File 1974 bytes July 18 2025 10:15:20.
notes.txt File 1622 bytes February 19 2025 06:49:24.
soft.htaccess File 127 bytes February 19 2025 06:49:24.
soft_delete.php File 3124 bytes June 20 2022 10:54:16.
update_pass.php File 518 bytes June 20 2024 09:35:00.
upgrade.php File 6309 bytes July 18 2025 10:15:22.
upgrade.xml File 269 bytes June 20 2022 10:54:16.

Reading File: ///var/softaculous/humhub/soft_delete.php

<?php

//Remove /protected/runtime/cache directory recursively
rmdir_recursive_fn('[[softpath]]/protected/runtime/cache/');

function rmdir_recursive_fn($path){
		
	$path = (substr($path, -1) == '/' || substr($path, -1) == '\\' ? $path : $path.'/');
	
	resetfilelist();
	
	$files = filelist($path, 1, 0, 'all');
	$files = (!is_array($files) ? array() : $files);
	
	//First delete the files only
	foreach($files as $k => $v){
			@chmod($k, 0777);
		if(file_exists($k) && is_file($k) && @filetype($k) == "file"){
			@unlink($k);
		}
	}
	
	@clearstatcache();
	
	$folders = filelist($path, 1, 1, 'all');
	$folders = (!is_array($folders) ? array() : $folders);
	@krsort($folders);

	//Now Delete the FOLDERS
	foreach($folders as $k => $v){
			@chmod($k, 0777);
		if(is_dir($k)){
			@rmdir($k);
		}
	}
	
	@rmdir($path);
	
	@clearstatcache();

}

function resetfilelist(){
global $directorylist;
	$directorylist = array();
}

function filelist($startdir="./", $searchSubdirs=1, $directoriesonly=0, $maxlevel="all", $level=1, $reset = 1) {
   //list the directory/file names that you want to ignore
   $ignoredDirectory[] = ".";
   $ignoredDirectory[] = "..";
   $ignoredDirectory[] = "_vti_cnf";
   global $directorylist;    //initialize global array
   
   if(substr($startdir, -1) != '/'){
		$startdir = $startdir.'/';
	}
   
   if (is_dir($startdir)) {
       if ($dh = opendir($startdir)) {
           while (($file = readdir($dh)) !== false) {
               if (!(array_search($file,$ignoredDirectory) > -1)) {
                 if (@filetype($startdir . $file) == "dir") {
                     
					   //build your directory array however you choose;
                       //add other file details that you want.
					   
                       $directorylist[$startdir . $file]['level'] = $level;
                       $directorylist[$startdir . $file]['dir'] = 1;
                       $directorylist[$startdir . $file]['name'] = $file;
                       $directorylist[$startdir . $file]['path'] = $startdir;
                       if ($searchSubdirs) {
                           if ((($maxlevel) == "all") or ($maxlevel > $level)) {
                               filelist($startdir . $file . "/", $searchSubdirs, $directoriesonly, $maxlevel, ($level + 1), 0);
                           }
                       }
					  
					   
                   } else {
                       if (!$directoriesonly) {
					     
					  //  echo substr(strrchr($file, "."), 1);
                           //if you want to include files; build your file array 
                           //however you choose; add other file details that you want.
                         $directorylist[$startdir . $file]['level'] = $level;
                         $directorylist[$startdir . $file]['dir'] = 0;
                         $directorylist[$startdir . $file]['name'] = $file;
                         $directorylist[$startdir . $file]['path'] = $startdir;
						  
					 
     }}}}
           closedir($dh);
}}

if(!empty($reset)){
	$r = $directorylist;
	$directorylist = array();
	return($r);
}
}

@unlink('soft_delete.php');

SILENT KILLER Tool